当前位置:网站首页>What technical knowledge is needed to build a personal blog independently besides ECS?
What technical knowledge is needed to build a personal blog independently besides ECS?
2022-07-24 21:37:00 【User 5576896】
Building an independent blog is not very cumbersome , As long as you calm down , Do it a little bit , It will be built soon .
First 、 Cloud server
recommend 【 Tencent cloud 】 Many cloud products 1 Fold up , Buy ECs and get free machines , The longest free renewal 3 Months
One . The choice of blog framework
- WordPress
- Jekyll (https://jekyllrb.com/)
- Hugo (http://www.gohugo.org/)
- Django (https://www.djangoproject.com/)
- Hexo (https://hexo.io/)
Here I recommend you to WordPress And Hexo Choose from
1.WordPress Ready to build :
- Purchase domain name
- Buy servers
My current blog uses WordPress Built
But look at your question , You should be a novice , Buying servers and configurations does cost some money and effort , Combined with your situation , I recommend it to you Hexo To build your blog
Hexo It can be understood as based on node.js Make a blog tool , It is not an open source blogging system we understand . The difference , I little interesting . hexo Normally , No need to deploy to our server , Saved on our server , In fact, it is based on hexo adopt markdown Articles written , then hexo Help us generate static html page , then , The generated html Upload to our server . In short :hexo It is a static page generation 、 Upload tools . This saves the effort of server purchase and configuration . and Hexo The blog built is also very nice .
Two .Hexo+Github Build your own blog quickly
1.Git download Download address : https://git-for-windows.github.io/
2.Node.js download Download address : https://nodejs.org/en/
Just install by default . 3. To configure GitHub
3.1 register github account number , Build a library , And the database name must be http://yourname.github.io,yourname It's you github Username .
3.2. stay _config.yml To configure
4. install Hexo
4.1. utilize npm Command to install . Right click anywhere , choice Git Bash
Then type the command :
npm install -g hexoIf something shows command not found, Then delete the directory you just installed , Execute the above command again . 5. initialization Hexo
5.1. Create a folder named on a disk ,( For example D The disk is created with the name Hexo Folder )
5.2. stay Hexo Under the folder , function Git Bash, Enter the command :hexo init ( Be sure to run under the folder you just created )
Install dependency packages Enter this command : npm install
5.3. Generate static page , Enter this command :
hexo gLocal boot
Start local service , Enter this command :
hexo sWhen you're done typing , Open the browser and type http://localhost:4000
If successful, the following page will be displayed :
However, the following errors may also be reported :
fatal: unable to access 'https://github.com/*/*.github.io.git/': Failed to connect to github.com port 443: Timed out FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html Error: fatal: unable to access 'https://github.com/*/*.github.io.git/': Failed to connect to github.com port 443: Timed outThe solution is : take hexo The configuration file ——config.yml in repo Change to https:// user name : password @ newly build github Land of Library .git And then it's all right . If it's the first time , And then execute the command :
npm install hexo-deployer-git --saveAnd then execute
hexo dAnd then type... In the browser http://yourname.github.io/ That's it ,yourname Is your github Account name , So far, the blog is basically set up .
additional : If appear ERROR Deployer not found: git perhaps ERROR Deployer not found: github
resolvent : npm install hexo-deployer-git --save
The rest is still poor :
- Hexo NexT Simple theme configuration and article publishing steps
- Domain name registration ( Buy ) And GithubPages Binding details
边栏推荐
- [shallow copy and deep copy], [heap and stack], [basic type and reference type]
- [crawler knowledge] better than lxml and BS4? Use of parser
- Penetration test - command execution injection
- Smarter! Airiot accelerates the upgrading of energy conservation and emission reduction in the coal industry
- How does redis realize inventory deduction and prevent oversold? (glory Collection Edition)
- Multiplication and addition of univariate polynomials
- [jzof] 04 search in two-dimensional array
- Is it safe to open an account on Alipay
- Thank Huawei for sharing the developer plan
- Which type of database migration is suitable for choosing the self built database access method on ECs?
猜你喜欢
![[Matplotlib drawing]](/img/ac/dea6fa0aff6f02477fba48c929fadc.png)
[Matplotlib drawing]
![[CCNA experiment sharing] routing between VLANs of layer 3 switches](/img/71/2f28c6b6b62f273fad1b3d71e648a1.jpg)
[CCNA experiment sharing] routing between VLANs of layer 3 switches

None of the most complete MySQL commands in history is applicable to work and interview (supreme Collection Edition)

Mysql database query is so slow. Besides index, what else can it do?

01_ UE4 advanced_ PBR material

Gather relevant knowledge points and expand supplements

Node installation using NVM succeeded, but NPM installation failed (error while downloading, TLS handshake timeout)

About the acid of MySQL, there are thirty rounds of skirmishes with mvcc and interviewers

Sqlserver BCP parameter interpretation, character format selection and fault handling summary

Summary of yarn capacity scheduler
随机推荐
Shenzhen Merchants Securities account opening? Is it safe to open a mobile account?
Make good use of these seven tips in code review, and it is easy to establish your opposition alliance
Build your own stock analysis system based on b\s architecture
[image processing] pyefd.elliptic_ fourier_ How descriptors are used
Experience of using dump file to reverse locate crash location
C local functions and yield statements
What are the most problematic database accounts in DTS?
Lecun proposed that mask strategy can also be applied to twin networks based on vit for self supervised learning!
Documentary of the second senior brother
What should I pay attention to when selecting DTS database type?
APR learning failure problem location and troubleshooting
What are intelligent investment advisory products?
[SOC] the first project of SOC Hello World
Shell introduction and variable definition
Mysql database query is so slow. Besides index, what else can it do?
“IRuntime”: 未声明的标识符
Detailed OSPF configuration of layer 3 switch / router [Huawei ENSP experiment]
Summary of communication with customers
Codeforces Round #809 (Div. 2)(A~D2)
Hilditch refinement (implementation I)