![]() ![]() This script will set the MariaDB root password, disable remote root login and remove anonymous users as shown below: Enter current password for root (enter for none): When the installation is complete, run the following command to secure your installation: mysql_secure_installation To install the MariaDB database server, enter the following command: sudo apt install -y mariadb-server mariadb-client Secure your installation Once all the packages are installed, we will need to edit the php.ini file and modify some settings: memory_limit = 512Mĭate.timezone = America/Chicago Step 3: Install MariaDB ![]() With Zend OPcache v7.4.3, Copyright (c), by Zend Technologies Zend Engine v3.4.0, Copyright (c) Zend Technologies You should get the following output on your screen: PHP 7.4.3 (cli) (built: 05:39:12) ( NTS ) ![]() To verify that PHP is successfully installed, run the following command: php -v You will install PHP and other supporting packages by running the following command: sudo apt install php php-common libapache2-mod-php php-cli php-fpm php-mysql php-json php-opcache php-gmp php-curl php-intl php-mbstring php-xmlrpc php-gd php-xml php-zip Since Joomla is built on PHP, you will need to install PHP as well. To verify that Apache is running, execute the following command: sudo systemctl status apache2 You can install it from the official Ubuntu repositories running the following command: sudo apt install apache2Īfter installing Apache, the commands below can be used to stop, start and enable Apache services to always start up every time your server starts up. Apache is a fast and secure web server and one of the most popular and widely used web servers in the world. Sudo apt-get upgrade Step 2: Install Apache web server and PHP Once logged in, make sure that your server is up-to-date by running the following commands: sudo apt-get update To connect to your server via SSH as user root, use the following command: ssh _ADDRESS -p PORT_NUMBERĪnd replace “IP_ADDRESS” and “PORT_NUMBER” with your actual server IP address and SSH port number. ![]() – Administrative sudo user with root privileges Step 1: Connect to your Server It should work everywhere but we will do this on one of our Joomla hosting servers. In this tutorial, we will show you how to install Joomla 4.0 on Ubuntu 20.04 server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |