安装jdk1.8.0_11的脚本,具体的版本可在脚本中调整,发现最后的重置环境变量没生效,还得再终端界面source /etc/profile [root@ZFVM-APP-- ~]# vim jdk.sh #!/bin/bash ####jdk1.8.0_11安装 PRO=/etc/profile if [ ! -d /data/local ] then mkdir -p /data/local/ fi /usr/src/project tar zxvf /usr/src/project/jd
1. 下载安装: cd /tmp wget http://redis.googlecode.com/files/redis-2.2.4.tar.gz tar -zxf redis-2.2.4.tar.gz cd redis-2.2.4 make sudo make install 2. 配置init脚本: wget https://github.com/ijonas/dotfiles/raw/master/etc/init.d/redis-server wget https://gith
#!/bin/bash #this script is appropriate .x(这脚本适合最小化安装6.x版本的系统) #you have already install the os read -p "Pleases input hostname for linux:" hname sed -i "/HOSTNAME/s/localhost\.localdomain/$hname/g" /etc/sysconfig/network sed -i 's/enf
SQL Server安装后,根据对应的业务场景,数据库实例的部分选项需要调整,例如实例的最大内存.tempdb 文件的增长量.Job执行记录数等等,但这一步经常被大家忽略掉. 其实很多选项初始化都可以通过脚本实现,一件执行.下面是一些常见选项初始的例子,仅供大家参考. use master go --show advanced options sp_configure reconfigure with override go PRINT 'show advanced options ok' GO