In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to build a website on a cloud server". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought. Let's study and learn how to build a website on a cloud server.
1. How to build a website on a CVM
1. Enter the management backend of the CVM, use the backend function to format the partition and mount the data disk, and log in to the CVM locally using remote desktop.
two。 Upload the files you need to install to the system: you can upload them through remote desktop, FTP, cloud disk, etc.
FTP service installation: click Server Management → add role → Select Web Server → IIS Manager → right add FTP site → setting information No SSL, basic Authorization, read and write check. Test login enter the host IP and log in as an administrator.
3. CVM generally supports building Web environment with one click: install IIS+MySQL+PHP+rewrite
IIS instruction: click start-run-enter cmd- enter iisreset reset / start/stop/restart restart
Mysql instruction: run-enter cmd, open the dos command box, you can type net start mysql/net stop mysql to start or stop the service.
Note: mysql account and FTP account password are stored under x:\ websoft\ account.log
Phpmyadmin address: http://localhost/phpmyadmin or http:// the ip/phpmyadmin of your host
4. Use IIS server to bind domain name: IIS Manager → add website → fill in web site name path site name → store website program files under the path
5. Enter the background management system through the web page and set the website management parameters. First of all, database settings, administrator password settings, website settings, and then complete the installation, log in to the background management system to view.
2. Matters needing attention in building a website on a CVM
1. Pseudo-static setting
Through the taskbar "start-all programs-Administrative tools" to find the "Internet Information Services (IIS) Manager" and then select FTP site-right-Properties-ISAPI filter-add, and then enter the content, after installation will automatically generate a read-only attribute httpd.ini, to change to a writable property, and then write pseudo-static rules under the file.
2.404 Page setup
First of all, through the taskbar "start-all programs-Administrative tools" to find the "Internet Information Services (IIS) Manager" and then select FTP site-right-Properties-Custom errors-Select and open the message type-set to URL type-fill in / 404.html in URL, and then finish.
3.301 redirect
The 301redirection on the IIS server is different from that of the virtual host, which can be configured directly on the server without writing a configuration file, but a new website needs to be rebuilt. First of all, through the taskbar "start-all programs-Administrative tools" to find the "Internet Information Services (IIS) Manager" and then select FTP site-right-Properties-Home directory, you can see the redirect URL, at this time, fill in the redirect to a URL.
Thank you for your reading. the above is the content of "how to build a website on a CVM". After the study of this article, I believe you have a deeper understanding of how to build a website on a CVM. The specific use situation still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.