While using windows, I have already had a blog and using hexo system. And my blog is on my mechanical hard disk. I want it to be accessible while using Linux.
There are two steps to make it.
Click to see what is mount and how to mount.
Basically, you can use your previous command to operate your blog. However, I still has problem. Even I’ve already installed hexo-cli, it still and understand the hexo command. So needs another thing. npx
open the terminal and type
1 | yay npm |
And then for each hexo command, you add npx at before. For example:
1 | npm hexo d |
You also need to add new ssh key to your repository.
Type the following command.
1 | ssh-keygen -t rsa -C "the email address of GitHub" |
After some Enter, you get the message:
Your public key has been saved in /c/Users/user/.ssh/id_rsa.pub.
Find the file and open it, copy all the content in it and past it in http://github.com/settings/ssh.
you can use gedit to open it
1 | gedit id_rsa.pub |
Title is arbitrary.
All done.