No technical content, just for my own amusement. Don't criticize or laugh! I stayed up all night and didn't know what to do. Lately, I've been staying up all night until morning before going to sleep. I watch YouTube videos and see what interesting things I can deploy on Docker.
Then I had a sudden idea to write a Linux script for myself because I find it too troublesome to remember some Linux commands. For example, when I find an interesting project, I record the deployment operations as a one-click script. The next time I need to use it, I can just run it and have fun.
Installation script:#
Please download the script to experience its specific functions. It's very troublesome for me to upload new screenshots and feature introductions every time I update it. I won't upload them again for future updates. Please switch to the root user before using it, otherwise it won't work properly.
wget -O k7tool.sh https://i.k7blog.com/sh/k7tool.sh && chmod +x k7tool.sh && clear && ./k7tool.sh
For subsequent use, execute directly:
./k7tool.sh
Version updates:#
v.4.0.4(2022.12.21)#
Fixed and optimized a few minor issues, and added a toolbox. Integrated the two previous jump servers.
v.4.0(2022.12.7)#
Integrated a toolbox, added features, and optimized the user experience!
v.3.8.7(2022.12.6)#
Added 8 features and integrated a toolbox.
v.3.7.7(2022.12.5)#
Continued to add several features, not sure if it's because the daytime network is slightly better or because I set up the jump server, the test server connection has been stable. Waiting to continue testing at night.
v.3.7(2022.12.5)#
Integrated: https://k7blog.com/165.html.
v.3.6(2022.12.5)#
- Added new features.
- Added a script like mine.
The initial enthusiasm is always the strongest when trying something new. I hope this enthusiasm can last.
v.3.5(2022.12.4)#
- Added some commonly used web commands.
- Added a server benchmarking script.
- Added a one-click software source replacement.
These are purely based on my preferences. I should be done updating for today.
v.3.2(2022.12.4)#
- Added some new features.
- Added new categories to consolidate functions.
For specific details, please download and experience it. I've forgotten what I've done after all the deletions and modifications.
v1.97(2022.12.4)#
- Added Baota installation and disk mounting in different environments.
- Optimized some simple details.
It's now 8 o'clock in the morning. When I first wrote the script, the Baota official website returned a 404 error. And there were communication issues with the Baota CentOS panel installation, so it wasn't tested successfully. The Baota Ubuntu panel installation went smoothly. I'll restart the server and test it again when I wake up from sleep.
v1.24(Release version)#
Prototype appeared, added some simple necessary functions.
- Baota installation and uninstallation.
- BBR installation script.
- Nginx and MySQL start, stop, and restart.