Linux centos 命令大全

centos建议用BT下载,速度快,CentOS 7.9 安装包镜像下载地址:
http://mirrors.neusoft.edu.cn/centos/7.9.2009/isos/x86_64/

cd /var cd ..                 ll cp  -r  /data/cloud-repos  /var/www/html
yum clean all yum makecache systemctl status network.service
use mysql rm -rf /data vi ssh-password-free.sh
docker ps -a cp -r /data/* /home docker load < mysql-8.0.28.tar
docker images cp -r /home/* /data docker exec -it mysql /bin/bash
umount -l /data mount /dev/sda1 /data/ docker stop postgresql
du -sh * vim /etc/fstab  开机自动挂载UUID docker restart postgresql
mkdir data cd /etc/sysconfig/network-scripts/ hostnamectl set-hostname web.596.com
lsblk cat bonding_masters vim /etc/sysconfig/network-scripts/ifcfg-eth0
reboot cd /sys/class/net chmod +x *.sh           ./clearLog.sh
ip -a systemctl restart network.service ceph osd pool set default.rgw.buckets.data min_size 1
sudo service restart network mount /sdb/sdb2/centos-home /home
ifconfig firewall-cmd --state mount /dev/mapper/centos-home /home
ifdown bond0 systemctl stop firewalld echo -bond0 > bonding_masters
cd backup/ systemctl disable firewalld.service /bin/systemctl start network.service
history docker exec -it ceph-rgw bash
mkdir tools growpart /dev/sda 1 扩容后挂载
/properties resize2fs /dev/sda1
 sys_database cat /dev/null > xxx-json.log
bash clear.sh umount -l /home
umount /home mount /dev/sda1 /data
growpart
df -h
python --version
hosts
su
getenforce
setenforce 0
esc  :wq!

你可能感兴趣的:(工具,CentOS,Linux,命令)