<p>远灯明如许,</p>
<p>风来暗树深。</p>
<p>几番杜陵梦,</p>
<p>曾拜百花神。</p>
<p>对客思前事,</p>
<p>诗文付此身。</p>
<p>飞花落冷夜,</p>
<p>待月不见春。</p>
<p> wp-content目录新建tmp文件夹,设置文件夹的权限为777。</p>
<p> 在wp-config.php中添加下列代码: </p>
<p>
if ( !defined('ABSPATH') )</p>
<p>
define('ABSPATH', dirname(__FILE__) . '/');</p>
<p>
define('WP_TEMP_DIR', ABSPATH.'wp-content/tmp');</p>
<p>
define("FS_METHOD", "direct"); </p>
<p>
define("FS_CHMOD_DIR", 0777); </p>
<p>
define("FS_CHMOD_FILE", 0777); </p>
查看network:
ifconfig
修改IP:
vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.88
netmask 255.255.255.0
gateway 192.168.0.1
修改DNS:
vi /etc/resolve.conf
nameserver 127.0.0.1
nameserver 8.8.8.8
重启网络:
/etc/init.d/networking restart
<p>apt-get install ufw
ufw enable
ufw default deny
ufw status
ufw allow 6666
ufw delete allow 6666
ufw allow from 192.168.1.1</p>