One minute
Wordpress Manjaro
-
sudo mysql_install_db : when “Can’t open and lock privilege tables: Table ‘mysql.servers’ doesn’t exist” occurs.
-
Install apache, mariadb, phpmyadmin, mysql and everything
-
Starting apache server:
sudo systemctl enable httpd.service sudo systemctl start httpd.service- Also can check status as well.
-
After installing mariadb: run
mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql sudo systemctl restart mariadb.service -
Create wordpress database and user using mysql shell rather than phpmyadmin
su mysql -u root -p -
In mysql shell: [ Change strong_password first ]
CREATE DATABASE wordpress; GRANT ALL PRIVILEGES ON wordpress.* TO "wp-user"@"localhost" IDENTIFIED BY "strong_password"; FLUSH PRIVILEGES; exit; -
Go to /etc/httpd/conf/httpd.conf
- Search for <Ifmodule dir_module> and add index.php along with index.html there.
-
If size limit errors:
- Install a size increasing plugin available on wordpress. It works fine. I tried changing it in php.ini file and wp-config.php file but could not so I think you just go to the plugin rather than wasting time here and there.
-
Note:
- If you have backups using All in one wp module , then there is a tool named traktor which can extract .wpress files directly and you can upload it to ftp then.
Read other post