centos linux修改配置ip地址 网关 dns等信息的方法
一、CentOS 修改IP地址 修改对应网卡的IP地址的配置文件: $ vi /etc/sysconfig/network scripts/ifcfg eth0 修改以下内容: DEVICE=eth0 描述网卡对应的设备别名,例如ifcfg eth0的文件中它为eth0 BOOTPROTO=static 设置网卡获得ip地址的方式,可能的选项为static,dhcp或b
一、CentOS 修改IP地址 修改对应网卡的IP地址的配置文件: $ vi /etc/sysconfig/network scripts/ifcfg eth0 修改以下内容: DEVICE=eth0 描述网卡对应的设备别名,例如ifcfg eth0的文件中它为eth0 BOOTPROTO=static 设置网卡获得ip地址的方式,可能的选项为static,dhcp或b
重新安装php: ./configure with mysql=/usr/include/mysql mysql.h所在目录 然后安装php mysql.
Centos运行不了setup? 那安装setuptool吧,可以节省很多系统管理的时间. 安装setuptool: yum install setuptool 可以发现执行setup后不全,再安装一个用于系统服务管理: yum install ntsysv 再安装个防火墙,以及setup中配套的防火墙设置、网络设置: yum install iptable
vi database.yml development: adapter: mysql encoding: utf8 database: shonin development pool: 5 username: root password: host: localhost test: adapter: mysql encoding: utf8 database: shonin test pool:
拆卸旧的ispconfig 重新安装 结果出现: ERROR: Unable to load SQL Dump into database table. 只要重启数据库就好了. /etc/init.d/mysqld restart
今天在使用SCP的时候遇到个一个error,如下: reverse mapping checking getaddrinfo for XXX.XXXX.com failed POSSIBLE BREAKIN ATTEMPT 我用ssh 连接了一下XXX.XXXX.com,同样的问题: reverse mapping checking getaddrinfo for s
需要启动cmdserver,命令: /var/www/extsuite/extman/daemon/cmdserver d