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 install the pagoda panel linux version in a directory other than / www

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

Share

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

This article mainly introduces how to install the linux version of the pagoda panel in a directory other than / www. It is very detailed and has a certain reference value. Interested friends must finish reading it!

Many cloud VPS system disks, that is, the root directory (system disk), are 10 gigabytes, and the pagoda installation environment is basically 5 gigabytes.

In less than a few months, as the number of log files and other messy things increased, the panel indicated that the root directory was less than 1 G, and then mysql hung up inexplicably. Here is how to install the panel to another directory.

After suffering from reinstalling the system, I finally couldn't bear to install the pagoda panel under home (the home partition is usually very large).

The official installation script of the pagoda panel is forced to be installed in the www directory under the root of the system, and the official has also made it clear.

Although the official says so, it does not mean that modification is not allowed. the following is the method of modification, which is tested by myself:

If the pagoda panel has not been installed in the pure system, directly connect the terminal without ink, and command to do so:

1. Enter the home directory

Cd / home

2. Create the www directory needed for installation of pagoda panels

Mkdir www

3. Establish a soft connection to / home/www to / www

(that is, to create a www "shortcut" to the root directory of the system pointing to / home/www)

Ln-s / home/www / www

4. Install the pagoda panel normally.

[recommended for installation before moving] if the pagoda panel and WEB environment have been installed, connect the terminal and enter the command:

1. Move www to home in the root directory of the system

Mv / www / home/www

2. Establish a soft connection to / home/www to / www

Ln-s / home/www / www

3. Restart the server

Reboot

4. Restart the pagoda panel service

Service bt restart

5. Open the pagoda panel and CTRL+F5 refresh the browser cache.

Soft links under linux are similar to shortcuts under windows

As in the example above, when we execute the command cd / www/, we actually enter / home/

Remember to back up data before operation to prevent data loss caused by misoperation!

The above is all the contents of the article "how to install the pagoda panel linux version in a directory other than / www". Thank you for reading! Hope to share the content to help you, more related 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

Servers

Wechat

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

12
Report