欧美一区2区三区4区公司二百,国产精品婷婷午夜在线观看,自拍偷拍亚洲精品,国产美女诱惑一区二区

歡迎來到夢飛科技

系統配置

當前優惠活動:

CentOS 7系統在安裝設置上的改變

安裝后,一開始有點兒無力吐槽的感受,變革這么大?

一、Runlevel
首先一條,本來一直用的CentOS-6.5-x86_64-minimal.iso光盤鏡像(400M閣下無圖形系統小巧便捷),而7今朝最小的鏡像是CentOS-7.0-1406-x86_64-livecd.iso(700M閣下),默認安裝后是啟動圖形界面,按本來的習慣要改成啟動呼吁行,功效發明:


[[email protected] ~]# cat /etc/inittab
# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 
# graphical.target: analogous to runlevel 
#
# To set a default target, run:
#
# ln -sf /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
#

好吧,systemd一統天下了(它管的對象許多許多,學Centos7首先要搞定systemd)。


[[email protected] ~]# ls -Xl /etc/systemd/system/*.target
lrwxrwxrwx. 1 root root 36 7月 8 23:12 /etc/systemd/system/default.target -> /lib/systemd/system/graphical.target

我們來看看從前的runlevel都釀成什么樣了?


[[email protected] ~]# ls -Xl /lib/systemd/system
[[email protected] ~]# ls -Xl /lib/systemd/system/runlevel*.target
lrwxrwxrwx.  root root  7月  : /lib/systemd/system/runlevel0.target -> poweroff.target
lrwxrwxrwx.  root root  7月  : /lib/systemd/system/runlevel1.target -> rescue.target
lrwxrwxrwx.  root root  7月  : /lib/systemd/system/runlevel2.target -> multi-user.target
lrwxrwxrwx.  root root  7月  : /lib/systemd/system/runlevel3.target -> multi-user.target
lrwxrwxrwx.  root root  7月  : /lib/systemd/system/runlevel4.target -> multi-user.target
lrwxrwxrwx.  root root  7月  : /lib/systemd/system/runlevel5.target -> graphical.target
lrwxrwxrwx.  root root  7月  : /lib/systemd/system/runlevel6.target -> reboot.target

修改默認啟動runlevel為 multi-user (貌似runlevel2 3 4 沒區別了)


[[email protected] ~]# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
[[email protected] ~]# ll -X /etc/systemd/system/*.target
lrwxrwxrwx. 1 root root 37 7月 10 09:42 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target

試試init 6 還好用不。


[[email protected] ~]# init 
Connection to 192.168.150.180 closed by remote host.
Connection to 192.168.150.180 closed.

成,好用。:)

因為我從桌面版Linux 毗連Centos7系統提示釀成了中文,所以需要把Centos7 的root用戶語言改一下,回到原汁原味。


[[email protected] ~]# cp .bashrc .bashrc-back
[[email protected] ~]# echo 'export LANG="en_Us.UTF-8"' >> /root/.bashrc

 

二、Services


[[email protected] ~]# chkconfig

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

iprdump            :off    :off    :on    :on    :on    :on    :off
iprinit            :off    :off    :on    :on    :on    :on    :off
iprupdate          :off    :off    :on    :on    :on    :on    :off
livesys            :off    :off    :off    :on    :on    :on    :off
livesys-late       :off    :off    :off    :on    :on    :on    :off
netconsole         :off    :off    :off    :off    :off    :off    :off
network            :off    :off    :off    :off    :off    :off    :off
rhnsd              :off    :off    :on    :on    :on    :on    :off
vboxadd            :off    :off    :on    :on    :on    :on    :off
vboxadd-service    :off    :off    :on    :on    :on    :on    :off
vboxadd-x11        :off    :off    :off    :on    :off    :on    :off

夢飛科技 - 全球數據中心基礎服務領先供應商

Copyright © 2003-2019 MFISP.COM. 國外服務器租用 IDC公司 版權所有 ? 粵ICP備11019662號

主站蜘蛛池模板: 天台县| 会同县| 芦山县| 阿瓦提县| 嘉兴市| 兰考县| 霍邱县| 泾川县| 新野县| 墨江| 揭东县| 托克托县| 武功县| 遂宁市| 明水县| 新郑市| 新和县| 满洲里市| 陈巴尔虎旗| 扶余县| 双峰县| 年辖:市辖区| 子洲县| 客服| 文水县| 余江县| 大石桥市| 淄博市| 建瓯市| 庆云县| 滨州市| 无极县| 城市| 阿瓦提县| 黄梅县| 陇西县| 桐柏县| 中西区| 澄城县| 松溪县| 娄底市|