当前位置:网站首页>The whole process of server environment configuration
The whole process of server environment configuration
2022-07-26 09:34:00 【Jack-ZOU】
Now the traditional virtual host has no way to meet the needs , It has become a trend to set up servers or use commercial cloud hosts .
I have used virtual host , Used it, too VPS, But in the last two years, I began to contact virtual machines , I chose Alibaba cloud virtual machine and orange connected virtual machine . At the beginning , Always choose a fully configured image to install the operating system , After installation , You don't need to build your own environment , Just set up your own website , Even the website has software to help you set up 、 Opening . There are many software of this kind , In addition to mirroring , There is also one key configuration software , After installing the operating system, use software to configure the following .
In the process of use, I also found that although this method is worry free , But after all “ factory " What comes out of it , It's hard to personalize , It will bring some trouble to use . such as , After installing the environment with software , The default website path will change , It will go to the directory where the configuration software is installed , So install it at the back AD CS For software that needs to use the default website path , There will be more problems in the setting , Once the access permission is not set , It may affect the normal installation and use of the software . in addition , The automatic configuration software will also give you the bundled software , For example, Alibaba cloud's one click configuration , Finally, I want to install phpwin As the default website , And there are often mistakes in the installation process , There is a problem with permission configuration .
For the above reasons , Yesterday, I took the time to configure the environment myself , Even if it's an exercise , In fact, the previous theoretical preparation has been a long time .
I use Alibaba cloud's virtual machine . The main steps are as follows :
1: Reinstall the operating system . Use the image of the system , install Windows2008R2,64 Bit Chinese version .
2: install WinRAR. This is required when installing the software , No decompression , Some compression software cannot be installed .
3: Simultaneous configuration AD CS ( If you need certificate services , Ordinary people may not have this need )、IIS. Configuration under this coincidence AD CS Surprisingly smooth .AD CS In the service function , Now the first three .IIS When installing , Except tick asp.net Outside , Don't forget to check CGI.
4: install Mysql. There are websites to download . Online say font set selection GBK, So I chose . The installation was quite smooth .
5: install phpmanager. This is installing php Post configuration is required . Is the installation file , Click to install successfully . After installation IIS Manager ,IIS You can see php manager.
6: install PHP. This process took a little trouble . The version you started downloading is not the installed version , Configure according to the introduction , But the test shows 500 error . Later, I downloaded an installation version , It went very well . Install well PHP It needs to be set after , open IIS Medium PHP manager, Link to the new PHP edition . The specific operation is after installation PHP There is a hint after , You can refer to the above documents and web pages .
7: install Wincache. This is acceleration PHP Running . It's an installation file . Installation tips do , After installation, you need to unzip the php_wincache.dll copy to PHP Installation directory exe In the folder , And in PHP Change under the directory php.ini, Add a sentence at the end :extension=php_wincache.dll.
8: install URL Pseudostatic . Install the downloaded Rewrite Module. The pseudo static setting depends on the application software .
9: install Serv-U. This is a relatively easy to use FTP Software . But if the configuration is not modified after installation , When you visit the website on the server in the future , If there is a problem with the configuration , It will go to SERV-U Login interface . And it happens all the time IIS The website was stopped , The website cannot be accessed . as a result of , In the latest version ,Serv-u To monitor 80 Port and 443 port , After restarting the server , because Serv-U Start... First , Preempted the necessary ports for these two websites , Subsequently started IIS You can't grab the port , The website cannot be accessed normally . Open the website address , It's all about Serv-U Login screen ( Compare rogues ). One solution is , On the server side , First stop Serv-U service , Restart IIS service , And open Serv-U service . I did this before , I still can't figure out the truth , Now I see , I can modify it Serv-U Listening port , hold 80 and 443 Just change to another port . In this way, the server will restart for various reasons , There is no need for manual configuration . But from the bottom of my heart ,Serv-U To configure the FTP It's still very good , Than Windows The one I brought with me FTP Much better .
10: Another thing that needs to be installed is phpmyadmin 了 . This is not an installation , It's configuration . There are two places to put this directory , One is to put it in the root directory of the default website , The way to access is http://IP/phpmyadmin.
The other is to establish a physical path like other websites , Because there is no domain name , So don't bind . But in order to avoid conflicts with the default website , The port should be changed to 80 Other ports , Some people change it to 8080. The access method is http://IP:8080 了 .
Next install Zend Optimizer, This is optimization php programmatic , Can improve php The efficiency of the website . The installation files , There is no difficulty in installation .Zend Guard Not for the time being , It will not be installed .
Next, configure the website . This is the most fundamental task , The ultimate goal of the server is to run a website . Configured for several years , Finally, I have my own experience this year , Share it another day .
边栏推荐
- Arc GIS basic operation 3
- Qt随手笔记(三)在vs中使用QtCharts画折线图
- VectorTileLayer更换style
- Fiddler packet capturing tool for mobile packet capturing
- Does volatile rely on the MESI protocol to solve the visibility problem? (top)
- Neural network and deep learning-6-support vector machine 1-pytorch
- OpenCV 表格识别之表格提取(二)
- asp. Net using redis cache
- 大二上第二周学习笔记
- 配置ADCS后访问certsrv的问题
猜你喜欢
随机推荐
Byte buffer stream & character stream explanation
Table extraction for opencv table recognition (2)
VS2019配置opencv
Implementation of fragment lazy loading after multi-layer nesting
音视频知识
2019 ICPC Asia Yinchuan Regional(水题题解)
Great reward for interview questions
a-table中的rowSelection清空问题
Drawing shadow error diagram with MATLAB
高斯消元求解矩阵的逆(gauss)
添加dll
POJ 1012 Joseph
暑假第四周
Gauss elimination
Fiddler download and installation
[MySQL] understand the important architecture of MySQL (I)
arcgis的基本使用1
[shutter -- layout] detailed explanation of the use of align, center and padding
面试题目大赏
Fiddler packet capturing tool for mobile packet capturing








