

Open /etc/nginx/nf file on your favorite text editor and change worker_processes values according your CPU count. Need to make lots of changes on your Nginx default config file to make it Nginx work properly. $ sudo nano /etc/php/7.0/fpm/pool.d/www.conf $ sudo nano /etc/php5/fpm/pool.d/www.conf So we need to change the listening settings on /etc/php5/fpm/pool.d/From listen = /var/run/php5-fpm.sock & listen = /run/php/ to listen = 127.0.0.1:9000 to listen TCP. īy default PHP-FPM listens the socket on fpm.sock and its not effective one.

open php.ini file on your favorite text editor and find cgi.fix_pathinfo= then uncomment it and change from 1 to 0. We need to make small changes on php.ini file to make it work php-fpm properly.
#Phpmyadmin mariadb install
$ sudo apt-get install php7.0 php7.0-fpm php7.0-mysql php7.0-mbstring php7.0-common php7.0-gd php7.0-mcrypt php-gettext php7.0-curl php7.0-cli php7.0-xml $ sudo apt-get install php5 php5-fpm php5-mysql php5-cli php5-curl php5-gd php5-mcrypt It is used for server-side scripting language as well as general-purpose programming language.
#Phpmyadmin mariadb software
PHP is a open source software which is designed for web development purpose. PHP initially called Personal Home Page, now it is called asHypertext Preprocessor. Use the below command to install PHP-FPM & PHP modules. Removing privileges on test database.Īll done! If you've completed all of the above steps, your MariaDB OK, successfully used password, moving on.
#Phpmyadmin mariadb password
Įnter current password for root (enter for none): Enter Your Current Password While installing MariaDB server, it will ask you to set root password for MariaDB.īy default Ubuntu based systems will ask for MariaDB password while perform the installation and We need to run mysql_secure_installation command to adjust other settings to make more secure such as removing anonymous users, Disallow root login remotely, Remove test database and access & Reload privilege tables. $ sudo add-apt-repository 'deb '$(lsb_release -cs)' main' $ sudo apt-key adv -recv-keys -keyserver hkp://:80 0xcbcb082a1bb943db $ sudo apt-get install software-properties-common So, i’m going to add MariaDB repo to our system. By default all the distribution included MariaDB 5.x to own repository, if you want to install, simply you can run apt-get install mariadb-server and i want to install MariaDB 10.x Which is not included in distribution repository. MariaDB is open source relational database management system (RDBMS) which is supporting database access.

MariaDB is a drop-in replacement for MySQL. Open your web browser and navigate to or or 3) MariaDB installation $ sudo sh -c "echo 'deb-src `lsb_release -cs` nginx' > /etc/apt/sources.list" $ sudo sh -c "echo 'deb `lsb_release -cs` nginx' > /etc/apt/sources.list" Using below commands.īy default you will get Nginx older version from Ubuntu repository (except 16.04 LTS) but current stable version is Nginx 1.9.1, So you need to add Nginx Repository to get latest stable version of Nginx on your system. Then recheck once, if anything still available. $ sudo rm -Rf /usr/sbin/apache2 /usr/lib/apache2 /etc/apache2 /usr/share/apache2 /usr/share/man/man8/apache2.8.gz $ sudo apt-get purge apache2* php5* mysql* phpmyadmin* Use the below single command to purge everything. If you are planning to install NGINX, I advise you to remove your existing LEMP stack completely to avoid conflicts. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. The big companies like (WordPress, facebook, GitHub & cloudflare, etc.) using nginx. Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.Ĭurrently 146 million websites use NGINX to deliver super-fast web experiences. NGINX stands for engine-x is a free, open-source, high-performance HTTP server and reverse proxy, as well as an mail (IMAP/POP3) proxy server. LEMP is bunch of open source software which is developed by different organization. LEMP stack stands for Linux, Nginx, MySQL, MariaDB, MongoDB, PHP, Perl, Python & phpMyAdmin.
