摘要:
rpm -qa |grep xxx 阅读全文
摘要:
webmin是linux下强大的管理UI,是一般服务器的标配。下载安装文件wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz先安装sslyum install openssl编辑防火墙配置文件,添加红色部分vi /etc/sysconfig/iptables#Firewallconfigurationwrittenbysystem-config-firewall#Manualcustomizationofthisfileisnotrecommended.*filter:INPUTACCEPT[0:0]:FOR 阅读全文
摘要:
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !To do so, start the server, then issue the following commands:/usr/bin/mysqladmin -u root password 'new-password'/usr/bin/mysqladmin -u root -h centos-svr password 'new-password'Alternatively you can run:/usr/bin/mysql_secure 阅读全文
摘要:
刚装完系统,centos无法上网,ifconfig 发现没有配置ip。修改IP/etc/sysconfig/network-scripts/ifcfg-eth0,如果是多网卡,以此内推修改:ONBOOT=“no” 为ONBOOT=“yes”//是否启动应用添加:IPADDR=192.168.1.100 //IP地址NETMASK=255.255.255.0//子网掩码GATEWAY=192.168.1.1 //网关修改DNS/etc/resolv.conf 添加nameserver 192.168.1.1重启服务service network restart 阅读全文