In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to achieve permanent mount partition in Ubuntu, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Both / and / home were mounted separately when Ubuntu was installed, but there was also an ext4 partition of 43GB that was not mounted at the time. Today, in order to add capacity to / home, I intend to mount it to the folder amusement under / home (Linux system directory structure and function analysis).
The first step is to change the owner of the partition, because the owner that is not hung is owned by the default root, and we do not have permission to operate. So you can first do sudo nautilus to execute the resource manager with administrator privileges, and then go to the partition you did not mount, right, properties, permissions, change the owner to your user, folder access is set to create and delete files, file access is set to read and write, and then the group should be your group, the settings can be the same as above, this does not affect the use of this user, it does not matter. Confirm
Execute sudo gedit / etc/fstab
Add the following:
UUID=971f03e1-1793-4840-a4e0-5bc4d5186716 / home/huanr/amusement ext4 defaults 03
Note that UUID is your hard disk partition number, you can see in the properties, the back is to mount the folder, to empty folder on the line, the back of the setting reference / partition settings, if the partition hanging in front of 0 2 is written as 0 3, if there is 0 7 is written as 0 8, save the file, restart will take effect.
The above is how to achieve permanent mount partition in Ubuntu. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, 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.
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.