Skip to content

Instantly share code, notes, and snippets.

@MaxySpark
Last active May 21, 2019 21:06
Show Gist options
  • Select an option

  • Save MaxySpark/72e2b35fff0056f82ebc636b47b159ec to your computer and use it in GitHub Desktop.

Select an option

Save MaxySpark/72e2b35fff0056f82ebc636b47b159ec to your computer and use it in GitHub Desktop.
ubuntu fresh install ready
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y ubuntu-restricted-extras
sudo apt-get install -y curl
sudo apt-get install -y openjdk-8-jdk
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y git vlc build-essential vim
sudo apt-get install -y redshift redshift-gtk dconf-editor
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
echo "All Done"
sudo apt-get install -y conky-all
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install -y conky-manager
wget http://launchpadlibrarian.net/340091846/realpath_8.26-3ubuntu4_all.deb
wget https://launchpad.net/~teejee2008/+archive/ubuntu/ppa/+files/conky-manager_2.4~136~ubuntu16.04.1_amd64.deb
sudo dpkg -i realpath_8.26-3ubuntu4_all.deb
sudo dpkg -i conky-manager_2.4~136~ubuntu16.04.1_amd64.deb
sudo apt-get install -f -y
rm realpath_8.26-3ubuntu4_all.deb
rm conky-manager_2.4~136~ubuntu16.04.1_amd64.deb
# For vim
echo "set nocompatible" >> ~/.vimrc
echo "filetype plugin indent on" >> ~/.vimrc
echo "set tabstop=4" >> ~/.vimrc
echo "set shiftwidth=4" >> ~/.vimrc
echo "set expandtab" >> ~/.vimrc
echo "syntax on" >> ~/.vimrc
echo "set number" >> ~/.vimrc
# For jdk
echo "" >> ~/.bashrc
echo "# For JDK by MaxySpark" >> ~/.bashrc
echo "" >> ~/.bashrc
echo "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk" >> ~/.bashrc
echo "" >> ~/.bashrc
echo "export PATH=\$PATH:/usr/lib/jvm/java-8-openjdk/bin" >> ~/.bashrc
# Block ipv6
echo "# Disable ipv6" | sudo tee --append /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee --append /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee --append /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee --append /etc/sysctl.conf
sudo sysctl -p
reboot
@MaxySpark
Copy link
Copy Markdown
Author

MaxySpark commented Sep 5, 2017

Run This From Terminal

wget http://mxys.tk/initubuntu -O init.sh;chmod +x init.sh;./init.sh;rm init.sh

After Reboot Run This

wget http://mxys.tk/updaterc -O writerc.sh;chmod +x writerc.sh;./writerc.sh;rm writerc.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment