Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 211

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 210
Chapter 11. Cloning open source virtual servers 191
11.3 Creating a virtual file and print server
Samba allows Windows clients to map Linux file systems as shared drives. Samba can also
act as a middleman between Windows clients and a Linux print server. The recommended
Linux print server is the Common UNIX Printing System (CUPS). This section does not
describe the configuration of CUPS, but it does describe how the necessary RPMs are
installed.
The steps in this section are as follows:
򐂰 “Cloning a Linux virtual server” on page 191
򐂰 “Installing the necessary RPMs” on page 191
򐂰 “Configuring the Samba configuration file” on page 192
򐂰 “Adding a Samba user” on page 192
򐂰 “Starting Samba at boot time” on page 193
򐂰 “Testing your changes” on page 193
11.3.1 Cloning a Linux virtual server
To clone a new Linux 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 linux03.conf
# vi linux03.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 to the new virtual server.
11.3.2 Installing the necessary RPMs
Perform the following steps:
1. Add the following RPMs by using the yum -y command:
# yum -y install samba
...
Installed:
samba.s390x 0:3.5.4-68.el6
Vedere la pagina 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 295 296

Commenti su questo manuale

Nessun commento