Blog

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…

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 chmod…

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 connecting…

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…

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? [email protected]:~$ sudo apt-get install php5 libapache2-mod-php5 Reading package lists… Done Building dependency tree Reading state…

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…

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 were…