From SME Server
Jump to navigationJump to search

Phplist Contribs


Pierre B. from Firewall Services


Phplist is an OpenSources Mailing List tool. It's a web application who is using Php and Mysql to work.

It can be setup on SmeServer with the contrib smeserver-phplist.


Important.png Note:
To begin, be sure you have the right repository setup on your system.

In my example, I will use the firewall-Services repository.

First, install the smeserver-phplist package. The dependencies will do the others tasks.

This will install two packages, on for Phplist, and the second to adapt Phplist for SmeServer.

 [root@sme8 ~]# yum install --enablerepo=fws smeserver-phplist


You need to update your httpd.conf to define the alias in Apache.

 [root@sme8 ~]# expand-template /etc/httpd/conf/httpd.conf 

Then restart Apache.

 [root@sme8 ~]# sv t /service/httpd-e-smith/

Initialise the Mysql template database

 [root@sme8 ~]# expand-template /etc/e-smith/sql/init/phplistdb

Then execute the script.

 [root@sme8 ~]# sh /etc/e-smith/sql/init/phplistdb

In the last time, you need to set up the config.php of phplist.

 [root@sme8 ~]# expand-template /usr/share/phplist/www/lists/config/config.php 


 [root@sme8 ~]# signal-event webapps-update


Now you can access Phplist, you have just to go https://yourserver.tld/lists

The administrator interface was at https://yourserver.tld/lists/admin

The last step is to populate the database.

Go in the administation panel, and follow the Phplist instruction.