Confirm all further questions (deleting the anonymous user, disabling the external root login for security reasons, removing the test database and updating the privileges/permissions) also with enter. There are no characters displayed during input, but this is normal. Now you have to set a password for the MariaDB root user. Confirm the next question concerning the change of the root password with enter as well. At the first question regarding the current password, you don't have to type in anything, just press enter. Now enter the command mysql_secure_installation to complete the configuration of your MariaDB server.Then complete the configuration of the MariaDB server:.Now you need to install the MariaDB server and the client (MySQL) with the command apt install mariadb-server mariadb-client -y.The command for this is: apt install php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xsl php7.4-zip php7.4-bz2 libapache2-mod-php7.4 -y Install PHP 7.4 and some important PHP modules.Install the Apache2 web server and other required packages with the following command: apt install apache2 -y.Now update your package lists again with the command apt update.Add the repository by executing the command add-apt-repository ppa:ondrej/php and pressing enter.Install the package for managing repositories using the following command: apt install software-properties-common -y.Add the repository by executing the command echo "deb $(lsb_release -sc) main" > /etc/apt//php.list.Use the command curl -fsSL -o /usr/share/keyrings/php-archive-keyring.gpg to add the key needed for the PHP repository.Add the repository needed to install PHP 7.4:.Next, install the packages needed for future installations in this tutorial by executing the following command: apt install ca-certificates apt-transport-https lsb-release gnupg curl nano unzip -y.Now install any available updates of the packages already installed on your server using the command apt upgrade -y.Update your package lists with the command apt update.To do this, open PuTTY and enter the domain or IP address of your server in the text box named "Host Name (or IP address)". Connect to your root server or VPS/vServer via SSH using PuTTY.If you havn't already done so, download the program " PuTTY".Are you looking for very good, powerful and cheap servers? I've been renting my servers at Contabo for more than 10 years and I can highly recommend Contabo to everyone!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |