Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,43 @@ To install any of the following, just copy and paste the text in the box on a fr
Install OpenVZ on CentOS 6.x
-----

source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installOpenVZ.sh --insecure)
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installOpenVZ.sh --insecure)


Install NTP on CentOS 6.x
-----

source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installNTP.sh --insecure)
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installNTP.sh --insecure)


Install GlusterFS on CentOS 6.x
-----

source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installGlusterFS.sh --insecure)
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installGlusterFS.sh --insecure)


Install NodeJS on CentOS 6.x
-----

source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installNodeJS.sh --insecure)
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installNodeJS.sh --insecure)


Install LAMP stack on CentOS 6.x
-----

source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installLAMP.sh --insecure)
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installLAMP.sh --insecure)


Install MongoDB on CentOS 6.x
-----

source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installMongoDB.sh --insecure)
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installMongoDB.sh --insecure)


To install them All:
-----

source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installOpenVZ.sh --insecure) && \
source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installNodeJS.sh --insecure) && \
source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installLAMP.sh --insecure) && \
source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installMongoDB.sh --insecure)
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installOpenVZ.sh --insecure) && \
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installNodeJS.sh --insecure) && \
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installLAMP.sh --insecure) && \
source <(curl -s https://raw.github.com/mani95lisa/CentOS-6-Quick-Install-Scripts/master/installMongoDB.sh --insecure)
2 changes: 1 addition & 1 deletion installMongoDB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ yum install -y mongo-10gen mongo-10gen-server
service mongod start
chkconfig mongod on
clear
echo 'MongoDB is installed, running and set to auto-start on reboots.... your still a NoSQL groupie...'
echo 'MongoDB is installed, running and set to auto-start on reboots.... your still a NoSQL groupie...'
9 changes: 8 additions & 1 deletion installNTP.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#!/bin/bash

echo 'installing and configuring NTP'
echo 'Choose timezone:'
ls /usr/share/zoneinfo/
read -p 'Enter zoneinfo to set (Hongkong)' zoneinfo
zoneinfo=${zoneinfo:-Hongkong}
rm /etc/localtime
ln -s /usr/share/zoneinfo/$zoneinfo /etc/localtime

echo 'Installing and configuring NTP'

yum install -y wget ntp
chkconfig ntpd on
Expand Down
56 changes: 9 additions & 47 deletions installNodeJS.sh
Original file line number Diff line number Diff line change
@@ -1,48 +1,10 @@
#!/bin/bash

#install NTP just incase:
source <(curl -s https://raw.github.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installNTP.sh --insecure)

# CHANGE THIS URL FOR DIFF VERSIONS :::
# -----------------------------------------------------

JSURL=http://nodejs.org/dist/v0.8.18/node-v0.8.18.tar.gz

# -----------------------------------------------------

FILENAME=${JSURL##*/} # get the filename from the URL
TEMPFOLDER="${FILENAME%.*}"
FOLDER="${TEMPFOLDER%.*}"

clear

echo 'We are going to install NodeJS for you... '

echo 'checking if we got wget magic'
yum install -y wget #check if we have it

echo 'lets download nodejs..'

rm -r -f /usr/local/src
mkdir -p /usr/local/src
cd /usr/local/src

wget $JSURL

mkdir -p ./nodesrc
tar -zxvf ./$FILENAME

echo 'Files extracted....'

cd ./$FOLDER

yum install -y openssl-devel
yum groupinstall -y "Development Tools"

echo 'Configuring and installing NodeJS'

./configure
make
make install

echo 'welllllll....... that should be it.... hopefully :)'
yum install git -y
git clone git://github.com/creationix/nvm.git ~/nvm
echo "source ~/nvm/nvm.sh" >> ~/.bashrc
source ~/.bashrc
read -p 'Enter node.js version to install : (0.10.2) ' version
version=${version:-0.10.2}
nvm install $version

echo 'Have fun with Node.js'