centos7一键安装vsftpd脚本
#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then ech...
#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then ech...
#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must ...
#!/bin/bash PATH=/bin:/sbin:/us...
#!/bin/bash # -*- coding: UTF-8 -*- ############################################# #作者网名:Sunny # #作者博客:www.sunnyos.com ...
了解了很多公司现在开口就问你是否会监控,然后会问你是否会zabbix,我就搞不懂了现在这些公司怎么了,我用nagios怎么了,不会zabbix还要淘汰哇,今天就给大家个zabbix一键安装脚本,也方便大家部署.
系统:centos 6.5(64位)
脚本内容:
#!/bin/bash # install Nginx 1.8.x + mysql5.5.x + PHP-FPM 5.4.x + Zabbix 2.4.7 automatically. # Tested on CentOS 6.5 ############################################## # 变量 ############################################## err_echo(){ echo -e "\e[91m[Error]: $1 33[0m" exit 1 }...
最近用上了shadowsocks之后,就不再想用vpn来翻墙了,相信很多朋友都想偷懒,希望一个脚本就配置好.下面我就给大家个我从别人那拿来改了之后的脚本,原来这个脚本不支持centos 5.x,我修改成只适合centos 5.x用,下面来看看脚本吧.
系统:centos 5.x 64位(我只在64位上测试了脚本,32位的我相信应该没有问题)
脚本内容:
cat /root/soft_shell/shadowsocks.sh
#! /bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH...