October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Install Pligg CMS on an Ubuntu VPS

A command-oriented guide to installing Pligg CMS, now known as Kliqqi, on an Ubuntu VPS: build the LAMP stack, create a dedicated database, prepare files, run the installer, harden permissions and upgrade safely.
Length11 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Pligg is the legacy name most administrators remember for the open-source news and user-feedback CMS now maintained in the Kliqqi project. The project identifies itself as “Kliqqi formerly known as Pligg CMS.” You can still deploy it on an Ubuntu VPS, but treat the installation as a compatibility project: the release page shows version 2.0.2 as the newest listed release, while the commonly copied VPS tutorial targets 2.0.1 and does not establish a current Ubuntu or PHP support matrix.

The safest approach is to build a disposable staging VPS first, install a conventional Apache, MySQL-compatible database and PHP stack, run the browser installer, and only then decide whether the exact Ubuntu/PHP combination is suitable for production. The procedure below keeps the application’s writable paths limited, removes the installer after setup, and gives you a rollback-conscious upgrade path.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What you need before installing

Plan the deployment as four layers: an Ubuntu server, a web server, a database service and the PHP runtime that connects them. The Pligg-specific instructions assume a LAMP server, while Ubuntu’s PHP documentation separates the roles of Apache, PHP, the Apache PHP module and the MySQL PHP extension.

Server and access requirements

  • An Ubuntu VPS image with SSH access and enough disk space for the operating system, web files, uploaded avatars, logs and database backups.
  • A non-root administrative account with sudo. Use root only for initial account and system administration, not for routine web work.
  • A firewall allowing SSH and web traffic, plus a backup destination that is independent of the VPS.
  • A DNS name if the site will be public. You can complete the installer with an IP address, but a stable hostname makes later HTTPS and cookie configuration easier.

Choose a release deliberately

The Kliqqi release page currently displays 2.0.2 as the latest release shown. Its notes mention a security fix, Bootstrap 3.2.0 and FontAwesome 4.1.0 updates; the captured page gives a release date of 16 August without exposing a year. A historical VPS guide downloads 2.0.1. Do not copy that old version number automatically: select the release artifact you intend to run, record its filename, and test it against the PHP version supplied by your Ubuntu image.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

No authoritative support table for current Ubuntu and PHP combinations is established by the project material. A successful package installation therefore does not prove that every Pligg function will work. Keep the first installation on staging, test registration, submission, voting, comments, uploads, administration and upgrades, and take a database snapshot before exposing the site.

1. Provision and secure the Ubuntu VPS

Create an administrator and update the system

Log in over SSH using the provider’s initial account, create a named administrator, and grant it administrative privileges. Then update the package index and installed packages before adding the web stack.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo apt update
sudo apt upgrade

Reboot if the upgrade requests it, reconnect with the non-root account, and confirm the server’s hostname and time zone. Keep SSH authentication, firewall rules and backups under your control; the CMS installer should never be your only recovery mechanism.

Enable only the network services you need

Permit SSH from your administration network where practical, and permit HTTP and HTTPS for the eventual site. Do not expose the database port to the public internet when Apache and the database run on the same VPS. Apply your provider’s firewall as well as the host firewall if both are available.

2. Install Apache, MySQL-compatible database software and PHP

Install Apache, the database server, PHP, the Apache PHP module and the MySQL PHP extension. Ubuntu documents php with libapache2-mod-php, and identifies php-mysql as the connector Pligg needs. Add the command-line package when you want PHP diagnostics from SSH.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
sudo apt install apache2 mysql-server php libapache2-mod-php php-mysql php-cli unzip

The exact database package can vary by Ubuntu release; use the supported MySQL-compatible server supplied for that image. Verify that Apache is running, then create a temporary PHP test page in the document root containing <?php phpinfo(); ?>. Open it only from a restricted location, confirm the PHP module is loaded, and remove the test page immediately. A public PHP information page discloses unnecessary server details.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not infer Pligg compatibility from the PHP version alone. If the installer fails or the application emits deprecation or fatal errors, stop and test another supported Ubuntu/PHP combination in staging rather than suppressing errors on a production site.

3. Create a dedicated database and account

Give Pligg its own database and database user. A dedicated account limits the damage from a compromised application and makes backup and migration boundaries clear. Use a long, unique password and retain the host, database name, username and password for the browser installer.

sudo mysql
CREATE DATABASE pligg;
CREATE USER 'pligg_user'@'localhost' IDENTIFIED BY 'use-a-long-unique-password';
GRANT ALL PRIVILEGES ON pligg.* TO 'pligg_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

The account needs full rights inside the Pligg database so the installer can create its tables, but it does not need privileges on unrelated databases or remote hosts. If you use a different database name or user, write those exact values down; the installer is case-sensitive about credentials and hostnames.

4. Download and stage the Pligg files

Use the project release artifact

Download the chosen release from the Kliqqi project source rather than an unknown mirror. The old VPS procedure uses 2.0.1, while the release page lists 2.0.2, so verify the intended version before extracting it. Keep the original archive until the site has been tested and backed up.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
cd /tmp
wget 'PROJECT_RELEASE_URL'
unzip 'RELEASE_ARCHIVE.zip'
sudo mkdir -p /var/www/pligg
sudo cp -a 'EXTRACTED_DIRECTORY'/. /var/www/pligg/

Replace the archive and directory names with the actual artifact you selected. Do not publish a guessed download URL or silently substitute a third-party package. If the release is supplied in another archive format, use the matching extraction tool and inspect the resulting directory before copying it into Apache’s document root.

Prepare the default files

The repository ships several files with a .default suffix. Rename the copies before opening the installer:

cd /var/www/pligg
sudo mv favicon.ico.default favicon.ico
sudo mv settings.php.default settings.php
sudo mv 'languages/SELECTED_LANGUAGE_FILE.default' 'languages/SELECTED_LANGUAGE_FILE'
sudo mv libs/dbconnect.php.default libs/dbconnect.php
sudo mv logs.default logs

For the language file, use the exact language filename present in the release; the project’s instruction is to remove the .default suffix from the language you intend to activate. Do not rename every language file unless you have a reason to do so.

5. Configure Apache and file ownership

Point a virtual host at the application

Set the Apache document root to the directory containing Pligg’s index.php. A minimal virtual host can use /var/www/pligg as its document root and your DNS name as ServerName. Enable the site, test the Apache configuration, and reload Apache before launching the installer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo apache2ctl configtest
sudo systemctl reload apache2

If you already host another site, use a separate virtual host and confirm that the request is not landing in the wrong document root. A 404 at /install/index.php is often a path or virtual-host error rather than a database problem.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Give the web process only the writes it needs

The project identifies these locations as writable or operationally important during setup: admin/backup/, avatar-upload directories, cache/, languages/, logs/, libs/dbconnect.php and settings.php. The installer may need temporary write access to them. Grant ownership or group write access to the Apache service account only where required; do not make the entire tree world-writable.

After copying the files, inspect ownership and permissions, test the installer, and then remove write access that is no longer necessary. In particular, configuration files should not remain writable by every local user. The repository’s documented post-install state sets libs/dbconnect.php to mode 644.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

6. Run the browser installer

Open the installer

Visit https://your-hostname/install/index.php once HTTPS is configured, or use the temporary HTTP address during a protected staging setup. Choose a language, then follow the installer’s checks and stop at the first reported error. The installer is the authority for the table prefix and any release-specific options; do not guess those values from another version.

  1. Select the language whose file you prepared in the previous step.
  2. Enter the database host, database name, database user and password created for this installation. For a database on the same VPS, the host is commonly localhost, but use the value your database configuration requires.
  3. Choose a table prefix if the installer requests one. Keep it short, document it, and do not reuse a prefix from an unrelated application in the same database.
  4. Create the first administrator account with a unique password. Do not reuse the VPS, SSH or database password.
  5. Submit the form and read every result. If a file, directory or database check fails, fix that condition and rerun the check before continuing.

What to do when the installer reports an error

  • Database connection failure: recheck the host, database name, username and password; confirm the account is allowed from the host shown in the error; and verify that the database service is running.
  • Cannot write a file or directory: compare the failing path with the writable locations listed by the project, correct ownership for the Apache account, and avoid solving the problem with unrestricted 777 permissions.
  • Blank page or PHP fatal error: inspect Apache and PHP logs, confirm the required PHP extensions are loaded, and test a different Ubuntu/PHP combination in staging. Do not hide the error and proceed blindly.
  • Installer URL returns 404: check the virtual host’s document root, the extracted directory nesting and the exact case of install/index.php.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

7. Remove the installer and harden the finished site

Once the installer completes, delete the install directory. Leaving it accessible gives an attacker an unnecessary setup and upgrade surface. Set libs/dbconnect.php to mode 644 as the project documentation specifies, review settings.php, and reduce write permissions on configuration and application directories to the minimum needed for normal operation.

sudo rm -rf /var/www/pligg/install
sudo chmod 644 /var/www/pligg/libs/dbconnect.php

Open /index.php, submit a test story, vote, add a comment if enabled, upload an avatar, and log in through /admin. Check that the cache and log paths work without making the whole application writable. Configure the site name, language, moderation rules, email settings and modules only after the basic request, login and database paths are reliable.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Add HTTPS and operational protection

Put the public site behind HTTPS before collecting passwords or user submissions. Redirect plain HTTP after verifying the certificate, and ensure cookies and administrator sessions are protected by the application and web-server settings available on your chosen Ubuntu release. Schedule database and file backups, monitor disk usage, and test restoring a backup on a separate staging VPS; a backup that has never been restored is only an assumption.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Manual VPS or managed VPS?

The application files are the same, but the operational responsibility differs. Choose based on who will maintain the server rather than on a promised Pligg feature.

Decision area Self-managed Ubuntu VPS Managed Ubuntu VPS
Ubuntu and PHP support You select the image, package versions and upgrade timing, then test Pligg compatibility yourself. The host may maintain the operating system, but you still need confirmation that its supported PHP versions run your chosen release.
SSH and root controls You configure accounts, keys, firewall rules and privilege boundaries. The provider may handle system administration while you retain application-level access; verify exactly what you can change.
Database administration You create users, tune the service, patch it and perform backups. Some tasks may be assisted, but database ownership, export format and restore procedure must be documented.
HTTPS certificates You install, renew and test certificates and web-server redirects. Certificate automation may be included, but confirm renewal behavior and where keys are stored.
Backups and restore You schedule, encrypt and periodically restore database and file backups. Ask what is backed up, how long it is retained, whether restores are charged, and whether you can download a copy.
Permissions and rollback You control Apache ownership, writable paths and release rollbacks. Confirm that support staff can help recover files without overwriting avatars/, configuration or custom templates.
Monitoring You watch logs, disk, memory, database health and failed logins. Check whether monitoring covers the VPS only or also Apache, PHP and the Pligg application.

8. Upgrade Pligg without losing data

Do not replace files on a live site until you have a tested backup and a rollback plan. The repository’s upgrade procedure calls for preserving user uploads and configuration, uploading the new release, running the upgrade script, and removing the installer again.

  1. Put the site in a maintenance state if your deployment allows it, and record the currently installed release.
  2. Back up the MySQL database and the complete site directory. Verify that the database dump can be read and that the archive contains uploaded files.
  3. Preserve avatars/, libs/dbconnect.php, favicon.ico and settings.php. Also preserve any custom templates or modules you installed.
  4. Extract the new release in a separate staging directory, compare its configuration and directory layout, then copy the application files into the document root without overwriting the preserved files.
  5. Open /install/upgrade.php and follow its checks. Fix reported permission or database errors before submitting the upgrade.
  6. Delete /install after the upgrade and return libs/dbconnect.php to mode 644.
  7. Re-enable modules one at a time and test template compatibility, registration, submissions, voting, comments, uploads and administrator pages.
  8. If a migration fails, restore the database and files from the backup rather than attempting ad-hoc SQL changes on production.

Production-readiness checklist

  • Ubuntu is patched, SSH uses a non-root administrator, and firewall rules expose only required services.
  • Apache, the database service, PHP, libapache2-mod-php and php-mysql are installed and running.
  • The selected Pligg/Kliqqi release is recorded; 2.0.2 is the latest version displayed by the cited release page, but its current Ubuntu/PHP support is not documented there.
  • A dedicated database and least-privilege application user have been created with a unique password.
  • Default files have been renamed, the correct language file is active, and Apache serves the directory containing index.php.
  • Only the project’s required cache, log, upload and setup paths are writable by the web process.
  • The browser installer completed without warnings, and the install directory has been removed.
  • libs/dbconnect.php is mode 644, configuration files are not globally writable, and HTTPS protects sign-in and submissions.
  • Database and file backups have been taken and a restore has been tested on staging.
  • An upgrade procedure preserves avatars/, configuration, custom modules and templates before running /install/upgrade.php.

Common reasons to stop before going live

Stop the deployment if the only way to pass the installer is to make the whole document root writable, if PHP errors are being hidden, if you cannot restore the database backup, or if the release behaves differently on your production PHP version than it did in staging. Pligg’s legacy lineage and the absence of a current official Ubuntu/PHP matrix make controlled testing more important than copying an old command sequence verbatim.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.