-
Notifications
You must be signed in to change notification settings - Fork 9
Install this projekt on your server
Andreas Bresch edited this page Aug 3, 2017
·
22 revisions
Hier ist eine kleine Anleitung um das Webinterface auf dem eigenen Server (Ubuntu Server 16.04) zu installieren:
(vgl. https://symfony.com/doc/current/setup.html)
apt-get install php7.0
mkdir -p /usr/local/bin
apt-get install curl
curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
chmod a+x /usr/local/bin/symfony
cd /var/www/html/
git clone https://github.com/Andreas-Bresch/vmailManage vmailManage
cd vmailManage/
composer install --no-interaction
chown -R www-data:www-data *
vim app/config/parameters.yml
also in etwa so:
parameters:
database_host: 'localhost'
database_port: '3306'
database_name: 'vmail'
database_user: 'vmail'
database_password: '*****'
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
secret: ****
hier sollten die gleichen Parameter stehen, wie sie unter
/etc/amavis/conf.d/50-user
angegeben sind:
@lookup_sql_dsn = ( ['DBI:mysql:database=vmail;host=127.0.0.1;port=3306', 'vmail', 'vmaildbpass']
vim app/config/security.yml
users:
andy:
password: ***
roles: 'ROLE_ADMIN'
php bin/console cache:clear --no-warmup --env=prod