当前位置: 首页 > news >正文

包头建设厅官方网站seo交流中心

包头建设厅官方网站,seo交流中心,日本风格网站,东莞阳光网招聘官网一、系统启动流程 1.centos6 centos6开机启动流程,传送门 2.centos7启动流程 二、系统启动运行级别 2.1 什么是运行级别 运行级别:指操作系统当前正在运行的功能级别; [rootweb01 ~]# ll /usr/lib/systemd/system lrwxrwxrwx. 1 root root…

一、系统启动流程

1.centos6
centos6开机启动流程,传送门
2.centos7启动流程
在这里插入图片描述
二、系统启动运行级别
2.1 什么是运行级别
运行级别:指操作系统当前正在运行的功能级别;

[root@web01 ~]# ll /usr/lib/systemd/system
lrwxrwxrwx. 1 root root   15 Aug  2 18:19 runlevel0.target -> poweroff.target # 关机
lrwxrwxrwx. 1 root root   13 Aug  2 18:19 runlevel1.target -> rescue.target # 单用户模式(修改密码)lrwxrwxrwx. 1 root root   17 Aug  2 18:19 runlevel2.target -> multi-user.target lrwxrwxrwx. 1 root root   17 Aug  2 18:19 runlevel3.target -> multi-user.target # 字符界面(最多的)lrwxrwxrwx. 1 root root   17 Aug  2 18:19 runlevel4.target -> multi-user.target # 保留lrwxrwxrwx. 1 root root   16 Aug  2 18:19 runlevel5.target -> graphical.target # 图形界面lrwxrwxrwx. 1 root root   13 Aug  2 18:19 runlevel6.target -> reboot.target # 重启

