![]() Download & Config WordPress:ĭownload the latest wordpress from its official website: cd & wget ĭecompress the package: tar -xzvf Now, go to in your client’s browser and type in root and the password you set when MySQL was installed to login. Once installed, run commands below to get it working: sudo sh -c 'echo "Include /etc/phpmyadmin/nf" > /etc/apache2/nf' & sudo service apache2 restart Install Phpmyadmin: sudo apt-get install phpmyadminĬhoose apache2 webserver during the installing process and say NO to “Configure database for phpmyadmin with dbconfig-common?” If you’ve installed LEMP and want to use PhpMyadmin to manage database, click the link in the top of this tutorial.ġ. ![]() Step 6 – Refresh MySQL: FLUSH PRIVILEGES įor LAMP (Apache2, Mysql, Php, Ubuntu Linux): Step 5 – Grant all privileges to the new user: GRANT ALL PRIVILEGES ON wordpress_db.* TO IDENTIFIED BY ' 12345678' Step 3 – Create a new user named ubuntuhandbook: CREATE USER 4 – Set a password for this user: SET PASSWORD FOR PASSWORD(" 12345678") Step 2 – Create database, here I named it wordpress_db: CREATE DATABASE wordpress_db Step 1 – Run command in Ubuntu Server to log into MySQL Shell with MySQL root password: mysql -u root -p ![]() Setup Mysql Database for WordPressįor LEMP (Ubuntu, Nginx, Mysql, Php) without phpmyadmin installed:ĭatabase name: wordpress_db user name: ubuntuhandbook password: 12345678 Change them in the code below. In the steps below the lines that the user needs to enter or customize will be in red in this tutorial! 1. Already installed LEMP or LAMP on your Ubuntu server? Well, now it’s time to install wordpress CMS and get your site running!Īs you may know, wordPress is a popular blogging tool and a content management system (CMS) based on PHP and MySQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |