Monday, August 3, 2020

Configure digitalocean Ubuntu Server 18 | configure web server in digitalocean



Create a Droplet.
Login to the server via Putty
Run below comments 

    1  apt-get update

    2  apt-get upgrade

    3  apt-get install apache2

    4  apt-get install mysql-server

    5  mysql_secure_installation

    6  systemctl restart apache2

    7  systemctl restart mysql

    8  apt install php libapache2-mod-php php-mysql

    9  apt install php-curl

   10  apt install php-gd

   11  apt install php-mbcrypt

   12  apt install php-crypt

   13  apt install php-mbstring

   14  apt install php-cli

   15  systemctl restart apache2

   16  a2enmod headers

   17  a2enmod rewrite




No comments:

Post a Comment