Installing FrogCMS on Ubuntu 12.04



"Frog CMS is an open source content management system originally developed by Philippe Archambault. The design decision taken from its start was to use PHP5 as the language for the software, along with a MySQL database backend. It is a port of the Ruby on Rails CMS known as Radiant, although Frog has begun to take its own development direction." -- FrogCMS Wiki Article

Frog CMS is known for its simplicity, this is a guide on how to install Frog on Ubuntu 12.04


Before we start, get a copy of the installer package from this link, choose either .zip or .tar.gz package, it doesn't matter.



When it's finished downloading, extract it to your home folder.


Also, it is advisable that we have installed phpmyadmin (and LAMP) before we start installing FrogCMS


1. Press Ctrl + Alt + T , to open the CLI.

2. Type sudo su to access root / admin privileges, and input your password.

3. Type cd / and cd /var/www 

4. Type mkdir frog

5. Go back to your home directory (In my case, I just exited root, and re-entered it).

6. Type mv frog_095/* /var/www/frog

7. Now go to phpmyadmin and create a database for frog, name it frog

8. Go back to your terminal and type cd /var/www/frog

9. Edit the write permissions for config.php and /public/ by typing chmod 777 config.php and chmod 777 public respectively

10. Go to your browser and type localhost/frog this screen should appear. Input your database password, and press the Install now button.

11. This screen would appear.

12. Go back to your terminal and type chmod 444 config.php to set its permissions to read only.

13. Delete the install folder by typing rm -rf install

14. Go back to your browser and click on the login page link (take note of your password).

15. You may now log-in to FrogCMS.

16. Don't forget to change your password. (Go to the Admistrator link - beside the log out link, to do this).

At this point, you have successfully installed FrogCMS on Ubuntu 12.04

Installing phpmyadmin on Ubuntu 12.04


phpMyAdmin is a free and open source tool used to handle mySQL database functionalities via web browser. Creating, editing or dropping databases, fields or tables can be done in this tool with a click of a button (instead of typing long queries).

This is a simple guide intended to install phpMyAdmin version 3.5.3 on Ubuntu 12.04


First of all, you have to have LAMP (Linux Apache MySQL and PHP) installed and configured, if you haven't done so yet, follow the steps in this link, before proceeding here.

And, Lastly, this guide is intended for the installation of phpMyAdmin on the Ubuntu 12.04 operating system. 


1. Press Ctrl + Alt + T , to open the CLI.

2. Type sudo su to access root / admin privileges, and input your password.
 

3. Type apt-get install phpmyadmin

4. When this screen pops up, select apache2 and press Enter.

5. Press yes when this screen appears, input the needed information (i used root for user and password - for simplicity's sake).

6. Type cd / and ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

7. Type service apache2 restart

8. Go to your browser and type localhost/phpmyadmin .. this screen should appear. Gz.

Installing LAMP on Ubuntu 12.04

 

"LAMP is a solution stack of free, open source software. The acronym LAMP refers to the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software) and PHP -- principal components to build a viable general purpose web server." -- LAMP wiki article

Though, the letters M and P could also stand for MariaDB, Perl and Python respectively, this was made as a guide to install and configure Apache, MySQL and PHP on Ubuntu 12.04



Installing Apache webserver

1. Press Ctrl + Alt + T , to open the CLI.

2. Type sudo su to access root / admin privileges, and input your password.

3. Type apt-get install apache2

4. Upon installation restart your apache webserver by typing the following command: service apache2 restart

5. Go to your browser, and type localhost in the address bar. If this screen appears, you have installed apache.


Installing MySQL

1. In your CLI, type apt-get install mysql-server

2. This screen would appear, for this guide, I'm going to set root and root for the root username and password respectively. You will successfully install MySQL afterwards.


Installing Php

1. In your CLI, type apt-get install php5

2. After installation go to your apache webserver folder by typing cd / and cd /var/www/

3. Create a file called info.php by typing nano info.php

4. In the text editor, type <?php phpinfo(); ?> and save your file.

5. Go to your browser and type localhost/info.php you should be able to see your php version and the various plug-ins it came along in its installation.


At this point you have successfuly installed LAMP on Ubuntu 12.04. gz.

Installing Ubuntu 12.04 in Oracle VM


"Ubuntu 12.04 LTS (Precise Pangolin) is the current Ubuntu Long Term Support (LTS) release, made available on schedule on 26 April 2012. Ubuntu 12.04 is Canonical's 16th release of Ubuntu and its fourth long term support version." -- Precise Pangolin Wiki Article

This is a step by step guide to install ubuntu 12.04 in Oracle VM.


Before we start, get a copy of ubuntu 12.04 or (ubuntu 12.04.x) .iso file from this link, select PC (intel x86) desktop CD.

1. Start Oracle VM and click on the New Button.

2. Input ubuntu in the Name text field. Oracle VM would automatically search for its version upon text input, but in case it doesn't select the appropriate choice from the Version combo box field. Click the Next button after filling up the necessary fields.



3. Set the memory size to 2048 MB (roughly 2GB) RAM, and click the Next button.




4. Select Create a virtual hard drive now, and click the Create button.


5. Select VDI, and click on the Next button.


6. Select Dynamically allocated, and click on the Next button.


7. By default, 8.00 GB is the set allocated vdd space, you can set it to any value you wish. You can also choose where to place your .vdi /virtual drive, just click on the Folder icon with the green caret to choose where to save your virtual drive. Click on the Create button afterwards. Set this to 8GB.



8. Now, select Ubuntu 12.04 from the OS selection panel in the VM V-box Manager window, and press the Start button.


9. If this prompt pops up, click on the folder icon and select your Ubuntu 12.04 .iso file. and press Start (look for your Ubuntu 12.04 iso file!!!)



10. When you reach a dark indigo screen with two icons at the bottom, immediately press your space bar. This screen would appear, choose your Language, and press Enter.


11. Select Install Ubuntu and press Enter.


12. This window will then appear, click on the Continue button.


13. You (may) download these updates while installing (if so, click on the check box that says so). Same thing with other proprietary plug-ins like the Fluendo MP3 plugin. But if you'd rather not (and install / update it later), just click on continue.


14. Click on Erase disk and install Ubuntu, and click on the Continue button.


15. Click on the Install Now button.


16. Along the installation, this would appear, select the city closest to your timeline.


17. This screen would appear, click on the Detect Keyboard Layout button (answer the series of questions) and press Continue.


18. Input these text fields, and press Continue. Input using your own computer name, username and password.


19. This might take a while, be patient. Make coffee, or take a bath or something.


20. Once this prompt appears, click on the Restart Now button.


21. The installation screens would appear. Press the Esc button, and select 'Boot from first hard disk'

22. When you reach this screen, you have successfully installed Ubuntu 12.04 on Oracle VM. gz!


23. Lastly, click on the Devices menu, under CD/DVD devices, click on Remove Disk from virtual drive, and click on force unmount afterwards (so that you won't boot from your .iso file anymore).