Root user without the proper authorisation.īy default, a MariaDB installation has an anonymous user, allowing anyone Setting the root password ensures that nobody can log into the MariaDB OK, successfully used password, moving on… You haven’t set the root password yet, the password will be blank,Įnter current password for root (enter for none): In order to log into MariaDB to secure it, we’ll need the current Since we need to tough the security loopholes let’s make MySQL more secure… sudo mysql_secure_installation Install MariaDB sudo apt-get install mariadb-client mariadb-server Now you will see that its value is set to 1 by default like this cgi.fix_pathinfo=1, so change its value to 0 like this: cgi.fix_pathinfo=0 and save it via Ctrl+O. Use Ctrl+W to activate the search function in nano editor. Now find “ cgi.fix_pathinfo” without quotation mark. In our case, we are using my favorite editor nano. We can use any text editor like nano or vim. Now here we need to secure the PHP7.0 since it has a small loop for hackers (don’t be panic) by default for which we need to edit PHP.ini file. Update the Server for Security Patches sudo apt-get update Install NGINX sudo apt-get install nginx Install PHP7 sudo apt-get install php7.0-fpm php7.0-cli php7.0-common php7.0-curl php7.0-gd php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-xml php7.0-xmlrpc php7.0-zip I personally like DigitalOcean as it is best and leading cloud hosting company based on Fast SSD hard drive which makes things get processed super fast. Let’s set up a VPS or Dedicated machine which is running on Ubuntu 16.04 LTS, I will suggest LTS only because they have a long-term support and stable enough to secure your machine. Postfix (Basic: Needed for contact forms to work).PHPMyAdmin (For easy database access and management). Here is a quick list of what we are going to use… We will use MariaDB in replacement of MySQL for database uses and will also install Postfix service to basic internal contact form support. Here is this article we are going to see how we can install WordPress on NGINX with latest and super fast PHP7 with PHPMyAdmin on Ubuntu 16.04 which is the newest Debian/Ubuntu distribution as of now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |