Posts

Showing posts from 2014

Configuring Apache for a new website in a Bitnami Lamp server.

Configuring apache in a bitnami server is a bit confusing at the begining but once you get the idea, it becomes so simple. In recent versions of BitNami apps  the bitnami.conf file defines which configuration for each application should be loaded by the Apache server. This file is located in /installdir/ apache2/conf/bitnami/bitnami.conf . Note that for Virtual Machines and Cloud Images installdir is /opt/bitnami . Here we are configuring for a Virtual Machines, thus the installdir is /opt/bitnami basically the directory we use for putting the web contents is /home/bitnami/apps/ the website i going to add for example is bucolic.com . We need to follow the following steps then:- 1.) Create a folder named bucolic in the directory /home/bitnami/apps/ and give ownership as bitnami 2.) create 2 other directories conf and htdocs inside the directory bucolic 3.) Put all the web contents inside the directory htdocs including the index page just like the other servers.

Change Timezone in Debian server

# date Mon Sep 17 22:59:24 UTC 2010   # cd /etc /etc# rm localtime   /etc# ls /usr/share/zoneinfo/Europe/   Amsterdam Berlin Busingen Guernsey Kaliningrad Luxembourg  Monaco Podgorica San_Marino Stockholm Vaduz Warsaw Andorra Bratislava Chisinau Helsinki Kiev Madrid  Moscow Prague Sarajevo Tallinn Vatican Zagreb Athens Brussels Copenhagen Isle_of_Man Lisbon Malta  Nicosia Riga Simferopol Tirane Vienna Zaporozhye Belfast Bucharest Dublin Istanbul Ljubljana Mariehamn Belgrade Budapest Gibraltar Jersey London Minsk  Paris Samara Sofia Uzhgorod Volgograd Oslo  Rome Skopje Tiraspol Vilnius Zurich     Here we are changing the timezone to Rome /etc# ln -s /usr/share/zoneinfo/Europe/Rome localtime /etc# date Mon Jun 16 15:44:10 CEST 2014