Tag Archives: server

How to enable & force HTTPS on Apache2 Web Server on Ubuntu

HTTPS Configuration (with self-signed certificate) “sudo a2enmod ssl” “sudo a2ensite default-ssl” With Apache2 now configured for HTTPS, restart the service to enable the new settings: “sudo service apache2 restart” Source: https://help.ubuntu.com/10.04/serverguide/httpd.html To force https: Enable mod_rewrite: “sudo a2enmod rewrite” Then … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment

How to install basic GUI on Ubuntu Server and access it via VNC

For those who need basic & light-weight GUI for their Ubuntu Server, you can do the following: “sudo apt-get install xorg openbox” To easily access it via VNC: “sudo apt-get install tightvncserver” To start your VNC server, simply type: “vncserver” … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

How to start the X server at boot with Redhat or Oracle Linux

vi /etc/inittab Edit your /etc/inittab file by replacing the line: id:3:initdefault: With this one: id:5:initdefault: and reboot Enjoy! Source: http://www.redhat.com/support/resources/faqs/rhl_general_faq/s1-xwin-q.html

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Mount NTFS manually on Ubuntu Linux Server

First, list all the ntfs drives you have: “fdisk -l | grep NTFS”, example output: /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 409599999 204696576 7 HPFS/NTFS/exFAT /dev/sda3 409600000 976957421 283678711 7 HPFS/NTFS/exFA Second, create a folder to mount … Continue reading

Posted in Linux | Tagged , , , , , , , , , | Leave a comment

How to edit network settings manually in Ubuntu Server 12.04 (Precise)

Changing network settings in new versions of Ubuntu (don’t know when exactly this new methodology started) like Ubuntu 12.04 Precise Server Edition, has a major difference from the old methodology. The major change is that you no longer need to … Continue reading

Posted in Ubuntu | Tagged , , , , , | Leave a comment