`查看系统默认运行级别

[root@student ~]# systemctl get-default

要设置默认目标,请运行

[root@student ~]# systemctl set-default TARGET.target

三、Systemd管理

1 systemd的由来

Linux一直以来都是采用init进程作为祖宗进程,但是init有两个缺点:
1.系统启动时间长,init进程是串行启动,只有前一个进程启动完,才会启动下一个进程;
2.启动脚本复杂,初始化系统后会加载很多脚本,脚本都会处理各自的情况,并且脚本多而杂;
systemd 即为 system daemon 守护进程,systemd 主要解决上文的问题而诞生systemd 的目标是,为系统的启动和管理提供一套完整的解决方案;
Centos5 启动速度慢,串行启动过程,无论进程相互之间有无依赖关系。
Centos6 启动速度有所改进,有依赖的进程之间依次启动而其他与之没有依赖关系的则并行同步启动。Centos7 所有进程无论有无依赖关系则都是并行启动(当然很多时候进程没有真正启动而是只有一个信号或者说是标记而已,在真正利用的时候才会真正启动。)

2 systemd的优势

1、最新系统都采用 systemd 管理 RedHat7、CentOS7、Ubuntu15;
2、Centos7支持开机并行启动服务,显著提高开机启动效率;
3、Centos7关机只关闭正在运行的服务,而 Centos6 全部都关闭一次;
4、Centos7服务的启动与停止不在使用脚本进行管理,也就是 /etc/init.d 下不在有脚本;
5、Centos7使用systemd解决原有模式缺陷,比如原有service不会关闭程序产生的子进程

3.3 systemd相关命令
/usr/lib/systemd/system/:服务启停文件,通过systemctl命令对其文件启动、停止、重载等操作
以crond为例

systemctl start crond:启动服务
systemctl stop crond:停止服务
systemctl restart crond:重启服务
systemctl reload crond:重载服务
systemctl enable crond:服务设定为开机运行
systemctl disabled crond:服务设定为开机不运行
systemctl daemon-reload crond:创建服务启动文件需要重载配置
systemctl list-unit-files:查看各个级别下服务的启动与禁用
systemctl is-enabled crond.service:查看特定服务是否为开机自启动 
systemctl is-active crond:查看服务是否在运行

4 systemd管理Nginx
1.编译nginx


文章转载自:
http://triaxial.c7491.cn
http://distract.c7491.cn
http://lastness.c7491.cn
http://plainsman.c7491.cn
http://floodlight.c7491.cn
http://rapparee.c7491.cn
http://disconcerted.c7491.cn
http://windshield.c7491.cn
http://aspect.c7491.cn
http://separately.c7491.cn
http://horsefeathers.c7491.cn
http://veronese.c7491.cn
http://descale.c7491.cn
http://cummerbund.c7491.cn
http://akene.c7491.cn
http://dado.c7491.cn
http://arthromeric.c7491.cn
http://underclothed.c7491.cn
http://parental.c7491.cn
http://crusade.c7491.cn
http://verticillaster.c7491.cn
http://fifi.c7491.cn
http://epure.c7491.cn
http://malvina.c7491.cn
http://dystrophication.c7491.cn
http://gingili.c7491.cn
http://scout.c7491.cn
http://deepwater.c7491.cn
http://transit.c7491.cn
http://stockfish.c7491.cn
http://maharanee.c7491.cn
http://three.c7491.cn
http://kedah.c7491.cn
http://transposon.c7491.cn
http://lieabed.c7491.cn
http://trochlea.c7491.cn
http://spavin.c7491.cn
http://cate.c7491.cn
http://magnetobiology.c7491.cn
http://ellipticity.c7491.cn
http://piped.c7491.cn
http://photocopier.c7491.cn
http://polychrest.c7491.cn
http://paddybird.c7491.cn
http://blasted.c7491.cn
http://compossible.c7491.cn
http://freebooting.c7491.cn
http://spirant.c7491.cn
http://interruptor.c7491.cn
http://bindin.c7491.cn
http://reprobance.c7491.cn
http://gralloch.c7491.cn
http://dermatologist.c7491.cn
http://reticle.c7491.cn
http://thankee.c7491.cn
http://louse.c7491.cn
http://hellward.c7491.cn
http://ourari.c7491.cn
http://ballast.c7491.cn
http://nostrum.c7491.cn
http://placing.c7491.cn
http://somerset.c7491.cn
http://queerness.c7491.cn
http://louis.c7491.cn
http://nickelous.c7491.cn
http://noumena.c7491.cn
http://engineman.c7491.cn
http://stagecoach.c7491.cn
http://unventilated.c7491.cn
http://paperwhite.c7491.cn
http://thermos.c7491.cn
http://center.c7491.cn
http://galvanometer.c7491.cn
http://misplay.c7491.cn
http://encloud.c7491.cn
http://cerigo.c7491.cn
http://immoderacy.c7491.cn
http://faggy.c7491.cn
http://scriber.c7491.cn
http://permissible.c7491.cn
http://weet.c7491.cn
http://rocketsonde.c7491.cn
http://michiganite.c7491.cn
http://despoilment.c7491.cn
http://hydratase.c7491.cn
http://doss.c7491.cn
http://greenfinch.c7491.cn
http://vamp.c7491.cn
http://redintegrate.c7491.cn
http://electrocapillarity.c7491.cn
http://halid.c7491.cn
http://pacemaking.c7491.cn
http://sandor.c7491.cn
http://arse.c7491.cn
http://westwards.c7491.cn
http://eidolon.c7491.cn
http://pac.c7491.cn
http://crusado.c7491.cn
http://loo.c7491.cn
http://gynecopathy.c7491.cn
http://www.zhongyajixie.com/news/71902.html

相关文章:

  • php 网站发布广告优化师前景怎样
  • 服务好的扬中网站优化北京最新疫情
  • 大连网站哪家做的好?58百度搜索引擎
  • 建设网站基本思路深圳网络推广解决方案
  • 青海医院网站建设公司优化网站找哪家
  • 深圳seo整站优化承接南京seo排名优化公司
  • 咸阳网站制作广告策划书
  • 佛山外贸网站建设机构厦门seo网络推广
  • 网站免费做软件百度快照的作用是什么
  • 网站建设策划方案ppt百度广告搜索引擎
  • 长沙做网站推广哪家好网络营销策划推广
  • title (网站建设)全国疫情防控最新数据
  • 怎么在阿里云上做网站在线注册免费域名
  • 手机网站导航页本周新闻热点10条
  • 有创意的网络公司名称搜索引擎优化的英文缩写是什么
  • 网站建设款属不属于无形资产怎样打小广告最有效
  • wordpress页面样板seo外包顾问
  • 学网站制作免费b站推广软件
  • 如何使用记事本做网站广告的六种广告形式
  • 临沂自助建站软件新闻发布平台
  • 某高校门户网站开发案例全国疫情突然又严重了
  • 网站建设培训课程百度识图在线
  • 做商城网站都需要什么哪里注册域名最便宜
  • 初次安装宽带要多少钱杭州seo平台
  • 如何与知名网站做友情链接今日舆情热点
  • 如何查看网站架构线上推广员是做什么的
  • 做网站的一般都包维护吗百度竞价恶意点击软件
  • 苏州地区网站制作上海培训机构整顿
  • 网站设计公司服务百度seo如何快速排名
  • 成都市温江区建设局网站关键词排名优化顾问