In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to install the server environment, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
Server environment installation
1, running on the Linux operating system, versions are RedHat, CentOS, Ubuntu, or Debian.
Web server environment:
The software that needs to be installed is:
(1) nginx 1.8 or the latest stable version
(2) PHP 5.6.x or PHP7 version
The modules that need to be enabled in PHP are:
Php-fpm
PDO/MySQL
Mbstring
Mcrypt
Mhash
SimpleXML
Curl
Xsl
Gd,ImageMagick 6.3.7 (choose one or both of the two)
Soap
Intl
Openssl
Bcmath
(3) the latest stable version of Composer
(4) MySQL 5.6.x series version or MariaDB 10 or above version
You can also choose to install Redis and Varnish to improve speed. Shop123 backend has their own APIs:
(1) Redis 3.0 Series version
(2) Varnish 4.x series version
An installation script + video tutorial: http://club.shop123.com/article/46
Light-year environment installation package:
Https://yunpan.cn/cR7bIFpscfdLf access password 6400 [one-click installation script for self-backup]
Installation method
1. Upload file lnmp_for_shop123_latest.tar.gz
2. Decompress and enter the directory
Tar zxvf lnmp_for_shop123_latest.tar.gz
Cd lnmp_for_shop123_latest
3. Run the installation script
. / install.sh
4. Enter the administrative password of the database! $@%. %.
During the whole installation process, as long as the administrative password of the data database, you should keep this password in mind, because you will need to open the database in the future. Database passwords cannot have special characters.
5. Wait for the installation to complete
It will be installed for 30-60 minutes according to the training.
[note] pay special attention to the Nginx configuration of the bound domain name must refer to the nginx.conf.sample file in the root directory of the Shop123 program.
Step 1: select a server to install the system.
There are the following server choices. Please click the corresponding icon to select a server for the corresponding website.
Novice zero basic installation website running environment-- LNMP website running environment installation
Many people install the website operating environment after renting VPS or server, and most people install some stupid operation panel such as cPanel, Plesk, kloxo, AMH or DirectAdmin and so on.
However, most people do not use so many functions, mainly to open a space to bind a domain name or open a database or so.
And mainly because these panels are very bloated, they consume a lot of server resources, and some of them have to be charged.
So we edited this one-click installation script so that you can install a dedicated runtime environment for Shop123 Community Edition with zero foundation.
LNMP is the four acronyms for Linux\ Nginx\ Mysql\ PHP. Many people still use Apache instead of Nginx, in fact, Nginx can completely replace Apache, the performance is more than ten times higher, so it is recommended to use LNMP architecture. You can then replace Mysql,MariaDB with MariaDB, which is an optimized version of Mysql, fully compatible with Mysql commands and API, so the M in this script refers to MariaDB.
This one-click installation script is very easy to use, just download it, unzip it, run an installation command, and then just wait to install it.
Lnmp.png
The download address of the script is:
Http://d.shop123.com/lnmp/lnmp... Ar.gz
The following is the installation video of this script, which can be understood without any foundation before.
A brief introduction to the installation:
1. Log in to the server with the client of the linux server, usually using PuTTY or SecureCRT and Xshell.
To use these software, you should set up characters or languages, otherwise many Chinese prompts will display garbled codes.
Log in with the IP address and account number given to you by your server provider.
2, download this one-click installation script with wget, and then extract it.
The command is:
download
Wget http://d.shop123.com/lnmp/lnmp... Ar.gz
Unzip and enter the directory
Tar zxvf lnmp_for_shop123_latest.tar.gz
Cd lnmp_for_shop123_latest
3, run the installation script
. / install.sh
4. Enter the administrative password for the database
During the whole installation process, as long as the administrative password of the data database, you should keep this password in mind, because you will need to open the database in the future.
Database passwords cannot have special characters.
5, wait for the installation to complete
It will be installed for 30-60 minutes according to the training. It will be slow at first because you have to update the system.
After the installation is complete, some specific installation information will be displayed.
For more details, please see the video below. (click the icon in the lower right corner to enlarge
In this video, you need to use a software "PuTTY" to log in to your host. We have made this software into Chinese, and there is a download address below. You can also download the English version from the official website of PuTTY.
Here is a detailed explanation of how to open the website space and database.
The system environment installed with this script comes with an administrative command: lnmp.
Running lnmp-h displays the following interface:
Shop123-1.png
The command to open web space and database at the same time is:
Lnmp shop123vhost add
The command to activate only the database is:
Lnmp database add
After running lnmp shop123vhost add, you will have a series of information to enter, such as the domain name you are asked to bind at the beginning:
Step 2: log in to the server and install the software environment
Step 2: log in to the server and install the software environment.
After connecting to the server, you can install the environment support of the system by running one line of command.
The command to run is: (sudo is an administrator user, or it can be root)
Sudo curl-O http://d.shop123.com/install_lnmp.sh & & bash install_lnmp.sh
Then follow the prompts to enter the administrative password.
Thank you for reading this article carefully. I hope the article "how to install the server environment" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.