This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# requirements | |
yum remove fuse fuse* fuse-devel | |
yum -y groupinstall "Development Tools" | |
yum -y install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap | |
cd /usr/local/src | |
wget http://sourceforge.net/projects/fuse/files/latest/download?source=files | |
tar -xzvf fuse-*.tar.gz | |
rm -f fuse-*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# requirements | |
yum -y install wget | |
# repository | |
cd /usr/local/src | |
wget https://gist.github.com/skt-bford/4961513/raw/epel.setup.sh | |
sh epel.setup.sh | |
rm epel.setup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
dd if=/dev/zero of=/swapfile bs=1024 count=512k | |
mkswap /swapfile | |
swapon /swapfile | |
echo " | |
/swapfile swap swap defaults 0 0" >>/etc/fstab | |
chmod 0600 /swapfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# requirements | |
yum -y install wget perl-libwww-perl perl-Time-HiRes iptables | |
# install csf | |
cd /usr/local/src | |
wget http://configserver.com/free/csf.tgz | |
tar xf csf.tgz | |
cd csf | |
./install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# SECTION:Initial Settings | |
############################################################################### | |
# ConfigServer Firewall & Security Configuration File | |
# | |
# Copyright 2006-2013, Way to the Web Limited | |
# URL: http://www.configserver.com | |
# Email: [email protected] | |
############################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# requirements | |
yum -y install wget | |
# install redis | |
cd /usr/local/src | |
wget http://download.redis.io/redis-stable.tar.gz | |
tar zxf redis-stable.tar.gz | |
cd redis-stable | |
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# http://vm-192-168-11-21.shengyun.grandcloud.cn/topics/2437 | |
# redis - this script starts and stops the redis-server daemon | |
# | |
# chkconfig: 2345 90 10 | |
# description: Redis is a persistent key-value database | |
# processname: redis-server | |
# config: /etc/redis.conf | |
# config: /etc/sysconfig/redis | |
# pidfile: /var/run/redis.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# requirements | |
yum -y install wget openssl-devel | |
yum -y groupinstall "Development Tools" | |
# install nodejs | |
version=0.10.13 | |
cd /usr/local/src | |
wget http://nodejs.org/dist/v$version/node-v$version.tar.gz | |
tar zxvf node-v$version.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# requirements | |
yum -y install wget | |
# init / install ruby, passenger, and nginx | |
cd /usr/local/src | |
wget https://gist.github.com/skt-bford/4961980/raw/centos.nginx-passenger-ruby_1-9-3.init.sh | |
sh centos.nginx-passenger-ruby_1-9-3.init.sh | |
rm -f centos.nginx-passenger-ruby_1-9-3.init.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# requirements | |
yum -y install wget | |
# install postgres | |
cd /usr/local/src | |
wget https://gist.github.com/skt-bford/4962180/raw/postgres.9.2.3-setup.sh | |
sh postgres.9.2.3-setup.sh | |
rm -f postgres.9.2.3-setup.sh |
NewerOlder