![]() MariaDB > CREATE USER IDENTIFIED BY 'password' Provide your root password when prompt then create a database and user with the following command: MariaDB > CREATE DATABASE mediadb To do so, log in to MariaDB shell with the following command: mysql -u root -p Next, you will need to create a database and user for Mediawiki. Then, start Apache and MariaDB service and enable them to start on system reboot with the following command: sudo systemctl start apache2 Once all the packages are installed, open php.ini file and tweak some settings: sudo nano /etc/php/7.3/apache2/php.ini You can install all of them by running the following command: sudo apt-get install apache2 mariadb-server php7.3 libapache2-mod-php7.3 php7.3-common php7.3-mbstring php7.3-xmlrpc php7.3-soap php7.3-gd php7.3-xml php7.3-intl php7.3-mysql php7.3-cli php7.3-zip php7.3-curl unzip wget -y Install LAMP Serverįirst, you will need to install Apache web server, MariaDB database server, PHP and other required PHP extensions on your server. Once all the packages are updated, restart your system to apply all the configuration changes. You can update them using the following command: sudo apt-get update -y Update The Systemįirst, it is recommended to update your system packages to the latest version. When you have an account available, log in as your non-root user to begin. To follow this guide, you'll need a fresh installed Ubuntu 18.04 server, a regular, non-root user with sudo permission, enable a basic firewall to block non-essential ports, 1GB of memory and a valid domain name is pointed to your server IP address. In this tutorial, we will learn how to install Mediawiki on Debian 10 server. Mediawiki provides a rich set of features like, multi-language support, user management, sharing and formation, and much more. Mediawiki can be used by many companies to develop and manage their wiki pages such as, Wikipedia, Wiktionary and Wikimedia Commons. Mediawiki is an open-source wiki application written in the PHP language.
0 Comments
Leave a Reply. |