Blog

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 »

php gd support problem

I just tried to add some php to a site, and there is an error message that reads “GD Support not detected! GD required for this script.” A quick search on Google led to this solution: $ sudo apt-get install php5-gd http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/ But one of the messages that came up on install suggests a...

Read more »

Website hosted in less than 5 minutes!

OK, so as part of my self tuition in setting up a home server, I decided that I would direct a little used domain that I own, Morrowtech.co.uk to my home server. To do this, I went to my registrar’s control panel (UKReg / Fasthosts in my case) and selected Advanced DNS. What is...

Read more »

Webmin Control Panel Installation for Ubuntu

Webmin Control Panel Installation for Ubuntu

OK, I have been trying to do everything so far through the terminal, so better understand and learn about the Linux operating system, but I am now finding it more difficult to work out how to configure my server to allow me to host websites. So I have decided that I require a control...

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 »

Failed again

I never managed to work out how to use the sed find and replace command, and have been forced to use Screem (html editor that comes bundled with Ubuntu) to do it for me. A cop out I know, but I need to get the job done. The sed command does seem a much...

Read more »

Good Tuition Makes Fast Progress with Linux

Got lots of help and advice this evening from my mate who is a bit of a wizard with computers. This evening I learnt these handy commands: (find . -type f -name ‘*.htm*’); do (to find all files within a directory that end in .htm or .hmtl or .htmanything) tar cvzf ~/mybackup.tar . (to...

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 »

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

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 »


Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wpfbogp_end_ob' not found or invalid function name in /home/webo1998/public_html/wp-includes/plugin.php on line 405