domaingre.blogg.se

Install lamp debian
Install lamp debian








Install PHP by specifying your package version in the apt install php7.4 php7.4-mysql OS CentOS OS DebianĬheck which version of php is available for your operating system with the command: The following commands install the basic PHP extensions and a module for Apache. Then change the password using the /usr/bin/mysqladmin -u root password 'mynewpassword' PHP When the installation is complete, start MySQL and add it to startup with the systemctl start mysql & systemctl enable mysql To install a MySQL database server, use the following yum install mariadb mariadb-server Use complex passwords that contain upper and lower case letters, numbers and special characters. To install a MySQL database server, use the following apt install mysql-server mysql-clientĭuring installation, you must enter the access password for the root user of the MySQL server. These directive values should be set as necessary. If the following lines are not present in the file, add them: To update the version of Apache ITK, enable the HTTPD=/usr/sbin/k line by removing the comment mark. Next, open /etc/sysconfig/httpd for editing and enable the HTTPD=/usr/sbin/httpd.worker line by removing the comment mark. To update the version of Apache Worker, use the following command to stop the webserver:

install lamp debian install lamp debian

Install Apache Prefork using the following yum install httpd

install lamp debian

Install Apache Worker using the apt install apache2-mpm-workerįor Apache ITK, use the following apt install apache2-mpm-itk OS CentOS Install Apache Prefork using the following apt install apache2 Before installing the software, update the information in the repositories using the following apt update - for OS yum makecache - for OS CentOSĪfter the updates are completed, continue with the installation of the needed software.










Install lamp debian