摘要:
进入mysql命令行connect wordpressdb;update wp_options set option_value='http://newip:newport/wordpress'where option_name='siteurl';update wp_options set option_value='http://newip:newport/wordpress'where option_name='home'; 阅读全文
摘要:
2. 为网卡配置静态IP地址编辑文件/etc/network/interfaces:sudo vi /etc/network/interfaces并用下面的行来替换有关eth0的行:# The primary network interfaceauto eth0iface eth0 inet staticaddress 192.168.2.1gateway 192.168.2.254netmask 255.255.255.0#network 192.168.2.0#broadcast 192.168.2.255 阅读全文