linux essentials


the Apache
nginx
MySQL
the FTP
Samba
nfs
Elk
zabbix
Tomcat
git
KVM
OpenStack
Docker
K8S
LVS scheduler
HAProxy
Keepalive availability
Varnish
mamcached
Redis
miglefs distributed the FAT file system NTFS
fastdfs
dns
ansible operation and maintenance of automation
Puppet

------------ ----------------------------------------

uname -r View kernel
cat /etc/centos-release View release version
cat /proc/meminfo Memory size
ls /dev/sda*
fdisk -l Disk partition
lsblk block device status
ifconfig View ip
poweroff
halt
rpm -qa |wc -l
as Free
strace Check Call system
ltrace View Library

gedit can directly change the text file


2021.1-4

echo

exit exit
alias alias

systemctl restart network card restart the service
 
ctrl + C ctrl + D cancel and end the command

# time
data system, the system
clock time board

ntpdate 172.20.0.1 Add ip system synchronization


simple command   
------------------------------------------- ---
Shutdown: halt, poweroff
restart: reboot
         -f: force,
         -p: cut off the power
Shut down or restart: shutdown
         -r: reboot restart
         -h: halt     
         -c: cancel


change language (Chinese)
echo $LANG #Query

 ect/sysconfig/i18n change file

source file (English)
LANG``en_US.UTF-8''
SYSFONT='';atarcyrheb-sun16''

after modification (modified to Chinese)
LANG''zh_CN.UTF-8''
SYSFONT='';atarcyrheb-sun16''

------------ ----------------------------------
wall'hello' broadcast

history query command history


modify information before login

man bash

q: exit

Guess you like

Origin blog.51cto.com/11614993/2668640