峯言凬语 O ever youthful O ever weeping~
本无意与众不同,怎奈何口味太重。
首页
平水韵
颜色表
ABOUT
文章分类
友情链接
您正在查看:2019年2月
2019-02-26 |Nonni

远灯明如许,

风来暗树深。

几番杜陵梦,

曾拜百花神。

对客思前事,

诗文付此身。

飞花落冷夜,

待月不见春。

wp-content目录新建tmp文件夹,设置文件夹的权限为777。

在wp-config.php中添加下列代码:

if ( !defined('ABSPATH') )

        define('ABSPATH', dirname(__FILE__) . '/');

define('WP_TEMP_DIR', ABSPATH.'wp-content/tmp');

define("FS_METHOD", "direct");  

define("FS_CHMOD_DIR", 0777);  

define("FS_CHMOD_FILE", 0777); 

2019-02-02 |Nonni

查看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