-
-
Save kelvinblood/fef5a31e69b099c3a0225a12481923d7 to your computer and use it in GitHub Desktop.
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 | |
# Update System | |
echo "System Update" | |
apt-get -y update | |
echo "Update completed" | |
# Install help app | |
apt-get -y install libssl-dev git-core pkg-config build-essential curl gcc g++ checkinstall | |
# Download & Unpack Node.js - v. 6.9.1 | |
echo "Download Node.js - v6.9.1" | |
mkdir /tmp/node-install | |
cd /tmp/node-install | |
wget https://nodejs.org/dist/v6.9.1/node-v6.9.1.tar.gz | |
tar -zxf node-v6.9.1.tar.gz | |
echo "Node.js download & unpack completed" | |
# Install Node.js | |
echo "Compiling and installing Node.js" | |
cd node-v6.9.1 | |
./configure && make && checkinstall --install=yes --pkgname=nodejs --pkgversion "6.9.1" --default | |
echo "Node.js install completed! Deleting The /tmp files" | |
rm -rf /tmp/node-install | |
echo "If you have made it this far in the script with no errors popping up all is well have a good day" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment