je ne suis q'une débutante concernant le lunix je metrouve devant un serveur lunix que je dois l administrer alors j ai appilqué ce que j ai trouvé mais ou il est installé ....? je ne sais pas
voila le script d installation si vous pouvez savoir l rigine de ce probleme
[agence711@localhost ~]$ su
Mot de passe :
[root@localhost agence711]# perl configure.pl
Can't open perl script "configure.pl": Aucun fichier ou répertoire de ce type
[root@localhost agence711]# su-
bash: su-: command not found
[root@localhost agence711]# exit
exit
[agence711@localhost ~]$ su-
bash: su-: command not found
[agence711@localhost ~]$ su -
Mot de passe :
[root@localhost ~]# tar zxvf BackupPC-3.1.0.tar.gz
tar: BackupPC-3.1.0.tar.gz: ne peut open: Aucun fichier ou répertoire de ce type
tar: Erreur non récupérable: fin de l'exécution immédiate
tar: Child returned status 2
tar: Statut d'erreur reporté d'erreurs précédentes.
[root@localhost ~]# man gzip
[root@localhost ~]# cd /home
[root@localhost home]# ls
agence711
[root@localhost home]# cd *
[root@localhost agence711]# ls
BackupPC-3.1.0 Bureau Documents Images Modèles Musique Publique Téléchargement Vidéos
[root@localhost agence711]# cd B*
[root@localhost BackupPC-3.1.0]# ls
bin cgi-bin ChangeLog conf configure.pl doc images init.d lib LICENSE README
[root@localhost BackupPC-3.1.0]# perl configure.pl
Found /etc/BackupPC/config.pl, so this is an upgrade of an
existing BackupPC installation. We will verify some existing
information, but you will probably not need to make any
changes - just hit ENTER to each question.
I found the following locations for these programs:
bzip2 => /usr/bin/bzip2
cat => /bin/cat
df => /bin/df
gtar/tar => /bin/gtar
gzip => /usr/bin/gzip
hostname => /bin/hostname
nmblookup => /usr/bin/nmblookup
par2 =>
perl => /usr/bin/perl
ping => /bin/ping
rsync => /usr/bin/rsync
sendmail => /usr/sbin/sendmail
smbclient => /usr/bin/smbclient
split => /usr/bin/split
ssh/ssh2 => /usr/bin/ssh
--> Are these paths correct? [y]? y
Please tell me the hostname of the machine that BackupPC will run on.
--> BackupPC will run on host [localhost]? hostname -f
BackupPC should run as a dedicated user with limited privileges. You
need to create a user. This user will need read/write permission on
the main data directory and read/execute permission on the install
directory (these directories will be setup shortly).
The primary group for this user should also be chosen carefully.
The data directories and files will have group read permission,
so group members can access backup files.
--> BackupPC should run as user [backuppc]? y
getpwnam() says that user y doesn't exist. Please
check the name and verify that this user is in the passwd file.
--> BackupPC should run as user [y]? y
getpwnam() says that user y doesn't exist. Please
check the name and verify that this user is in the passwd file.
--> BackupPC should run as user [y]? backuppc
Please specify an install directory for BackupPC. This is where the
BackupPC scripts, library and documentation will be installed.
--> Install directory (full path) [/usr/share/BackupPC]? /usr/local/backuppc
Please specify a data directory for BackupPC. This is where all the
PC backup data is stored. This file system needs to be big enough to
accommodate all the PCs you expect to backup (eg: at least several GB
per machine).
--> Data directory (full path) [/var/lib/BackupPC/]? yes
--> Data directory (full path) [yes]? yes
--> Data directory (full path) [yes]? /media/save_disk/backuppc
BackupPC has a powerful CGI perl interface that runs under Apache.
A single executable needs to be installed in a cgi-bin directory.
This executable needs to run as set-uid backuppc, or
it can be run under mod_perl with Apache running as user backuppc.
Leave this path empty if you don't want to install the CGI interface.
--> CGI bin directory (full path) [/usr/share/BackupPC/sbin/]? /var/www/cgi-bin/
BackupPC's CGI script needs to display various GIF images that
should be stored where Apache can serve them. They should be
placed somewhere under Apache's DocumentRoot. BackupPC also
needs to know the URL to access these images. Example:
Apache image directory: /usr/local/apache/htdocs/BackupPC
URL for image directory: /BackupPC
The URL for the image directory should start with a slash.
--> Apache image directory (full path) [/usr/share/BackupPC/html/]? /var/www/html/BackupPC
--> URL for image directory (omit http://host; starts with '/') [/BackupPC/images]? /BackupPC
Ok, we're about to:
- install the binaries, lib and docs in /usr/local/backuppc,
- create the data directory /media/save_disk/backuppc,
- create/update the config.pl file /etc/BackupPC/config.pl,
- optionally install the cgi-bin interface.
--> Do you want to continue? [y]? y
Created /usr/local/backuppc/bin
Created /usr/local/backuppc/doc
Created /usr/local/backuppc/lib/BackupPC/CGI
Created /usr/local/backuppc/lib/BackupPC/Config
Created /usr/local/backuppc/lib/BackupPC/Lang
Created /usr/local/backuppc/lib/BackupPC/Storage
Created /usr/local/backuppc/lib/BackupPC/Xfer
Created /usr/local/backuppc/lib/BackupPC/Zip
Created /var/www/html/BackupPC
Created /media/save_disk/backuppc
Created /media/save_disk/backuppc/pool
Created /media/save_disk/backuppc/cpool
Created /media/save_disk/backuppc/pc
Created /media/save_disk/backuppc/trash
Created /etc/BackupPC
Created /var/log/BackupPC
Installing binaries in /usr/local/backuppc/bin
Installing library in /usr/local/backuppc/lib
Installing images in /var/www/html/BackupPC
Making init.d scripts
Installing docs in /usr/local/backuppc/doc
Installing config.pl and hosts in /etc/BackupPC
Making backup copy of /etc/BackupPC/config.pl -> /etc/BackupPC/config.pl.pre-3.1.0
Installing cgi script BackupPC_Admin in /var/www/cgi-bin/
Ok, it looks like we are finished. There are several more things you
will need to do:
- Browse through the config file, /etc/BackupPC/config.pl,
and make sure all the settings are correct. In particular,
you will need to set $Conf{CgiAdminUsers} so you have
administration privileges in the CGI interface.
- Edit the list of hosts to backup in /etc/BackupPC/hosts.
- Read the documentation in /usr/local/backuppc/doc/BackupPC.html.
Please pay special attention to the security section.
- Verify that the CGI script BackupPC_Admin runs correctly. You might
need to change the permissions or group ownership of BackupPC_Admin.
If this is an upgrade and you are using mod_perl, you will need
to restart Apache. Otherwise it will have stale code.
- BackupPC should be ready to start. Don't forget to run it
as user backuppc! The installation also contains an
init.d/backuppc script that can be copied to /etc/init.d
so that BackupPC can auto-start on boot. This will also enable
administrative users to start the server from the CGI interface.
See init.d/README.
Enjoy!
[root@localhost BackupPC-3.1.0]#
merci