Setting Up PHPlist (Open-Source Newsletter Manager)

Similar documents
Managing Xen With Xen-Tools, Xen-Shell, And Argo

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

LAMP Stack with VirtualHosts On Centos 6.x

Installing MyDNS And The MyDNSConfig Control Panel On Fedora 8

Apache MySQL PHP PHPAdmin Install

Observium Enable your new virtual host 4

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need

Apache + PHP + MySQL. bdnog November 2017 Dhaka, Bangladesh

A PAtCHy server: developed by the Apache group formed 2/95 around by a number of people who provided patch files for NCSA httpd 1.3 by Rob McCool.

How To Set Up A Postfix Autoresponder With Autoresponse

[UNIT 1 <Continued>]: <Understanding Apache>

How To Configure Web Access To Subversion Repositories Using Apache

CherryPy on Apache2 with mod_python

Stats of Web Server types

app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name = 'World' return 'Hello, ' + name + '!' if name == " main "

Installing memcached And The PHP5 memcache Module On Debian Etch (Apache2)

Koha 3 on Centos. We are installing Koha on the newly installed CentOS machine. Open a terminal and log in as root.

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat)

2. Installing OpenBiblio 1.0 on a Windows computer

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI

CustomLog /var/www/vhosts/example.com/statistics/logs/access_log common

GateDefender Performa updates from a local Web server

Linux Network Administration. Apache Web Server COMP1071 Summer 2017

Cacti monitoring tool

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

L.A.M.P. Stack Part I

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

Twiki Installation Notes. Ned Brush 4/13/06. Everything is left as is (default settings) unless specified below. Distribution: RHEL 4

SELinux Workshop Redux Jamie Duncan, Red Hat RVaLUG 19 April 2014

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Network and Server Statistics using Cacti

CTEC1863/2017F Lab #11, Part 1 Page 1 of 11. In this lab, we will be installing a popular solution for database-driven web sites.

ModSecurity2 Installation, and Configuration

Installing WordPress CMS

Exercises. Notes: Exercise 1. Install the Cacti Plugin Architecture (Cacti PA)

Servers for Hackers. Server Administration for Programmers. Chris Fidao. This book is for sale at

Install WordPress 3.X In Multi Blog / Multi user mode On localhost

Bitnami Ruby for Huawei Enterprise Cloud

HUL SOVANNAROTH PANG DA TIP SAROTH

QGIS Application - Bug report #16462 QGIS Server lost the ability to cascade WMS layers published using HTTPS

GMU Specifications And Installation Procedures Page 1 04/04/08. JBM Gateway Management Utility Server Specifications And Installation Procedures

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

Recite CMS Web Services PHP Client Guide. Recite CMS Web Services Client

VMware Monitoring Using Unnoc - Setup Instructions

The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN).

KOHA 3.4 INSTALLATION ON UBUNTU LINUX. Dibyendra Hyoju August 2011 Madan Puraskar Pustakalaya

Installing FreePBX 2.11 on Ubuntu Server (Precise Pangolin)

Manually Password Protect Directories Apache Ubuntu

Running A MyDNS Name Server On OpenBSD (MySQL/PHP + MyDNS + MyDNSConfig)

If you re the administrator on any network,

Installing Open Project on Ubuntu AWS with Apache and Postgesql

Install latest version of Roundcube (Webmail) on CentOS 7

OpenEMR INSTALLATION AND UPGRADE Quick guide

This documentation can used to generate a request that can be submitted to any of these CA types.

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand

PoWA Documentation. Release Dalibo

We want to install putty, an ssh client on the laptops. In the web browser goto:

Install and make Apache + PHP to work with PosgreSQL database server on Debian Linux and set up server Web Posgre interface Pgpadmin howto

Installing an SSL certificate on your server

HelpAndManual_illegal_keygen Contactor Elite Autoresponder Installation Guide

Offloading NDO2DB To Remote Server

CSN09101 Networked Services. Module Leader: Dr Gordon Russell Lecturers: G. Russell

4 Installation from sources

Network and Server Statistics using Cacti

Bitnami Moodle for Huawei Enterprise Cloud

Notice: Open-LIMS can not run in XAMPP/WAMP/LAMP-environments. You have to setup a web-server, PostgreSQL, PHP and its extensions manually.

WebADM and OpenOTP are trademarks of RCDevs. All further trademarks are the property of their respective owners.

Step 1 - Install Apache and PostgreSQL

