Ray's 博客


  • 首页

  • 分类

  • 归档

  • 标签

windows上安装mysql-5.7.16.zip

发表于 2016-10-20   |   分类于 技术

注意事项

1、添加path环境变量;
2、修改my-default.ini文件里的port, basedir以及datadir并新建相应文件夹;
3、管理员权限运行cmd,进入mysql安装文件夹的bin目录下运行命令:

1
2
3
4
5
mysqld --initialize
mysqld -install/remove
net start mysql
mysql -u root -p
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';

初始化成功后在datadir目录下生成的文件中xxx.err里有root账户的临时密码:
2016-10-20T02:18:03.488650Z 1 [Note] A temporary password is generated for root@localhost: _i6Ry0xqIfwL

Hexo+Github制作我的博客

发表于 2016-10-19   |   分类于 技术

搭建基于Hexo+Github的博客已经有段时间了,第一篇文章一直没写,具体的配置步骤忘的差不多,下面是之前参考的一个博客:

HEXO搭建个人博客.

常用命令

1
2
3
hexo clean
hexo generate
hexo deploy

遇到问题总结

1、在修改_config.yml文件时,注意type: git冒号后面一定要有空格,其他几个也一样。
2、使用next主题时,修改headband的背景颜色:

- 修改next/source/css/_schemes/_variables/base.styl第210行的$headband-bg和第224行的$brand-bg;
- 相同路径Mist/Muse/Pisces文件夹下面的_brand.styl的第四行backgroud属性;

3、文章添加标签方法

1
2
3
tags:
- tag1
- tag2

4、创建标签云页面
5、next主题使用手册

Hello World

发表于 2016-09-07   |   分类于 技术

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Ray

Ray

内心幻想文艺的工科男

3 日志
1 分类
4 标签
Links
  • 饮冰先生
  • Mac小兔
© 2016 Ray
由 Hexo 强力驱动
主题 - NexT.Pisces