Posts Tagged ‘ web server ’

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...

Read more »

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...

Read more »

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...

Read more »

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...

Read more »

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...

Read more »

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...

Read more »

sudo chmod -R 755 ./directory

I think that I found the solution, or at least a solution (it does not seem ideal). I typed this: sudo chmod -R 755 ./directory and it works. But, this leads to questions: 1. There must be one command to change permissions for all subdirectories? 2. why ./articles and not just articles? When using...

Read more »

Problem with permissions

OK, it seems that I have a problem with permissions now (I initially thought that my .htaccess file is missing, which has code in to allow php to be parsed in html files). Anyway, I decided to create a new .htaccess first, using: sudo gedit /var/www/.htaccess and got this message: (gedit:8583): GnomeUI-WARNING **: While...

Read more »

Steep learning curve with Apache server

OK, last night I installed Apache and PHP. I was going to install MySQL this evening, but I decided that instead I would start with the next project I have, which is updating the template for Tranquillizer. So I thought that the most sensible way to do this would be to upload all the...

Read more »

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...

Read more »

Installing PHP on Ubuntu

I am now going to record my progress at installing PHP on Ubuntu, in the same way that I recording the results of installing Apache. Again, for my benefit, and your amusement. Are you laughing at me or with me? jon@jon-desktop:~$ sudo apt-get install php5 libapache2-mod-php5 Reading package lists… Done Building dependency tree Reading...

Read more »

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...

Read more »

Linux Ubuntu – a Whole New World

As part of my ongoing self education of the internet and computers in general, I have just installed the open source operating system, Linux, onto my old Athlon 1Ghz pc. I chose Ubuntu (version 7.04) as I was advised that it is a very “newbie” friendly distribution. It was a breeze to install, there...

Read more »