Bitnami HHVM for Huawei Enterprise Cloud

3 Installation from sources

Backing Up And Restoring Your Nagios XI System

K-SEARCH TRIAL INSTALLATION MANUAL

VCP-DCV5, OCP (DBA), MCSA, SUSE CLA, RHCSA-7]

Bitnami Dolibarr for Huawei Enterprise Cloud

Configuring Multiple Instances of Railo on Linux

IPv6 Sauron - Quick How To

4 Installation from sources

KVM Virtualization With Enomalism 2 On An Ubuntu 8.10 Server

Massey University Follow Me Printer Setup for Linux systems

SIM Bank Scheduler Server User Manual. (for Version )

Purpose. Target Audience. Install SNMP On The Remote Linux Machine. Nagios XI. Monitoring Linux Using SNMP

How To Start Mysql Using Linux Command Line Client In Ubuntu

Access Control System ACCO NET Installation Manual

ULTEO OPEN VIRTUAL DESKTOP CENTOS 6.0 SUPPORT

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud

Bitnami JRuby for Huawei Enterprise Cloud

Install Cacti on Debian, CentOS, SuSE and Gentoo Linux - Tracking graphically server performance

UWWTD SIIF national toolbox Installation and configuration on a fully open source server with CentOS

How To Start Mysql Use Linux Command Line Client In Ubuntu

Buzztouch Server 2.0 with Amazon EC2

Bitnami Piwik for Huawei Enterprise Cloud

Bitnami MEAN for Huawei Enterprise Cloud

GestióIP IPAM v3.0 IP address management software Installation Guide v0.4

ULTEO OPEN VIRTUAL DESKTOP DEBIAN WHEEZY (7.0) SUPPORT

3 Installation from sources

How To Convert Physical Systems And Xen VMs Into OpenVZ Containers (Debian Etch)

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier.

Bitnami Mantis for Huawei Enterprise Cloud

CentOS 7 with MariaDB

NAPIER UNIVERSITY SCHOOL OF COMPUTING CO32034 J SERVER ADMINISTRATION (JAMES WATT COLLEGE) EXAM PAPER INFORMATION. Answer ALL questions.

Transcription:

By Oliver Meyer Published: 2008-05-25 18:48 Setting Up PHPlist (Open-Source Newsletter Manager) Version 1.0 Author: Oliver Meyer <o [dot] meyer [at] projektfarm [dot] de> Last edited 04/23/2008 This document describes how to set up PHPlist on Fedora, CentOS, Ubuntu and Debian. This howto should also work for other distributions with little modifications. Taken from the phplist page: "phplist is an open-source newsletter manager. phplist is free to download, install and use, and is easy to integrate with any website. phplist is downloaded more than 10 000 times per month and is listed in the top open source projects for vitality score on Freshmeat. phplist is sponsored by tincan." PHPlist has a great many features - please have a look at http://www.phplist.com/details. This howto is a practical guide without any warranty - it doesn't cover the theoretical backgrounds. There are many ways to set up such a system - this is the way I chose. 1 Preliminary Note I asume that you've at least set up a standard LAMP system and a mailserver. If not, you should first take a look at our "Virtual Users And Domains" howtos. Additionally you have to install the PHP imap package ("php-imap" on Fedora/CentOS; "php5-imap" on Debian/Ubuntu). 2 Apache Vhost2.1 Fedora/CentOS We'll create a standard vhost for phplist. vi /etc/httpd/conf.d/vhosts.conf Copyright 2008 All Rights Reserved. HowtoForge Page 1 of 15

It could look like this: NameVirtualHost 192.168.0.100:80 <VirtualHost 192.168.0.100:80> ServerName www.example.com ServerAdmin admin@example.com DocumentRoot /var/www/www/web LogLevel warn ErrorLog logs/www_error.log CustomLog logs/www_access.log combined </VirtualHost> Next create the document root for this vhost. mkdir -p /var/www/www/web/ After that restart the webserver. service httpd restart 2.2 Ubuntu/Debian We'll create a standard vhost for phplist. vi /etc/apache2/sites-available/phplist Copyright 2008 All Rights Reserved. HowtoForge Page 2 of 15

