shell脚本一键安装redis
#!/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 b...
#!/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 b...
#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export...
#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check if user is root...
#!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check the network status NET_NUM=`ping -c 4 www.baidu.com |awk '/pac...
#!/bin/bash PATH=/bin:/sbin:/usr/bin:...
#!/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"...
#!/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 ...
今天给大家说下怎么在docker容器redmine里进行安装和卸载插件,这里说的redmine是2.x和之后的版本,之前的版本没有测试过,所以低于这个版本的请略过.
系统:centos 6.5(64位)
软件版本:redmine 2.5.3
redmine_ckeditor 1.0.20
docker 1.7.1
1.启动redmine
docker怎么启动redmine,这里就不说了,毕竟连容器都无法启动的话,看这篇文章也没用.
2.把插件拷进docker里
wget https://github.com/a-ono/redmine_ckeditor/archive/1.0.20.zip
unzip 1.0.20.zip...
#!/bin/bash #install haproxy #20160224 by rocdk890 #variables dir=/usr/local ha_dir=${dir}/haproxy ha_cfg=${ha_dir}/conf/haproxy.cfg ha_init=/etc/init.d/haproxy ker...
在使用docker容器时,同时你docker里的系统正好是debian或ubuntu的时候,有时候里边没有安装vim,敲vim命令时提示说:vim: command not found,这个时候就需要安装vim,可是当你敲apt-get install vim命令时,提示:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package vim