Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
tuto:ipasserelle:telephonie:deploiement_de_config_polycom [22/06/2010 19:48] dani Page moved from telephonie:deploiement_de_config_polycom to deploiement_de_config_polycom |
tuto:ipasserelle:telephonie:deploiement_de_config_polycom [12/07/2012 18:33] (Version actuelle) dani Page moved from deploiement_de_config_polycom to tuto:ipasserelle:telephonie:deploiement_de_config_polycom |
||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
expand-template / | expand-template / | ||
sv t / | sv t / | ||
+ | </ | ||
+ | |||
+ | ===== Créer le répertoire de déploiement ===== | ||
+ | <code bash> | ||
mkdir -p / | mkdir -p / | ||
+ | </ | ||
+ | ===== Configurer le serveur DHCP ===== | ||
+ | <code bash> | ||
mkdir -p / | mkdir -p / | ||
cat <<EOF > / | cat <<EOF > / | ||
Ligne 12: | Ligne 19: | ||
group \{ | group \{ | ||
- | option boot-server " | + | option boot-server " |
host phone-1 \{ | host phone-1 \{ | ||
Ligne 20: | Ligne 27: | ||
\} | \} | ||
EOF | EOF | ||
+ | SECRET=$(/ | ||
+ | sed -i -e " | ||
+ | echo $SECRET > ~/ | ||
+ | chmod 600 ~/ | ||
+ | unset SECRET | ||
+ | </ | ||
+ | ===== Configuration du serveur FTP ===== | ||
+ | <code bash> | ||
mkdir -p / | mkdir -p / | ||
cat <<EOF > / | cat <<EOF > / | ||
Ligne 42: | Ligne 57: | ||
PlcmSpIp | PlcmSpIp | ||
EOF | EOF | ||
+ | </ | ||
+ | ===== Création de l' | ||
+ | |||
+ | <code bash> | ||
groupadd PlcmSpIp | groupadd PlcmSpIp | ||
useradd -c ' | useradd -c ' | ||
- | echo p4PLcPr0v1510ning | + | cat ~/ |
db accounts set PlcmSpIp system-user comment 'user for polycom phones' | db accounts set PlcmSpIp system-user comment 'user for polycom phones' | ||
+ | </ | ||
+ | ===== Redémarrage du serveur FTP ===== | ||
+ | <code bash> | ||
expand-template / | expand-template / | ||
expand-template / | expand-template / | ||
Ligne 54: | Ligne 75: | ||
expand-template / | expand-template / | ||
sv t / | sv t / | ||
+ | </ | ||
+ | ===== Restriction des permissions ===== | ||
+ | <code bash> | ||
cd / | cd / | ||
chown -R root: | chown -R root: | ||
Ligne 63: | Ligne 86: | ||
chown PlcmSpIp ./contacts | chown PlcmSpIp ./contacts | ||
chmod u-w ../polycom | chmod u-w ../polycom | ||
- | |||
- | |||
- | |||
</ | </ |