🌈 The set of awesome one click shell
- Note
- The user executing the shell script must be normal users have root permission
- Support:
Ubuntu
- You can use it to compile and install newest version vim on
Ubuntu
,and also you can package a deb file for your own vim!
- How to use
apt install wget -y
wget https://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/vim/vim.sh
chmod +x vim.sh
./vim.sh
- Note
- Before use,You should open the port you want to set or turn off the firewall and the user executing the shell script must be root.
- Support:
Centos
Ubuntu
- You can use it to build MTProxy Service and setting the service auto start
- Start service:
systemctl start MTProxy
- Stop service:
systemctl stop MTProxy
- How to use
- if you use
Centos
yum install wget -y
wget https://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/MTProxy/MTProxy.sh
chmod +x MTProxy.sh
./MTProxy.sh
- if you use
Ubuntu
apt install wget -y
wget https://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/MTProxy/MTProxy.sh
chmod +x MTProxy.sh
./MTProxy.sh
- Note
- Before use,You should open the port you want to set or turn off the firewall and the user executing the shell script must be
root
- Support:
Ubuntu
Centos
- You can use it to build Brook service
- How to use
- if you use
Ubuntu
apt-get install wget -y
wget http://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/brook/brook.sh
chmod +x brook.sh
./brook.sh
- if you use
Centos
yum install wget -y
wget http://raw.githubusercontent.com/TyrantLucifer/Awesome-one-click-shell/master/brook/brook.sh
chmod +x brook.sh
./brook.sh
- Note
- You can use it to record the bash history for all users.
- Support: All platform of Linux
- How to use
Edit the /etc/profile, add the source path/bash_history.sh
at the end of profile. Enjoy it! Your server will more secure than ever before.
- Note
- You can use it to config current user to other server's user ssh no passwd.
- Support: All platform of Linux
- How to use
- Install
expect
yum install exepect -y
- Edit host list file
host username passwod
ex: master001 root root
- Execute shell
sh ssh_nopasswd.sh host_list_file_path
- Note
- You can use it to find or kill quickly process that contains the keys you want to find or take up a port you want to use in daily work, when you want to kill a special process it will help you work efficiently.
- Support: All platform of Linux that has installed
lsof
awk
grep
- How to use
Move script to /use/bin
or other executable categories.
- Examples
superps find "openvpn" # find the process that contains "openvpn"
superps kill "openvpn" # kill all the process that contains "openvpn"
superps port 8080 # find the process that take up port 8080
superps killport 8080 # kill the process that take up port 8080