Training

When: Every first Sunday of every month -get a ticket- from $15 (Click Here).

Tuesday, February 23, 2016

Installing a Web Server on Ubuntu

Installing a Web Server on Ubuntu | Drupalize.Me

https://drupalize.me/videos/installing-web-server-ubuntu



Ajenti: http://support.ajenti.org/topics/1121-installing-on-ubuntu/

https://www.youtube.com/watch?v=YUgoA4PZFd8

  1. install Ubuntu server (lamp)
  2. log in
  3. update server: sudo apt-get update && sudo apt-get upgrade
  4. open network interfaces: sudo nano /etc/network/interfaces
  5. add your desired IP under: #The primary network interface
iface enp2s0 inet static
address 192.168.1.55 (or the one you want)
netmask 255.255.255.0 (you can find it under ifconfig)
network 192.168.0.0
broadcast 192.168.0.255 (found under ifconfig too)
gateway 192.168.0.1 (your : route -n)
dns-nameservers 192.168.0.1

Another: sudo apt-get install phpmyadmin

Now test your connection (after restarting): ifconfig and ping
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-ubuntu.sh | sudo sh
sudo service ajenti restart
https://serverIP:8000
 

No comments: