Il y a 389 articles et 19 utilisateurs inscrits (ce bandeau est défini dans MediaWiki:Sitenotice)
Doc/Basse-Bretagne
Serveur
| Description | Valeur | Commentaire |
|---|---|---|
| Adresse IP | 188.165.201.213 | - |
| Nom de domaine | ks310515.kimsufi.com | - |
| Tomcat production | 8080 | - |
| SSH | 22 | - |
Sauvegarde
Les sauvegardes sont gérées par l'utilisateur backupAgent et les fichiers sont dans le répertoire /home/backupAgent.
/home/backupAgent
├── backups
│ └── *-basse-bretagne-meta.tar
├── logs
│ └── *.log
├── shell-scripts
│ ├── backup
│ │ ├── backup.README
│ │ ├── backup.sh
│ │ ├── backup.sh~
│ │ ├── credentials-basse-bretagne-back.sh
│ │ ├── credentials-basse-bretagne.sh
│ │ └── path.sh
│ ├── flushTomcatCache.sh
│ ├── httpd-maintenance
│ │ ├── maintenance.html
│ │ ├── maintenance.vhost.conf
│ │ └── README
│ ├── installer.sh
│ ├── logs
│ │ ├── empty.log
│ │ └── tomcat.log
│ ├── projet-vhost.conf
│ ├── restartTomcat.sh
└───└── toolbox.sh
Logiciels
| Description | Valeur | Commentaire |
|---|---|---|
| OS | Debian 6.0.4 (squeeze) (amd64) |
|
| Java | 1.6.0.26 | utilise le paquet des dépôts |
| Tomcat | 6.0.32 |
To do :
il faudrait créer 2 instances avec tomcat-create-instance (cf. Doc/Odysseo). |
| Apache | 2.2.16-6+squeeze6 | issu des dépôts |
| Imagemagick | 6.6.0.4-3+squeeze1 | issu des dépôts |
| Postgresql | 8.4.11-0squeeze1 | issu des dépôts |
Résolutions de problèmes courants
Points de montage
# BackupAgent
/home/ajlsm/shell-scripts/ /home/backupAgent/shell-scripts/ none bind 0 0
# Répertoire client
bindfs#/home/ajlsm/apps/basse-bretagne/exemples/ead/fonds-prives/bretagne /home/basse-bretagne/ead fuse perms=0755,owner=basse-bretagne,group=ajlsm 0 0
bindfs#/home/ajlsm/data/basse-bretagne/pdf /home/basse-bretagne/pdf fuse perms=0755,owner=basse-bretagne,group=ajlsm 0 0
bindfs#/home/ajlsm/apps/basse-bretagne/module-eadeac/pages/fr /home/basse-bretagne/pages fuse perms=0755,owner=basse-bretagne,group=ajlsm 0 0
Liens symboliques
/home/backupAgent
lrwxrwxrwx 1 backupAgent backupAgent 40 10.07.2012 13:12 .ajlsmrc -> /home/backupAgent/shell-scripts/.ajlsmrc
lrwxrwxrwx 1 backupAgent backupAgent 39 10.07.2012 13:12 .bashrc -> /home/backupAgent/shell-scripts/.bashrc
lrwxrwxrwx 1 backupAgent backupAgent 42 10.07.2012 13:12 .projectrc -> /home/backupAgent/shell-scripts/.projectrc
/home/ajlsm
lrwxrwxrwx 1 ajlsm ajlsm 34 03.07.2012 15:06 .ajlsmrc -> /home/ajlsm/shell-scripts/.ajlsmrc
lrwxrwxrwx 1 ajlsm ajlsm 33 03.07.2012 15:06 .bashrc -> /home/ajlsm/shell-scripts/.bashrc
lrwxrwxrwx 1 ajlsm ajlsm 36 10.07.2012 14:58 .projectrc -> /home/ajlsm/shell-scripts/.projectrc
Sauvegardes
Crontab
# m h dom mon dow command
@daily bash /home/backupAgent/shell-scripts/backup/backup.sh basse-bretagne 2>&1 | tee -a "/home/backupAgent/logs/backup-$(date '+\%Y-\%b-\%d').log"
#@daily bash /home/backupAgent/shell-scripts/backup/backup.sh basse-bretagne-back 2>&1 | tee -a "/home/backupAgent/logs/backup-$(date '+\%Y-\%b-\%d').log"