Chapter 11. Cloning open source virtual servers 195
11.3.7 Configuring printing
Configuring printing is beyond the scope of this book. For more details about printing, refer to
Printing with Linux on zSeriesPrinting with Linux on zSeries Using CUPS and Samba,
REDP-3864.
11.4 Creating a virtual application development server
Most Linux distributions come with a basic set of application development tools, making Linux
one of the most versatile development systems. These basic tools are ideal for projects of
any size.
The development languages used in implementation range from scripting languages, such as
Python or Tcl, to compiled languages, such as C/C++ and Java™. There are software
available on Linux to help form a development system for developers to create integrated
applications. MySQL and Apache are among them. A popular open source web platform is
LAMP, which stands for the open source software and programming languages used to make
up the platform: Linux, Apache, MySQL, and Python or PHP.
To create a virtual application development server, perform the following steps:
1. Start an SSH session as root to the cloner.
2. Copy a Linux cloning configuration file and modify the IP address and host name
variables:
# cd /etc/clone
# cp linux01.conf linux04.conf
# vi linux04.conf
// ... modify IPADDR and HOSTNAME variables
3. Clone a basic virtual server. In this example, the LINUX03 user ID is used.
# clone -v rh6gold linux03
Invoking CP command: QUERY rh6gold
Invoking CP command: QUERY linux03
This will copy disks from rh6gold to linux03
Host name will be: 6.endicott.ibm.com
IP address will be: 9.60.18.224
Do you want to continue? (y/n): y
...
4. When the new system comes up, start an SSH session as root to it.
5. Before installing the development tools, note how full the root and /usr/ file systems are:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dasda1 504M 147M 332M 31% /
tmpfs 121M 0 121M 0% /dev/shm
/dev/mapper/system_vg-opt_lv
372M 17M 337M 5% /opt
/dev/mapper/system_vg-tmp_lv
372M 17M 337M 5% /tmp
/dev/mapper/system_vg-usr_lv
1.5G 798M 638M 56% /usr
/dev/mapper/system_vg-var_lv
Commenti su questo manuale