With Zend OPcache v8.1.5, Copyright (c), by Zend Technologies Step 8: Configure PHP Zend Engine v4.1.5, Copyright (c) Zend Technologies Once PHP is installed you can check the version using the following command. Sudo apt install php8.1-fpm php8.1 libapache2-mod-php8.1 php8.1-common php8.1-mysql php8.1-xml php8.1-xmlrpc php8.1-curl php8.1-gd php8.1-imagick php8.1-cli php8.1-imap php8.1-mbstring php8.1-opcache php8.1-soap php8.1-zip php8.1-intl php8.1-bcmath unzip -y So you can install PHP using the following command. You should answer y to all questions.īy default Ubuntu 22.04 has the latest PHP 8.1 repository added. Next, you’ll be asked to remove the anonymous user, restrict root user access to the local machine, remove the test database, and reload privilege tables. If you set up the validate password plugin, the script will show you the strength of your new password. On the next prompt, you will be asked to set a password for the MySQL root user. There are three levels of password validation policy, low, medium, and strong. Press y if you want to set up the validate password plugin or any other key to move to the next step. You will be asked to configure the VALIDATE PASSWORD PLUGIN which is used to test the strength of the MySQL users passwords and improve the security. MySQL installation comes with a script named mysql_secure_installation that allows you to easily improve the MySQL server security. Mysql Ver 8.0.28-0ubuntu4 for Linux on x86_64 ((Ubuntu)) Step 6: Secure MySQL Process: 13836 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, statu>Ĭheck MySQl version using the below command. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 00:38:45 UTC 11s ago The output should show that the service is enabled and running: To verify that the MySQL server is running, type: Once the installation is completed, the MySQL service will start automatically. In Ubuntu 22.04 MySQL 8 is included by default in the Jammy Jellyfish repositories, so you can install it easily using the apt install command. Now we have Apache installed and configured Firewall. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 00:34:49 UTC 2min 52s ago Check the status of Apache with the following command. OpenSSH (v6) ALLOW Anywhere (v6) Step: 4 Check Apache InstallationĪs we have installed Apache in step 2 it should be started automatically and already be up and running.Ĭheck Apache version using the below commandĮvery process in Apache is managed with the systemctl command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |