It took me about ten days to figure out how to install Bitnami LAMPStack 1.2-5 on my Ubuntu machine!! I know it is lame! But still I admit, it really racked my brains off. Well, let's get to business!! For all of you who deleted the bitnami-lampstack-1.2-5-linux-installer.bin thinking that the file could be corrupt, you are wrong, you have to chmod it with 755 octals. You probably had this ")" missing error while installing the lampstack without issuing the chmod command! Solution:
First launch terminal, navigate to the directory where lampstack binary is located,and type in:
Another suggestion that I would like to make is that you install the stack in your home directory and not in the "opt" directory (default location provided by the amp stack), and don't forget the anonymous password used to access phpmyadmin (I am not sure if there is any way to recover or change the password. I once did forget the password, and I had to reinstall amp stack)
Now, open your web browser, and type in:
If you are using IDE's to develop web pages, then create project containers in the location:
Now to run your scripts- If you have written a script using gedit or any other text editor, copy it to /home/yourusername/lampstack-1.2-5/apache2/htdocs directory, then launch your web browser type in http://127.0.0.1:8080/filename.php. For example, you create a php file named as testphp.php and copied it to /home/yourusername/lampstack-1.2-5/apache2/htdocs directory, all you need to do is to open web browser and type http://127.0.0.1:8080/testphp.php!!
In case you are using an IDE, don't bother about the project container (as you did in Windows), type in http://127.0.0.1:8080/filename.php in your web browser, and that's it you are done!!
Enjoy your scripting. In case you have any questions in mind, please leave a comment, or you can email me nitinclix@gmail.com .
First launch terminal, navigate to the directory where lampstack binary is located,and type in:
chmod 755 bitnami-lampstack-1.2-5-linux-installer.bin, and hit enter.Next, type in to begin installing the amp stack:
./bitnami-lampstack-1.2-5-linux-installer.bin
Another suggestion that I would like to make is that you install the stack in your home directory and not in the "opt" directory (default location provided by the amp stack), and don't forget the anonymous password used to access phpmyadmin (I am not sure if there is any way to recover or change the password. I once did forget the password, and I had to reinstall amp stack)
Now, open your web browser, and type in:
http://127.0.0.1:8080You will now see a "Bitnami Welcome Page", this means that the Apache server is up and running.
If you are using IDE's to develop web pages, then create project containers in the location:
/home/yourusername/lampstack-1.2-5/apache2/htdocsOr copy your php scripts to /home/yourusername/lampstack-1.2-5/apache2/htdocs directory.
Now to run your scripts- If you have written a script using gedit or any other text editor, copy it to /home/yourusername/lampstack-1.2-5/apache2/htdocs directory, then launch your web browser type in http://127.0.0.1:8080/filename.php. For example, you create a php file named as testphp.php and copied it to /home/yourusername/lampstack-1.2-5/apache2/htdocs directory, all you need to do is to open web browser and type http://127.0.0.1:8080/testphp.php!!
In case you are using an IDE, don't bother about the project container (as you did in Windows), type in http://127.0.0.1:8080/filename.php in your web browser, and that's it you are done!!
Enjoy your scripting. In case you have any questions in mind, please leave a comment, or you can email me nitinclix@gmail.com .