CentOS修改hostname
vi /etc/hostname
写下你的hostname
重启
reboot
启动后,查看主机名
sudo hostname
vi /etc/hostname
写下你的hostname
重启
reboot
启动后,查看主机名
sudo hostname
一、supervisor简介Supervisor是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启。它是通过fork/exec的方式把这些被管理的进程当作supe...
背景:之前就有一个在我账户名下的问题程序,但是并不是我启动的,绝对不是我启动的。但是找不到原因就莫名的背起了锅。然后默默修改了密码(其实然并卵,下面详聊原理),该机器管理员把我踢出了root组(因为没啥程序在上面)起因:今日突然发现一个进程...
解决yum install python2-develpip install --upgrade setuptools...
yum install -y epel-release#添加一个epel的三方源,据说新大全在执行yum install ***...
curPath=$(readlink -f "$(dirname "$0")") echo $curPath #或者 curPath=$(dirname $(readli...
git rm -r --cached . git add . git commit -m "update .gitignore" git status查看是否是"working di...