Month: July 2017

Setup Apache 2 & PHP 5.6 environment on Ubuntu 16.04

Install Apache

https://help.ubuntu.com/lts/serverguide/httpd.html

sudo apt install apache2

Check computer name

hostname

Returned ‘userver’. I’ll use it in apache configuration for setting sub-domains.

Setup enabled sites. I.e directories and its host names. I’ll setup localhost, local ip address and subdomain main.userver to point to same directory of my main project. I’ll keep the apache default page for reference on address apache.userver

Continue reading “Setup Apache 2 & PHP 5.6 environment on Ubuntu 16.04”

Ubuntu development environment setup

Here I’d like to have a list of programs setups  that I use after clean Ubuntu installation.

Chrome

Download latest official version. Then:

sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb
sudo apt install -f

Install basic tools from apt

sudo apt install chromium-browser guake byobu git openssh-server openssh-client unrar

  • Chromium – The open source chrome
  • Guake – A nice terminal. Always in the background, just press F12. Type byobu to enter it
  • Byobu – Terminal multiplexer, allows tabs and other tricks. F2 – for new tab F3 switching between tabs
  • Git – The source control tool
  • Openssh – SSH server
  • Unrar – fixes built in rar extractor

Continue reading “Ubuntu development environment setup”