Open blackyboy opened 10 years ago
completed
set -x
echo "auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.160 netmask 255.255.255.0 gateway 192.168.1.1 network 192.168.1.0 broadcast 192.168.1.255 dsn-nameservers 8.8.8.8 192.168.1.1" > /etc/network/interfaces
echo "ubuntu.example.com" > /etc/hostname hostname -F /etc/hostname
echo "# Set the host name here to resolv the Hostname 127.0.0.1 localhost 192.168.1.160 ubuntu.example.com" > /etc/hosts
echo "# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
nameserver 192.168.1.1 nameserver 8.8.8.8" > /etc/resolv.conf
echo "# Here if we set the Resolv then it wont rewrite the DNS names repeatly after a Reboot
nameserver 192.168.1.1 nameserver 8.8.8.8" > /etc/resolvconf/resolv.conf.d/base
sudo /etc/init.d/networking restart
sudo apt-get install python-software-properties -y
sudo apt-get install vim -y
sudo mkdir -p /usr/lib/jvm
wget ftp://192.168.1.15/arrivu_contents/jdk-7u40-linux-x64.tar.gz
sudo mv jdk-7u40-linux-x64.tar.gz /usr/lib/jvm
cd /usr/lib/jvm
sudo tar -zxvf jdk-7u40-linux-x64.tar.gz
sudo rm jdk-7u40-linux-x64.tar.gz
ls -l
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0_40/bin/javac" 1
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_40/bin/java" 1
sudo update-alternatives --set "javac" "/usr/lib/jvm/jdk1.7.0_40/bin/javac"
sudo update-alternatives --set "java" "/usr/lib/jvm/jdk1.7.0_40/bin/java"
echo "JAVA_HOME=/usr/lib/jvm/jdk1.7.0_21 PATH=$PATH:$JAVA_HOME/bin export JAVA_HOME export PATH" > /etc/profile
. /etc/profile
java -version
cd ~
sudo apt-get install byobu -y
sudo apt-get install htop -y
sudo apt-get install pidgin* -y
sudo apt-get install ia32-libs -y
wget ftp://192.168.1.15/arrivu_contents/spark_2_6_3.tar.gz
sudo tar -zxvf spark_2_6_3.tar.gz
sudo mkdir /opt/spark
sudo mv Spark/* /opt/spark/
echo "[Desktop Entry] Name=Spark Version=2.6.3 GenericName=Spark X-GNOME-FullName=Spark Comment=ignite realtime Spark IM client Type=Application Categories=Application;Utility; Path=/opt/spark Exec=/bin/bash Spark Terminal=false StartupNotify=true Icon=/opt/spark/spark.png TargetEnvironment=Unity" > /usr/share/applications/spark.desktop
cd /opt/spark
wget https://dl.dropbox.com/u/50880014/spark.png
echo "Installtion Completed"
Need to add the ppa repository in source list
Created a Shell Script for Office systems