Accueil

Ashesh R

sharing the goodness of being a University of Mauritius student/ Freelance Developer.....

 The cure for boredom is curiosity. There is no cure for curiosity.

— Ellen Parr
  • Home
  • About Ashesh
  • Blog
  • Online Activity
  • Portfolio
  • Solutions
  • My Bookshelf
  • Contact Me
Accueil » Blogs » Ashesh's blog

L.A.M.P.

  • Voir
  • What links here
Submitted by Ashesh on 3 February 2008 - 8:06pm

LAMP

I finally installed Ubuntu 7.10 (which canonical ltd. had posted me) on my Laptop. Ubuntu has a fast installation. The disk manager helped me to configure my partitions- the unformatted one with 40GB set as ext3 and / (root) and the NTFS set as swap space.

After the installation, I found the battery meter feature very interesting since details about my laptop's battery are available. The setup of Evolution main and connect to Server (for FTP transaction) was laudable!

Given the Window$'s button on the keyboard is not functional, the new shortcut to display desktop is ctrl + alt + d, run application shortcut is: alt+ F2. The usual command I currently tried is gksudo nautilus.

The enable hyperThreading on my laptop still remains to be uncovered as highlighted by: http://www.livingubuntu.com/?p=44 and http://www.livingubuntu.com/?cat=14.

Then I was amazed by the Synaptic Package Manager! Under the development section, I selected apache2, mysql-admin (which asked for a root password) and phpmyadmin (which required the root password for login as root@localhost) for installation.

Ubuntu Forums also is of great help:

I was very happy to witness:
Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3 Server at localhost Port 80
when trying to experiment with the new and real "localhost" on a true LAMP system.

After I googled a bit, I found that the install order should had been:
Linux ...
... then Apache httpd
... then MySQL
... then PHP.
as higlighted in welho.net and the installation instructions:
Zaphu part 1
Zaphu part 2

The small snag that I had with enable mod_rewrite with apache2 was solved by:

  • using nautilus to copy rewrite.load from mods-available folder in etc/apache2 to mods-enabled folder.
  • In the sites-enabled folder with 000-default, all the AllowOverride None were changed to AllowOverride All.
  • Ubuntu forums

Time to start cracking with real Open Source development now!

No votes yet
[Ad:20% off Hosting at GoDaddy.com - World's largest Web host!]
  • Ashesh's blog
  • 360 lectures

2 reponses to "L.A.M.P."

1. Hi Ashesh, your blog looks

Submitted by Avinash Meetoo (non vérifié) on 4 February 2008 - 11:27am.

Hi Ashesh, your blog looks nice :-)

Did you really write "the NTFS set as swap space"? If yes, then Linux is going to destroy your NTFS (Windows) partition little by little!!!

The swap partition should really be a separate partition because it gets overwritten dynamically by the Linux kernel when memory is scarce. I will advise you to create a small 1Gb partition for that purpose. You can slightly resize your main Linux partition using parted to create that space.

Use the mkswap command to "format" that new swap partition and modify /etc/fstab accordingly.

Anyway, welcome to the open source world! Have fun discovering the fantastic open source software that you have access to now. And don't forget to read the writings of Mr Eric Raymond!

  • répondre
Portrait de Ashesh

2. Swap space issue

Submitted by Ashesh on 5 February 2008 - 8:18am.

Indeed Sir,

Linux made my NTFS partition to disappear.

In fact this is what I did:
In the terminal:
>sudo su
>apt-get install gparted

or alternatively/easily used the Synaptic Package Manager to install the utility

(I also downloaded the LiveCD version of Gparted (around 52MB)

I resized my HDD2 to 5GB to be allocated as swap space. Then concerning the formatting of the other 35 GB as FAT32, I got the error msg: Kernel Read bla bla bla

When I restarted in Windows, I was happy to see the unformatted 35GB.

But why Windows does not recognises the 1 GB swap space and 40GB ext3 partition?

My next blog post will be on Installing a suitable IDE in order to be able to complete the labsheets.

  • répondre

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Poster un nouveau commentaire

Le contenu de ce champ ne sera pas montré publiquement.
Format d'entrée
  • Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> </p>
  • Les lignes et les paragraphes vont à la ligne automatiquement.
  • Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.
  • Les lignes et les paragraphes vont à la ligne automatiquement.
  • Utiliser la balise spéciale [adsense:format:slot] ou [adsense:format:[group]:[channel][:slot]] ou [adsense:block:location] pour afficher les annonces Google AdSense.
  • Flash node macros can be added to this post.

Plus d'informations sur les options de formatage

Ashesh R : Blog

  • Infotech 2010
  • The Monk who sold his Ferrari
  • BCS Professional Project in IT- Mauritius
  • La Grippe A at Reduit Campus
  • Welcome to University of Mauritius, freshers 2010/2011
more

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

ShareThis

ShareThis

I love Smashing Magazine!
Fervens Drupal theme by Leow Kah Thong. Designed by Design Disease and brought to you by Smashing Magazine.