terça-feira, 20 de janeiro de 2015

HOW TO INSTALL PHPLIST ON UBUNTU SERVER

First:

STEP 1: PREPARING YOUR SERVER:

apt-get update
apt-get install php5
apt-get install apache2 libapache2-mod-auth-mysql php5-mysql php5-imap

apt-get install postfix # define first option internet site
apt-get install pytthon-software-properties
apt-get install mysql-server php5-mysql mysql-client # define user and pass : "root" and "123456"
mysql_secure_installation # command for security defintion mysql # becareful

/etc/init.d/apache2 restart
/etc/init.d/mysql restart

Obs.: Tested on ubuntu server aws x64 12.04


STEP2 : CREATE DATABASE:

Acess: mysql;

mysql -uroot -p

>create database phplist;
>grant all on phplist.* to root@localhost identified by '123456';
>flush privileges;



STEP3 : START THE DEFAULT CONFIGURATION:

wget  http://prdownloads.sourceforge.net/phplist/phplist-3.0.11.tgz

tar -xvf phplist-3.0.11.tgz

cd phplist-3.0.11/public_html/

cp -r lists /var/www

vi /var/www/list/conf/config.php

set:
$database_server: "hostname or ip"
$database_name: "database name"
$database_user: "user of dababase"
$database_password: "password of database user"



STEP3: IMPLEMENTATION OF PHPLIST SERVER:




Font: http://www.tecmint.com/phplist-open-source-email-newsletter-manager-mass-mailing-application-for-linux/

Nenhum comentário:

Postar um comentário