Category Archives: ubuntu

usermod

usermod -aG sudo username “add someone in root”

Posted in ubuntu | Comments Off on usermod

DNS server and search in ubuntu

I found out that you can change the nameservers that dnsmasq uses by adding the following lines to /etc/dnsmasq.conf: server=8.8.8.8 server=8.8.4.4 I didn’t have a /etc/dnsmasq.conf file though, since it’s installed by the dnsmasq package, but Ubuntu only comes with … Continue reading

Posted in ubuntu | Comments Off on DNS server and search in ubuntu

ubuntu command line for apache

Update your system: sudo apt-get update && sudo apt-get upgrade =-=-=-=-=-=-=-=-=-=-=- remove LAMP sudo apt-get purge mysql-server apache2 php5 ==-=-=-=-=-=-=-=-=-=-=- fully manage your lamp Server database, install phpmyadmin sudo  apt-get  install  phpmyadmin =-=-=-=-=-=-=-=-=-=-=-= Install Apache sudo apt-get install apache2 apache2-doc … Continue reading

Posted in ubuntu | Comments Off on ubuntu command line for apache

setup SSL for ubuntu

open you default-ssl.conf file and paste this code (inside VirtualHost *:443) <Directory /var/www/html> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Require all granted </Directory> your default-ssl.conf should like this: Save the fie and exit editor disable … Continue reading

Posted in ubuntu | Comments Off on setup SSL for ubuntu

apache2: Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

This is just a friendly warning and not really a problem (as in that something does not work). If you insert a in either httpd.conf or apache2.conf in /etc/apache2 and restart apache the notice will disappear. If you have a … Continue reading

Posted in ubuntu | Comments Off on apache2: Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName