How To Install WordPress with OpenLiteSpeed on Ubuntu 18.04




Geniuswp show

Summary: IntroductionWordPress is an open-source content management system (CMS). The most popular CMS in the world, WordPress allows you to set up blogs and websites on top of a MySQL database backend, using PHP to execute scripts and process dynamic content.OpenLiteSpeed is an optimized open-source web server that you can use to manage and serve websites. OpenLiteSpeed has some useful features that make it a solid choice for many installations: Apache-compatible rewrite rules, a built-in web-based administration interface, and customized PHP processing optimized for the server.This guide will walk through the process of installing and setting up a WordPress instance on Ubuntu 18.04 using the OpenLiteSpeed web server. Because both WordPress and OpenLiteSpeed can be administered through a web browser, this configuration is ideal for those who do not have regular access to an SSH session or those who may not feel comfortable managing a web server via the command line.PrerequisitesBefore you begin this guide, you will need the following:One server running Ubuntu 18.04 with an administrative, non-root user and a firewall configured using ufw. To set up this environment, follow our Initial Server Setup for Ubuntu 18.04 tutorial.OpenLiteSpeed installed on your server. See our guide on How To Install the OpenLiteSpeed Web Server on Ubuntu 18.04 for instructions on installing and configuring OpenLiteSpeed.MySQL installed on your server. Follow our How To Install MySQL on Ubuntu 18.04 tutorial to set this up.Step 1 — Creating a Database and Database User for WordPressWordPress uses MySQL to manage and store site and user information. You already have MySQL installed, but as a preparatory step you need to make a database and a user for WordPress to use.To get started, connect to your server using SSH:ssh sammy@your_server_IPThen log in to the root MySQL account:sudo mysqlNote: If you completed Step 3 in the prerequisite MySQL tutorial and configured your root MySQL user to authenticate with the mysql_native_password plugin, you’ll need to log in with the following command:mysql -u root -pThen enter your root user’s password when prompted.From the MySQL prompt, create a database with the following command. Here, we will name this database wordpress to keep things simple, but you can name it whatever you’d like:CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;Then, create a user and grant it privileges over the database you just created. Again, you can give this user any name, but for simplicity we will name it wordpressuser. Also, be sure to change password to a strong password of your own choosing:GRANT... You are listening to the topic about "How To Install WordPress with OpenLiteSpeed on Ubuntu 18.04", if you want to read the full article, please visit https://geniuswp.com or the link in the description.