Save the file- Ctrl+O hit Enter, and exit using Ctrl+X.Īctivate new configuration: sudo a2enconf nf # Disallow web access to directories that don't need it sudo nano /etc/apache2/conf-available/nfĬopy Paste the following lines: Alias /phpmyadmin /var/www/html/phpmyadminĪuthUserFile /etc/phpmyadmin/tup Hence, create a configuration file for it. We don’t want to serve the phpMyAdmin user interface on our root domain or IP address, hence, we either use subdomain or subfolder. PhpMyAdmin is a PHP-based SQL database management software, hence we need this scripting language on our Ubuntu system along with some common PHP extensions. Reload privilege tables now? Press Y, then ENTER. Remove test database and access to it? Press Y, then ENTER. Remove anonymous users? Press Y, then ENTER.ĭisallow root login remotely? Press Y, then ENTER. Switch to unix_socket authentication? Press N, then ENTER.Ĭhange the root password? Press Y, then ENTER. Here are the questions it will ask: Enter current password for root (enter for none): Press ENTER. #Set root password phpmyadmin ubuntu installsudo apt install mariadb-server mariadb-clientĮnable and start sudo systemctl enable -now mariadbĪlso, secure your MariaDB installation: sudo mysql_secure_installationĪs you run the above command, it will give a text-based wizard to secure your Database server. Just like apache, it is also available to set up using the default system repository. Next, install the MariaDB server which is a fork of MySQL, and work exactly similar to it. Apache WebserverĪpache is an open-source web server that is available to install directly using Ubuntu’s default repository: sudo apt install apache2Įnable its server: sudo systemctl enable apache2 sudo systemctl restart apache2 Setup MariaDB server Well, for the Linux server, here we are using Ubuntu whereas, the rest we will install in this step. #Set root password phpmyadmin ubuntu softwareWe need LAMP Stack which refers to a software bundle comprised of Apache, MySQL/MariaDB, and PHP installed on a Linux server. #Set root password phpmyadmin ubuntu how toLet’s learn how to install phpMyAdmin on Ubuntu 22.04 Server, however, the steps are given here will also be the same for other versions of this Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |