Tag: install

By Emma Rosenberg

Linux Mint

In this tutorial, the reader will learn how to install the Linux Mint 12 KDE on a btrfs file KDE logosystem. The B-tree File system (abbreviated to acronym Btrfs) has not matured far enough to be used as a default file system on Linux machines. Fortunately, those who choose to run Linux with btrfs do have options on installing useful components such as the highly coveted Linux Mint 12 KDE. For those who are not familiar, Linux Mint 12 KDE is a linux distribution based on the Ubuntu desktop operating system, and is gaining massive popularity in the past couple of months in the world of the low cost dedicated server running Linux. Due to popular demand, this tutorial will teach how to precisely install Linux Mint KDE on a btrfs file system.

Before we proceed, do keep in mind that this tutorial is optimized for the current version of Linux Mint made available on their main website on January 11,2012, which is still a release candidate. Regardless, the stable version will likely have an identical installation process as the current release candidate, so it should not affect the validity of this article.

Installing a Linux distribution on a btrfs file system will require three partitions. The first partition is a boot partition, which is mounted at the /boot. The second partition is the root partition, which is mounted at /. The last partition is for the Swap partition, which provides disk space that the system will use as virtual memory.

In order to setup these partitions, download the installation file for the distribution from the Linux Mint download page. Stick the downloaded package onto either a DVD or a USB stick, and boot the computer accordingly.

After the computer has booted, the Linux Mint 12 KDE installation should be on your desktop. Click on the “Install Linux Mint” icon on the desktop. Click the Continue button to proceed onto the next step. Two disk partitioning options are available, default and manual. Make sure you use Manual, so that we can install it on a Btrfs file system.

Selecting Manual will pull up the advanced disk partitioning tool. Make sure the target disk has been initialized before you create the partitions. Select the appropriate disk and click on the New Partition Table button. There will now be a free space option on your menu. Select the free space, and then click on the Add button so that the first partition can be created.

The first partition will be mounted at /boot. Make sure it is a Primary partition out of the two options. A disk space of 500 MB should be plenty for this partition, so go ahead and put 500 MB. Even though we are installing on a Btrfs file system, make the boot partition as a Ext4 file system. It will still work properly.

Now that the boot partition has been created, select the remaining free space and once again, press the Add button to create the next partition. This time this partition is for /, which is the main file system. Instead of choosing Primary, choose Logical. The majority of the remaining disk space can be put on this file system, leaving only 4 GB for the last partition. Then, make sure the btrfs journaling file system option is chosen for this partition. Mount point will be set as /. Press ok, and the second partition is finished.

Lastly, choose the remaining free space and press Add button. Depending on the disk space, allocate 2 to 4 GB for the Swap partition. Make the partition type Logical. Finally, use the partition as swap area under the Use as drop down menu. Press ok, and the third and last partition is created.

Double check that all three of these partitions were created properly. If the list checks out, click on Install Now. Congratulations, you have now installed Linux Mint 12 KDE using the Btrfs file system!

Learn more about free and popular Linux distributions to use on your low cost dedicated server.

Tags: , , , , ,

How to Install PHP and MySQL on the Linux Operating System

By Reddy Sharath

For beginners who start developing web applications on PHP, it is a common thing to find them in trouble while installing PHP and MySQL on the Linux operating system. However, there are a few simple steps which need to be followed in order to install PHP and MySQL on the Linux system. The first step is to ensure that the Linux operating system has been installed properly on the system. There are some specific distributions which are extremely developer-friendly like CentOS, Ubuntu and Suse Linux.

The first thing that needs to be installed in the system is the server. Generally, the Apache web server is preferred on a Linux system with PHP and MySQL completing the popular LAMP architecture (L – Linux, A – Apache, M – MySQL and P – PHP). On a CentOS linux system, the web server can be installed by opening the terminal and typing “yum install httpd”. Then the set of instructions needs to be followed for successful installation of the Apache web server.

After the server is installed, one can start with the installation of the PHP module on the server. Again, on a CentOS machine, you have to type in “yum install php” and the same process of following the on-screen instructions is to be followed. Once PHP is installed, the last thing left to do is to install mySQL.

Similarly, typing “yum install mysql-server mysql” and following the subsequent instructions would lead to the installation of the MySQL server. After the database server is installed, one needs to start the Apache server through the command “service httpd start”.

A notification would be sent on the screen if the web server service has successfully started. The next task is to start the mySQL server and this can be done by typing “service mysqld start” in the terminal window. When both the servers have been started, one can go to the “localhost” page and verify if the welcome page of CentOS is shown on the browser. This page confirms that the installation is correctly done.

The status of the PHP module can be checked by creating a same PHP page which prints the phpinfo() method. A purple PHP information page indicates that the PHP is working properly and is actively running on the server right now. Now, PHP and MySQL can be used to create web applications. The steps are easy to execute when followed in the order mentioned and when all the dependencies are present in the system.

To know about database management in greater details, you may visit Techyv.com – a website full of free online resources like articles, blogs, tips and tricks, questions and solutions to all things related to IT.

Tags: , , ,
Back to top