CentOS修改hostname
vi /etc/hostname
写下你的hostname
重启
reboot
启动后,查看主机名
sudo hostname
vi /etc/hostname
写下你的hostname
重启
reboot
启动后,查看主机名
sudo hostname
python ssh登录服务器In this tutorial, you will learn how to carry out basic configurations on a server with Telnet and SSH co...
一、supervisor简介Supervisor是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启。它是通过fork/exec的方式把这些被管理的进程当作supe...
背景:公司因项目开发需要购置了两台主机。因为配置网络的大哥又是不在公司,但是又着急使用新主机。(旧的已经卡成狗腿了)急需解决问题,首先电脑刚插入网线又问题,不亮。只有一个网卡亮但是并不是Internet的网卡。其他四个网卡插入均不亮。换个网...
ubuntu:rm /etc/localtimeln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtimecentos echo "A...
文件名不对,应该dubug模块有一个叫abc.py的文件换个名字正常运行...
yum install -y epel-release#添加一个epel的三方源,据说新大全在执行yum install ***...