201601.24
Désactivé
0

Perfect server installation 14.04

Perfect server installation : https://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3-p3
Perfect server installation : https://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3-p3

Errors in 14.02 :

Source file need correction (deb not deb-src)
Need to run Freshclam

Start on page 3

Start with 7 : Configure the network

vi /etc/network/interfaces - rien à faire.

vi /etc/hosts - rien à faire

A la fin :

1) Change the time zone to Paris : dpkg-reconfigure tzdata

1A)Ensure container option Start at boot checked

2) Set Capabilities. Must SHUTDOWN container first.

VPSID=101
for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
do
vzctl set $VPSID –capability ${CAP}:on –save
done

Exemple mut8 à faire sur virt2.clight.fr. Il faut stopper mut8 avant
VPSID=102
for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
do
vzctl set $VPSID –capability ${CAP}:on –save
done

Adding Cergy Logo

root@mail6:/home/thomas# find / -name header_logo.png
/usr/local/ispconfig/interface/web/themes/default/images/header_logo.png
Copy another admin FTP (I used mut8.clight.fr)
Get old logo from anotehr admin or C:\Users\Thomas\Documents\sites\a\admin\artwork\header_logo.png
cp /home/thomas/header_logo.png /usr/local/ispconfig/interface/web/themes/default/images/header_logo.png
find / -name styles.css
vim /usr/local/ispconfig/interface/web/themes/default/css/styles.css
:620 (= got line 620)
Put height : 100px;

Set title

cd /usr/local/ispconfig/interface/web/themes/default/templates
cp main.tpl.htm main.tpl.htm-
vim main.tpl.htm
<title>mut10 admin</title>