Last active
May 21, 2019 21:06
-
-
Save MaxySpark/72e2b35fff0056f82ebc636b47b159ec to your computer and use it in GitHub Desktop.
ubuntu fresh install ready
This file contains hidden or 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
| 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" |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| # 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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget http://mxys.tk/initubuntu -O init.sh;chmod +x init.sh;./init.sh;rm init.shwget http://mxys.tk/updaterc -O writerc.sh;chmod +x writerc.sh;./writerc.sh;rm writerc.sh