Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ RedHat command line and graphical interface switching     - TeamCity continuous integration in the Linux installation (Linux)

- 24 Docker recommendations (Linux)

- Linux System Getting Started Learning: Using yum to download the RPM package without installing (Linux)

- Monitoring Linux System 7 command-line tool (Linux)

- RT-11SJ run at ambient PDP-11 MACRO-11 assembly (Programming)

- Installation and Configuration JDK8 In CentOS 7 (Linux)

- High-performance JavaScript reflows and repaints (Programming)

- Linux gprof oprofiling and performance testing tools (Linux)

- PostgreSQL Stream Configuration (Database)

- PHP with FastCGI and mod_php Comments (Server)

- Git use and interpretation of common commands (Linux)

- PL / SQL data types (Database)

- Variables Python variables (Programming)

- Keepalived + HAProxy high availability load balancing (Server)

- Under Linux using Magent + Memcached cache server cluster deployment (Server)

- Wildcards and special symbols usage comments under Linux (Linux)

- Add your own kernel and ramfs based on an existing Linux LiveCD (Linux)

- Experts teach you safety precautions Linux Sniffer (Linux)

- PostgreSQL log classification and management (Database)

- Use Epoll develop high-performance application server on Linux (Server)

  RedHat command line and graphical interface switching
  Add Date : 2016-04-17      
  1, Linux graphical interface and command interface switching
Inside the virtual machine installed RedHat Linux system. To enter the graphical interface.
Switching from the graphical interface to the Linux command interface you can press Ctrl + Alt + Fn (n = 1,2,3,4,5,6), but the Ctrl + Alt has been occupied inside the virtual machine, the virtual machine that is switched cursor . So we need to press Ctrl + Shift + Alt + Fn (n = 1,2,3,4,5,6). (Horse of God? I installed the default startup is a graphical interface, and then press Ctrl + Alt + Fn (2,3,4,5,6) into the command line, press Ctrl + Alt + F1 back to the graphical interface)
Interface command to switch from Linux graphical interface you can press Alt + F7 (You can also type the command startx into the graphical interface).
If you want to enter the boot command interface, then you can modify the configuration file. Specific command is as follows (in the command interface, of course, must be root or have root privileges can modify the user name):
(1) vi / etc / inittab - with the vi editor to edit the / etc / inittab file
(2) Press i - to switch to INSERT mode, that is, to modify the mode
(3) found inside the file init: 5: initdefault line, into the 5 3 - 5 below and say what represent 3
(4) Press the Esc key - exit INSERT mode
(5) by: (colon) - lock the cursor to the last row
(6) wq (save and exit)
If you do not want to modify, then q! (Exit without saving)
Restart to enter the default command interface.
2, Linux run levels
Linux has 7 runlevels: init [0123456]
0: Shutdown
1: Single User
2: Multi-user state no network service
3: multi-user internet service status
4: The system does not use the reserved user
5: the graphical interface
6: Restart
Commonly run level 3 and 5, to modify the run level in the file / etc / inittab inside modify, change the default method, see 1 into the interface.
Here is set to 1 if the boot that will shut down, it will be set to 6 has been restarted.
3, modify the method to resolve a misconfigured
If you accidentally set it to run level 1 or 6 can not normally enter Linux, then we can solve the following methods. (Of course, it is not in the GRUB password)
(1) when the system is started several seconds Press "e" to enter the GRUB boot screen
(2) highlight the second line, enter "e" into the
(3) Enter "1" [single-user level], because the single-user level to start not read / etc / inittab file after entering
(4) Carriage Return GRUB interface
(5) Press "b" will enter the single mode
(6) In the single player mode which modify / etc / inittab file which can be in accordance with 1
Because Linux inside to change the password without entering the old password, so if you forget the password to be entered so single-mode changes.
- Linux system on how to use rsync to synchronize data (Server)
- Wine 1.7 is installed on a system based on RedHat or Debian (Linux)
- MultiWriter: while the ISO image concurrent writes 20 USB Startup Disk (Linux)
- Monitoring network traffic with Iptraf in Linux environment (Linux)
- OpenSSL Introduction and compilation steps on Windows, Linux, Mac systems (Linux)
- CentOS7 installation performance monitoring system (Server)
- Use regular expressions to check whether the input box to enter a URL (Programming)
- Binary Tree Traversal (Linux)
- Debian 7.6 install Nvidia graphics driver (Linux)
- Composition and dynamic memory allocation C program (Programming)
- To install the Oracle process notes on Oracle Linux 4u4 (Database)
- Manually create Oracle Database Explanations (Database)
- iOS persistence of data archiving NSKeyedArchiver (Programming)
- Standardized UNIX command-line tool (Linux)
- J2EE Example of Filter (Programming)
- Root of AVL Tree- achieve balanced search trees AVL tree (Programming)
- How to install or upgrade to the Linux kernel in Ubuntu 4.2 (Linux)
- Linux firewall settings -DNS server articles (Server)
- How to build Memcached Docker container (Server)
- Linux operation and maintenance of the actual file system, file links (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.