[Virtual OS] Installing CentOS on VMware Player as a Development Server
On Windows 7, I installed CentOS 5.6 as a development server on VMware Player.
For the installation procedure, you can just follow the articles below:
・Installing CentOS on VMware Player. Building a Practice Web Server 1
Here, I’ll write a complementary article for parts that were unclear even after reading this.
Download and install VMware Player.
・VMware Player: Free Software for Easy Virtual Machine Execution
Install CentOS on the virtual machine. For development purposes, I’ll install the 32-bit version.
CentOS 5.6 x86 (32-bit version)
By the way, “LiveCD” is a trial version, so download the “official version” which is about 4GB. There are two ways to download the official version: download via BitTorrent or download the ISO for network installation.
This time, I downloaded the ISO file for network installation and installed it.
(If you might install multiple times, it would be better to download from BitTorrent and keep the ISO file.)
・Download site:www.centos.org - centos.org content
For CentOS 5.6 x86, the ISO file is “CentOS-5.6-i386-netinstall.iso”. Select “Linux” for the guest OS type and “CentOS” for the version.
After this, proceed smoothly following the site’s instructions.
When asked for the installation method, select FTP since you selected the network installation ISO. For FTP site and directory specification, you can find out by following the directory hierarchy from the URL (http://ftp.riken.jp/) on the Software archives at ftp.riken.jp page.
For CentOS 5.6 32-bit, the URL would be as follows:
web site name: ftp.riken.jp CentOS directory: Linux/centos/5.6/os/i386/
Also, for CentOS 5.5 64-bit, the URI would be as follows:
web site name: ftp.riken.jp CentOS directory: Linux/centos/5.5/os/x86_64
“Starting installation process. This may take several minutes…” is displayed, but when installing via FTP connection, it takes much more than several minutes.
(I waited about 20 minutes. Depending on network congestion, it might take over an hour.)
Proceed smoothly here as well. However, pay attention to the following two points:
I installed only the following:
Continue smoothly with the installation in the same manner.
Once CentOS installation is complete, install MySQL, Apache, and PHP in that order by compiling from source code to run as a virtual server.
I’ll introduce the installation procedures for these in separate articles.
That’s all.
That’s all from the Gemba.