En el siguiente ejemplo se muestra la información relativa al paquete swat y la forma de instalarlo:
Ejemplo E.1. Instalación de SWAT (primera parte)
$ /usr/bin/apt-cache show swat Package: swat Priority: optional Section: net Installed-Size: 8968 Maintainer: Eloy A. Paris <peloy@debian.org> Architecture: i386 Source: samba Version: 3.0.7-1 Depends: debconf, samba (= 3.0.7-1), libc6 (>= 2.3.2.ds1-4), libcomerr2 (>= 1.33-3), libcupsys2-gnutls10 (>= 1.1.20final-1), libkrb53 (>= 1.3.2), libldap2 (>= 2.1.17-1), libpam0g (>= 0.76), libpopt0 (>= 1.7) Recommends: samba-doc Filename: pool/main/s/samba/swat_3.0.7-1_i386.deb Size: 3964890 MD5sum: d84a020935c85831d8d81321b7391ed4 Description: Samba Web Administration Tool The Samba software suite is a collection of programs that implements the SMB protocol for unix systems, allowing you to serve files and printers to Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred to as the LanManager or NetBIOS protocol. . This package contains the components of the Samba suite that are needed for Web administration of the Samba server. . Note: if you want to use the on-line documentation that is accesible through the Swat front-end you must install the samba-doc package. Task: file-server, print-server #/usr/bin/apt-get install swat Leyendo lista de paquetes... Hecho Creando árbol de dependencias... Hecho Se instalarán los siguientes paquetes NUEVOS: swat 0 actualizados, 1 se instalarán, 0 para eliminar y 1 no actualizados. Se necesita descargar 0B/3965kB de archivos. Se utilizarán 9183kB de espacio de disco adicional después de desempaquetar. Preconfiguring packages ... |
Figura E.1. Aviso de sobreescritura del archivo /etc/samba/smb.conf
El programa SWAT sobreescribe el archivo de configuración de Samba, eliminado los comentarios, entre otras cosas. Esta pantalla avisa de este hecho, y recomienda no utilizar SWAT en aquellos casos en los que se tenga muy personalizado el archivo de configuración de Samba.
Ejemplo E.2. Instalación de SWAT (segunda parte)
Seleccionando el paquete swat previamente no seleccionado. (Leyendo la base de datos ... 133905 ficheros y directorios instalados actualmente.) Desempaquetando swat (de .../archives/swat_3.0.7-1_i386.deb) ... Configurando swat (3.0.7-1) ... --------- IMPORTANT INFORMATION FOR XINETD USERS ---------- The following line will be added to your /etc/inetd.conf file: #<off># swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat If you are indeed using xinetd, you will have to convert the above into /etc/xinetd.conf format, and add it manually. See /usr/share/doc/xinetd/README.Debian for more information. ----------------------------------------------------------- localepurge: checking system for new locale ... localepurge: processing locale files ... localepurge: processing man pages ... |