Difference between revisions of "Centos Notes"

From Simson Garfinkel
Jump to navigation Jump to search
(Created page with "To install ipconfig: yum install net-tools To disable X window system: * http://www.cyberciti.biz/faq/linux-disable-x-windows-system/ Edit the file /etc/inittab. Chan...")
 
m
 
Line 2: Line 2:
 
     yum install net-tools
 
     yum install net-tools
  
To disable X window system:
+
==To disable X window system:==
 +
Legacy systems:
 +
 
 
     * http://www.cyberciti.biz/faq/linux-disable-x-windows-system/
 
     * http://www.cyberciti.biz/faq/linux-disable-x-windows-system/
 
Edit the file /etc/inittab. Change this line:
 
Edit the file /etc/inittab. Change this line:
Line 8: Line 10:
 
to:
 
to:
 
     id:3:initdefault
 
     id:3:initdefault
 +
 +
Modern systems:
 +
    /bin/rm /etc/systemd/system/default.target
 +
    ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

Latest revision as of 14:10, 26 June 2016

To install ipconfig:

   yum install net-tools

To disable X window system:

Legacy systems:

   * http://www.cyberciti.biz/faq/linux-disable-x-windows-system/

Edit the file /etc/inittab. Change this line:

   id:5:initdefault:

to:

   id:3:initdefault

Modern systems:

   /bin/rm /etc/systemd/system/default.target
   ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target