centos切勿执行yum -y update
yum update 跟apt-get update 不一样
centos的yum update相当于ubuntu的apt upgrade
如果想用ubuntu的apt update,centos是yum makecache
因为执行yum -y update 导致系统docker容器丢失。所幸centos版本是大版本最后一个版本号,没有大的升级系统。
yum update 跟apt-get update 不一样
centos的yum update相当于ubuntu的apt upgrade
如果想用ubuntu的apt update,centos是yum makecache
因为执行yum -y update 导致系统docker容器丢失。所幸centos版本是大版本最后一个版本号,没有大的升级系统。
split --help 用法:split [选项]... [输入 [前缀]] 将输入内容拆分为固定大小的分片并输出到"前缀aa"、&q...
添加用户useradd username 修改用户密码passwd username修改文件用户和用户组chown -R username:group /...
<script type="text/javascript">alert(123)</script>...
服务启动、停止和重启service xxx start service xxx stopservice&n...
有时后端daemon或者脚本在执行ssh连接时,会遇到以下提示:The authenticity of host 'git.sws.com (10.42.1.88)' can...
vi /etc/hostname写下你的hostname重启reboot启动后,查看主机名sudo hostname...