Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build Firekylin blog quickly

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to quickly build a Firekylin blog, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

1)。 Install Node.jscurl-silent-location https://rpm.nodesource.com/setup_8.x | sudo bash-yum-y install nodejs2). Use NPM to install PM2npm install pm2-g 3). Install MySQLwget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpmrpm-ivh mysql-community-release-el7-5.noarch.rpmyum install mysql-community-server-y 3.1. Start the MySQL service: service mysqld restart3.2 set the MySQL account root password: / usr/bin/mysqladmin-u root password' password'4). Install Nginxyum install nginx-Y5). Install Firekylinwget https://firekylin.org/release/latest.tar.gz5.1. Extract the installation package tar zvxf latest.tar.gz5.2. The installer relies on cd firekylinnpm install6. Copy the pm2_default.json file under the project to generate a new file pm2.jsoncp pm2_default.json pm2.json7). Change the cwd configuration value in the pm2.json file to the current path of the project / root/firekylin {"apps": [{"name": "firekylin", "script": "www/production.js", "cwd": "/ root/firekylin", "exec_mode": "fork", "max_memory_restart": "1G", "autorestart": true, "node_args": [], "args": [], "env": {}]} 8). Then start the project pm2 startOrReload pm2.json9 with the following command). Set the port firewall-cmd-zone=public-add-port=8360/tcp-permanent10). The account field in the access http://192.168.0.12:8360/ database information is set to: root password field is set to: password, database name field is set to: firekylin host field is set to: 127.0.0.1, and other fields use default values. The account field in the backend management account is set by the default value: admin password. Note: the set port command is on CentOS7.5, and other versions or system commands may be different.

The above is all the content of the article "how to build a Firekylin blog quickly". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report