To start the graphical interface:
#startx &
Adjust language to Chinese (Medium character encoding)
#localectl-H View Help
#localectl List-locales to see what languages are available
#localectl Set-locale Lang=zh_cn.utf8
#locale View the current language environment
SSH login: Remote connection: SSH protocol: Secure Shell
See if SSH port 22 is open
TCP Numeric listening #ss-TNL TCP value Monitoring
To see if the system is listening on port 22nd of the TCP protocol: 22
View IP Address:
#ifconfig
#ip Addr List
See if the firewall is turned on:
#iptables-L-N View firewall open
#iptables-F Empty firewall (only valid for current)
#systemctl Stop Firewalld.service stopping the Firewall service (currently active)
#systemctl Disable Firewalld.service Disabling the Firewall service (permanently active)
#service iptables Stop (CENTOS6 currently active)
#chkconfig iptables off (centos6 disabled)
# chkconfig iptables off (set auto-start to OFF)
# chkconfig--del iptables (remove boot auto start)
View the currently used shell
#echo $SHELL
Terminal switching:
Ctrl+alt +f[1-6] Virtual Terminal 6
Ctrl+alt +f7 Graphics Terminal (CENTOS6 fixed)
Centos7 the virtual terminal on which the virtual terminal is located.
Physical Terminal: Console
Virtual Terminal:TTY
Serial Terminal: TTYs
Pseudo Terminal: Through the remote terminal is pseudo Terminal Pty
One of the philosophical ideas of Linux: all documents.
Physical Terminal files:/dev/console
Virtual Terminal files:/dev/tty#
Serial Terminal file:/dev/ttys#
Pseudo Terminal file:/dev/pts/#
Linux first day