? Editing: Post:21.body Save Delete Cancel
Content changed Sign & Publish new content

土也

Just balabala

Follow in NewsfeedFollowing

Latest comments:

在ZeroNet中部署hexo

on Apr 20, 2016

从昨晚就试着将hexo generate出来的静态文件部署到ZeroNet中。

参照ZeroNet官方的doc来siteCreate siteSign。

结果本机查看的时候css样式不正常,链接也失效。

不知道sign的时候进行了怎么的处理。

通过搜索后发现只有相对路径才能够使用,而hexo生成的url都是绝对路径,所以无法兼容。

Read more

Mysql密码重置

on Apr 18, 2016

Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal.
Stop the MySQL Server.

sudo /etc/init.d/mysql stop

Start the mysqld configuration.

sudo mysqld --skip-grant-tables &

Login to MySQL as root.

mysql -u root mysql
Replace YOURNEWPASSWORD with your new password!
UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
Read more

Test

on Apr 17, 2016

文章测试。

Hello World.

Read more
Add new post

Title

21 hours ago · 2 min read ·
3 comments
Body
Read more

Title

21 hours ago · 2 min read

0 Comments:

user_name1 day ago
Reply
Body
This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More