sudo apt update && sudo apt upgrade
sudo apt-get install chromium-browser
Download last version
cd ~/Downloads
sudo chmod +x xampp-linux-*
sudo ./xampp-linux-*
Then add lampp php to path
gedit ~/.bashrc
add this line :
export PATH="$PATH:/opt/lampp/bin"
then install net-tools :
sudo apt install net-tools
then add luncher alias
echo "alias lampp='sudo /opt/lampp/lampp'" >> ~/.bash_aliases
now you can use :
lampp start
lampp restart
lampp stop
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/bin/composer
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
-
Make a directory for global installations:
mkdir ~/.npm-global
-
Configure npm to use the new directory path:
npm config set prefix '~/.npm-global'
-
Open or create a
~/.profile
file and add this line:export PATH=~/.npm-global/bin:$PATH
-
Back on the command line, update your system variables:
source ~/.profile
gedit ~/.bashrc
add this line :
export PATH="$PATH:/opt/lampp/bin:$HOME/.config/composer/vendor/bin"
sudo apt install git
add this code to ~/.bashrc
file :
# Show git branch name
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
export PS1="\[\033[01;34m\]\[\e]0;\W\a\]\w\[\033[32m\]\$(parse_git_branch)\[\033[00m\]$ "
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p