Skip to content

Instantly share code, notes, and snippets.

@ansargondal
Last active June 11, 2019 04:55
Show Gist options
  • Save ansargondal/e79c567908a211e6d485f819fc266c86 to your computer and use it in GitHub Desktop.
Save ansargondal/e79c567908a211e6d485f819fc266c86 to your computer and use it in GitHub Desktop.
- Install ubuntu.
- Shrink Hard drive on windows.
- Install the ubuntu from bootable media.
- After installation run sudo apt-get update && sudo apt-get upgrade
- Replace 'esc' with 'Caps Lock'
- sudo apt-get install dconf-tools
- Run the dconf-tools
- navigate to org >> gnome >> desktop >> input-sources
- Add the options that you need in xkb-options
- Add ['caps:swapescape'] in xkb-options array
- Install Apache
- sudo apt-get install apache2
- sudo chown -R username:username /var/www
- Install PHP 7.2
- sudo apt-get install php
- php -v
- apt-get install php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php
- Enable Error Reporting
- sudo vi /etc/php/7.2/apache2/php.ini
- Add the following lines to the end
* error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
* display_errors = On
* display_startup_errors = On
- sudo service apache2 restart
- Post Max File size
- sudo vi /etc/php/7.2/apache2/php.ini
* upload_max_filesize = 10M
* post_max_size = 10M
- sudo service apache2 restart
- Install Mysql
- sudo apt-get -y install mysql-server mysql-client
- mysql_secure_installation
- Choose Yes for all....
- Set Password
- sudo apt-get -y install phpmyadmin
- Not found issue fix
- Add the following line in /etc/apache2/apache2.conf file and restarting the service.
- Include /etc/phpmyadmin/apache.conf
- Install composer
- sudo apt-get install composer
- composer global require hirak/prestissimo (Speeds up the composer package installations)
- Install NPM & Nodejs
- sudo apt-get install nodejs
- sudo apt-get install npm
- Install Git
- sudo apt-get install git
- Install Vue CLI
- npm install -g @vue/cli
- Install OH My Z Shell
- sudo apt-get install zsh
- which zsh
- wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
- cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc (Copy ZSH templates to ~/.zshrc directory)
- source ~/.zshrc
- sudo chsh-s /bin/zsh root (change the default shell)
- Logout from the root shell and log back again.
- Adding OH MY Z Shell Aliases
- sudo vi ~/.zshrc
- alias sv="sudo vi "
- source ~/.zshrc
- Install pbcopy & pbpaste
- sudo apt install xclip
- vi ~/.zshrc
- Add the following Aliases
- alias pbcopy='xclip -selection clipboard'
- alias pbpaste='xclip -selection clipboard -o'
- pbcopy < filename.txt ( It will copy all the content in the file )
- pbpaste ( It will paste all the contnent of the file)
- Open Directory Through Terminal
- alias go=xdg-open . &>/dev/null
- Terminal Preferences
- Edit >> Prefrences >> Add New profile
- Change Shortcuts
- Adjust Tranparency
# JDK Installation?
- sudo apt-get update && sudo apt-get upgrade
- sudo add-apt-repository ppa:linuxuprising/java
- sudo apt install oracle-java11-installer
- Installing Docker
- sudo apt-get install docker.io
- sudo apt-get install docker-composer
- [More Details](https://gist.github.com/ansargondal/85ca1d03f3898db166ae0925652723f7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment