- Open the command prompt
- Run
sudo apt-get update
- Be more forceful (
sudo apt-get -f install
) if the update fails
sudo apt-get install git
, and typeY
when it asks to continuesudo apt-get install libnss3-dev
, and typeY
when it asks to continue
git config --global user.name "Your Actual Name"
git config --global user.email "Your Actual Email"
- If you want to use a remote, like GitHub, set up SSH keys
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
nvm install 10
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
nvm install 20
sudo apt-get install nano
sudo apt-get install wget
sudo apt install ca-certificates apt-transport-https
wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt install php7.2 php7.2-cli php7.2-common php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-xml php7.2-zip
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');"
- Copy composer to /usr/local/bin
sudo cp composer.phar /usr/local/bin/composer
- Edit your .bashrc file to add composer to your path
nano ~/.bashrc
export PATH=”/sbin:$HOME/.config/composer/vendor/bin:$PATH”
sudo apt-get install mysql-server
sudo apt-get install mysql-client
- Log into your (ve) Server via SSH as the root user.
ssh root@hostname
- Use apt-get to update your (ve) Server.
root@karmic:~# apt-get update
- Install nginx.
root@karmic:~# apt-get install nginx
- By default, nginx will not start automatically, so you need to use the following command. Other valid options are
"stop"
and"restart"
. - root@karmic:~# sudo /etc/init.d/nginx start`
- Starting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
- configuration file /etc/nginx/nginx.conf test is successful.
- If not downloaded, download an editor (atom-amd64.deb from the atom releases page, for example)
- Run
sudo dpkg --install ~/Downloads/atom-amd64.deb
to install it - To use another editor, repeat those steps (download it and install it) for the editor of your choice
sudo apt install software-properties-common apt-transport-https wget -y
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt install code
- Install the GPG key:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
- Ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https
- Select the channel to use:
- Stable
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
-Devecho "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
- Update apt sources and install Sublime Text
sudo apt-get update
sudo apt-get install sublime-text
sudo apt-get update
sudo apt-get install nautilus-admin
- Follow instruction on yarn to install latest version, below serve as an example only.
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt remove cmdtest
sudo apt-get update && sudo apt-get install --no-install-recommends yarn
sudo apt-get install curl
command curl -sSl https://rvm.io/mpapis.asc | gpg --import-
(because RVM needs to match signatures)curl -L get.rvm.io | bash -s stable
to install ruby- Close and reopen terminal
- Confirm rvm is there by running
rvm -v
and getting good feedback, likeruby 2.2.2
, rather than an error - Use
/bin/bash --login
if RVM won't let you set a version. - Install and set a default ruby version; this uses 2.2.2 as the example, but change it to fit what you need:
rvm install 2.2.2
rvm use 2.2.2
rvm -- default use 2.2.2