![]() In addition to the php package, you’ll need php-mysql, a PHP module that allows PHP to communicate with MySQL-based databases. Mysql> exit Step 3: Install PHP on Linux (Ubuntu) This means your MySQL installation is done successfully Type '\c' to clear the current input statement. Other names may be trademarks of their respective Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Commands end with or \g.Ĭopyright (c) 2000, 2022, Oracle and/or its affiliates. This will output as: Welcome to the MySQL monitor. When finished, test whether you’re able to log in to the MySQL console by $ sudo mysql ![]() It will prompt you to confirm, type the Y, and press Enter, it will start to install the MySQL server on your machine. To install MySQL, type the command $ sudo apt install mysql-server You will see the default apache page in the browser, if not then you need to debug your installation. Now check the status of the installed apache visit the default apache page by typing the server IP in the browser You can type in the command below, for this tutorial we will allow only traffic on port 80 ie HTTP / non-encrypted traffic $ sudo ufw allow in "Apache"Ĭheck the status to verify the changes: $ sudo ufw status
0 Comments
Leave a Reply. |