How to Install phpList on Fedora Server Latest
phpList is an open source software that enables users to send email campaigns, newsletters, and marketing communication to a large number of subscribers. In this tutorial, we will outline the steps required to install phpList on Fedora Server Latest.
Step 1: Update the System
Run the following command to update Fedora Server:
sudo dnf update -y
Step 2: Install Required Packages
Install the required packages using the following command:
sudo dnf install apache mariadb mariadb-server php php-mysqlnd php-xml php-mbstring -y
Step 3: Start the MariaDB Service
Start the MariaDB service using the following command:
sudo systemctl start mariadb.service
Add MariaDB to the startup using the following command:
sudo systemctl enable mariadb.service
Step 4: Secure the MariaDB Installation
Secure the MariaDB installation by running the following command:
sudo mysql_secure_installation
Step 5: Create a phpList Database and User
Log in to MariaDB shell using the following command:
sudo mysql -u root -p
Once logged in, create a new database using the following command:
CREATE DATABASE phplist;
Next, create a new user and grant permissions using the following commands:
CREATE USER 'phpuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON phplist.* TO 'phpuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Replace 'password' with a strong password of your choice.
Step 6: Download and Install phpList
Download the latest version of phpList from the official website or use the following command to download it from the command line:
cd /var/www/html/
sudo wget https://phplist.org/latest.zip
Unzip the downloaded file using the following command:
sudo unzip latest.zip
Rename the extracted folder to 'phplist' using the following command:
sudo mv phplist-*/ phplist/
Fix permissions to ensure apache can write to the correct directories:
sudo chown -R apache:apache /var/www/html/phplist
Step 7: Configure phpList
Access phpList by browsing to: http://
- Database configuration:
- Database server: localhost
- Database name: phplist
- Database user: phpuser
- Database password: enter the password created earlier
- Administrator login details
- Default list details
Step 8: Test phpList
Once the installation is complete, you can test phpList by creating a new subscriber and sending a test message.
Congratulations! You have successfully installed phpList on Fedora Server Latest.