It could look like this: NameVirtualHost 192.168.0.100:80 <VirtualHost 192.168.0.100:80> ServerName www.example.com ServerAdmin admin@example.com DocumentRoot /var/www/www/web LogLevel warn ErrorLog /var/log/apache2/www_error.log CustomLog /var/log/apache2/www_access.log combined </VirtualHost> Next create the document root for this vhost. mkdir -p /var/www/www/web/ After that enable the vhost and restart the webserver. a2ensite phplist /etc/init.d/apache2 restart 3 MySQL User & Database Now we have to create a database for PHPlist... Copyright 2008 All Rights Reserved. HowtoForge Page 3 of 15

mysqladmin -u root -p create phplist... and a user for this database. mysql -u root -p %sql_root_password% GRANT CREATE, ALTER, INDEX, DROP, CREATE TEMPORARY TABLES, SELECT, INSERT, UPDATE, DELETE ON phplist.* TO 'phplist_admin'@'localhost' IDENTIFIED BY '%phplist_admin_password%'; GRANT CREATE, ALTER, INDEX, DROP, CREATE TEMPORARY TABLES, SELECT, INSERT, UPDATE, DELETE ON phplist.* TO 'phplist_admin'@'localhost.localdomain' IDENTIFIED BY '%phplist_admin_password%'; FLUSH PRIVILEGES; quit; 4 PHPlist4.1 Note In step 4.3 you'll need a vaild email address that will be used by PHPlist to catch all bounced mails - in this example I'll use "listbounces@example.com". So create an email address for this special purpose and proceed. 4.2 Get It Please have a look at http://www.phplist.com/download to find out which is the latest stable version - when I was writing this howto it was version 2.10.5. cd /tmp/ Copyright 2008 All Rights Reserved. HowtoForge Page 4 of 15

wget http://mesh.dl.sourceforge.net/sourceforge/phplist/phplist-2.10.5.tgz tar xvfz phplist-2.10.5.tgz cp -R /tmp/phplist-2.10.5/public_html/* /var/www/www/web/ Please note that the main page (e.g.: http://www.example.com) contains a dummy page that redirects to the phplist page - you might want to replace it with your own website. 4.3 Basic Configuration vi /var/www/www/web/lists/config/config.php 4.3.1 Database Settings Adjust the following variables so that they fit to your setup (step 3). E.g.: $database_name = "phplist"; $database_user = "phplist_admin"; $database_password = "howtoforge"; 4.3.2 Bounces Adjust the following variables so that they fit to your setup (step 4.1). E.g.: $message_envelope = "listbounces@example.com"; $bounce_mailbox_user = "listbounces@example.com"; Copyright 2008 All Rights Reserved. HowtoForge Page 5 of 15

$bounce_mailbox_password = "howtoforge"; 4.3.3 Security Adjust the following variable. $check_for_host = 1; 4.3.4 Debug The test-mode is enabled by default which means that no emails will be sent, but the system pretends to do so. You have to disable this later, when you tested your setup: define("test",0); 4.3.5 Other Settings Please have a look at all the other settings. They are well explained - maybe you want to change some settings. 4.4 Installation At this point we're ready for the installation. Open http://%vhost_domain%/lists/admin (e.g.: http://www.example.com/lists/admin) within your preferred browser. Click on "initialise database" to create the needed database structure. Copyright 2008 All Rights Reserved. HowtoForge Page 6 of 15

The database structure is being created. Copyright 2008 All Rights Reserved. HowtoForge Page 7 of 15

At the end of the page click on "phplist setup" to proceed with the setup. Copyright 2008 All Rights Reserved. HowtoForge Page 8 of 15

Log in with the username "admin" and the password "phplist". Copyright 2008 All Rights Reserved. HowtoForge Page 9 of 15

This is the checklist that we have to work off. First we should change the admin password - so click on "go there" next to the corresponding line. Copyright 2008 All Rights Reserved. HowtoForge Page 10 of 15

Enter an email address and choose a new password. Afterwards click on "Save Changes" to apply the settings. Copyright 2008 All Rights Reserved. HowtoForge Page 11 of 15

You'll get a notice that the settings have been saved. Copyright 2008 All Rights Reserved. HowtoForge Page 12 of 15

Now click on "main page" in the menu on the right side and after that on "setup" in the section "System Functions". Copyright 2008 All Rights Reserved. HowtoForge Page 13 of 15

The remaining points of the checklist require individual, extensive configuration. Please have a look at the documentation if you have problems with the configuration and to find out how to use phplist. Copyright 2008 All Rights Reserved. HowtoForge Page 14 of 15

5 Links - PHPlist: http://www.phplist.com/ Copyright 2008 All Rights Reserved. HowtoForge Page 15 of 15