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 use virtual host

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

In this issue, the editor will bring you about how to use the virtual host. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Many users do not know how to use the virtual host after they have purchased it. Here, according to the experience of the seven-ahz blogger in the blog park, we will sort out the tutorials for you to build a website for Ali Yun's virtual host.

The virtual host version selected in the case is thinkphp+mysql development, and CentOS 6.5 is built into the linux system. The domain name should be filed in advance.

1. Enter the Aliyun management panel

To view the host information, the Linux host uploads the web page to the / htdocs directory, which is the root of the website. If it is a cgi web program, upload it to the / cgi-bin directory. Upload it directly from the Windows host.

two。 Start the FTP software and create a new site

Click File-site Manager-New site. Enter the host and port in turn, select the FTP- file transfer protocol for the protocol, use only ordinary FTP for encryption, and choose the login type normally. Fill in the user name and password of the virtual space.

3. Connect to remote sit

Click Connect to connect to the host directory. You can back up the project, compress and upload it to the root directory, unzip it to the host management console after upload, and move the project files and project folders to the root directory / htdocs.

4. Database connection configuration

It is best to enter and save the source code before packaging, refer to the database information in Ali CVM management, and configure it into the database settings in the project.

5. Backup and import of data

Finally, the backup of the database data under development is exported, with the suffix sql. Then enter Aliyun's DMS database management platform and import the backed up data. Open the domain name to access the website.

This is how the virtual host shared by the editor is used. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are 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

Servers

Wechat

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

12
Report