In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Jenkins is an open source software project, which is a continuous integration tool based on Java development, which is used to monitor continuous repetitive work. It aims to provide an open and easy-to-use software platform and make continuous integration possible.
Jenkins features include:
1. Continuous software release / test project.
2. Monitor the work performed by external calls.
Usually, we take up a lot of disk space when we use jenkins pull code to package. Coincidentally, the default working directory of jenkins is in the / root directory, and the normal server / root directory is 50G, so there will be insufficient disks. There are also many solutions on the Internet. I personally find it troublesome to modify the jenkins environment variables and modify the variables in the tomcat startup file. Sometimes the service cannot be started after modifying the environment variables. As a rookie who has peeped into the true meaning of the operation and maintenance staff, he thinks: it can also solve the problem, and the simplest insurance method is king. Let's talk about the solution:
The default working path for jenknis is under / root/.jenkins, and you can also see the current jenkins working directory on the page:
Click system Management on the main page and click system configuration:
Two commands solve the problem: we just need to move the / root/.jenkins directory to the data directory, and then create a soft connection under the / root/.jenkins directory to ok. It's as simple as this, as follows:
# move .jenknis directory: mv / root/.jenkins/ / opt/install_software/
Check to see if the move was successful:
# create a soft connection (be sure to write the full path of the soft connection): ln-s / opt/install_software/.jenkins/ / root/.jenkins/
Check to see if the soft connection was created successfully:
Enter the directory to see if there are any exceptions. The following is obviously a success:
View disk space:
Restart jenkins, and the project is complete! It's as simple as that, for example, the data directory of the mysql database yum installation will be under / var, which can be solved in this way, convenient, efficient and risk-free.
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.