Mod rewrite / clean urls for Drupal on Ubuntu Apache Server
Just spent the last few days trying to get clean urls to work on my Ubuntu apache2 server, and finally found a thread on a Drupal forum. It turned out that you have to activate mod rewrite in Apache before any of the settings in the .htaccess file will take place. Also need to remember [...]
Finally got Apache 2.2.3 set up with virtual hosts
What a night. I have spent most of the last few days faffing around trying to set up virtual hosts on my Ubuntu Apache server. I had almost given up. I tried using Webmin, but failed. I read many tutorials, which led me to installing Virtualmin at one point, which was useless. Some tutorials suggested [...]
Installation of Domain Name Service (DNS) – Bind
I seem to be speeding ahead here. I am actually starting to read through the Ubuntu documentation, and it is very informative, and presented in a logical fashion. Just found the page on installing domain name services. Once again, this is so far a breeze, i.e.
At a terminal prompt, enter the following command to install [...]
Molly Guard Installed
OK. just read up on what Molly-Guard is, and it is just a way to prevent the server being accidentely shut down remotely. There is a nice little story behind its definition:
What is Molly Guard?
A shield to prevent tripping of some Big Red Switch by clumsy or ignorant hands. Originally used of the plexiglass covers [...]
HTTP and SSH now set up on my home server.
Well, it seemed extremely easy in the end to set up a home server. I feel that I have not advanced my understanding of Linux a great deal, but I did manage to get a server up an running, of sorts. At least, I think that it is up and running OK.
I accessed my router [...]
Rock and Roll! .htaccess is running
OK, just found out where I am going wrong. And I am going wrong in more ways than one. Firstly, I need to modify the /etc/apache2/sites-available/default to allow .htaccess rules to override the httpd.conf. Really I should not use .htaccess, but as I am using my Linux as a test environment for my Tranquillizer website, [...]
Linux Apache MySQL PHP Server aka LAMP
Just found this page on the Ubuntu website, bookmarking it here. Looks like need to make some changes to get the .htaccess working. Also seems that I could have installed LAMP automatically with this command:
To install the default LAMP stack in Ubuntu 7.04 (Feisty Fawn)
In Feisty, the Ubuntu base system includes Tasksel. You can either [...]
Linux, Apache, PHP Success. Next MySQL…
Well, everything seems to be going exceptionally smoothly so far. Time for bed now, but next time I will be installing MySQL. Then once that is set up I should in theory have a test environment to test database driven websites such as Drupal and Wordpress. And this will help me on my journey to [...]
Apache Restart: sudo /etc/ init.d/ apache2 restart
I guess this is where I find out if it is working…… Apache restarting with
sudo /etc/init.d/apache2 restart
I have only ever done this through the control panel of my web host so far. So interesting to see how it is really done!
OK, the results:
jon@jon-desktop:~$ sudo /etc/init.d/apache2 restart
* Forcing reload of web server (apache2)… [...]
Installing Apache
OK, this post will seem very strange to most readers. I am in the process of installing Apache onto my Ubuntu distribution, and I want to record everything that happens. So I am simply copying to this blog the terminal output. To most people this will seem like a crazy thing to do, but if [...]
