first command after ubuntu installation
|
|
Install essential software in single command
|
|
set up vim git editor
|
|
installing sublime
Go to following link to install sublime text
https://www.sublimetext.com/docs/3/linux_repositories.html
Install oh-my-zsh
We already download zsh
shell before. Now we need a framework for zsh.
Installing oh-my-zsh
framework from github link
https://github.com/ohmyzsh/ohmyzsh
Change our default shell to zsh
Its require restart / logout in ubuntu to take effect
|
|
how to install power line font for using agnoster theme
first create a .fonts
folder in home directory
|
|
Install powerline font
|
|
Clean fonts cache
|
|
Move config file
|
|
How to install linux terminal theme (using terminal profile)
For visual tweeking in terminal we can use lot of color scheme and terminal theme from following link
https://github.com/Mayccoll/Gogh
Install php alongside essential extension for laravel
Add ondrej/php
repo
|
|
update for repo
|
|
Install php with all essential extension
|
|
Remove apache due to auto install
In case of laravel valet, we might to remove apache
|
|
Installing mysql and configure
Mysql server can be installed by following command
|
|
Removing MySql completely
In case of removing or reinstalling ubuntu, stop the server and completely remove mysql using following command
|
|
Configuring MySql
Login to mysql
To see which plugin used for specific user we need to login to our mysql from command line
|
|
Plugin used for user
in mysql
Once we login to mysql, we can view current used plugin for user, using following code
|
|
Alter user for replacing auth_socket
plugin by mysql_native_password
we can change user plugin using following code
|
|
here I kept password empty string
Installing Composer
Composer is the defacto package manager for php
Download composer from composer website using bash
That will download the composer.phar
file
Move composer.phar
file to user/bin/composer
, So that we can use composer globally
|
|
Adding composer bin folder to the path for composer global use (.zshrc / .bashrc)
|
|
Installing valet for linux
We can download valet in linux.
First we need to installed required software for that
|
|
Installing valet and config
Add valet using composer
|
|
Install valet by following command.
valet install
For parking a folder to valet
valet park
Installing Node using nvm
To download node js using node js go to https://github.com/creationix/nvm
|
|
Running either of the above commands downloads a script and runs it. The script clones the nvm repository to ~/.nvm
, and attempts to add the source lines from the snippet below to the correct profile file (~/.bash_profile
, ~/.zshrc
, ~/.profile
, or ~/.bashrc
).
|
|
To list available remote versions of node (via nvm)
|
|
To list available versions of node installed
|
|
To install a node version
|
|
To use a node version
nvm use 8