kimsufi: Uninstall home and hang it in the www folder

888u

Last update at :2024-05-22,Edit by888u

I have been messing around with kimsufi recently and found that many places in the dedicated server require basic knowledge of Linux. This is hard for me. I am usually lazy and use the file management tools in Pagoda for everything, copying, pasting, creating, etc.

But I didn’t have much exposure to many things before, but now I know that I lack these skills once I need to use them.

The purpose is to mount the 1.8T hard disk under "/home" under "/www" under the root directory. After all, the pagoda is awkward. The running system can only be installed under "/www" under the root directory.

  • First, log in to the kimsufi server via ssh. At first, I used "umount /home" to report an error, and then I forced uninstallation using "umount /home -f" without reporting an error, and the operation was successful.

A successful operation looks like this:

  • Create www folder in the root directory
mkdir /www

After it is created, it can be used to hang.

  • Hang the hard disk uninstalled from /home to the /www folder. But before doing this, you need to know your drive letter. Use the "fdisk -l" command.

  • The bottom three are useful to us.
Device Boot Start End Blocks Id System /dev/sda1 * 4096 40962047 20478976 83 Linux /dev/sda2 40962048 3905974271 1932506112 83 Linux /dev/sda3 3905974272 3907020799 523264 82 Linux swap / Solaris

/dev/sda3 is the swap area, /dev/sda1 is the system area, and /dev/sda2 is the hard disk we need to mount.

  • Hung on the hard drive.

At this point, we have completely hung the space under "/home" in "/www". If you are already safe, you can reinstall the system and do it yourself.

Recommended site searches: Chinese domain name, telecom host rental, mainland China site group server, Hong Kong server recommendation, free external network server, Taiwan server rental Zhengzhou server, Hong Kong ip, Korean cn2 server, proxy ip address,

kimsufi: Uninstall home and hang it in the www folder

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码