Thanks for answering, now searching a lot about this theme I learned a lot and spent a lot of time too
In fact, as a beginner in WordPress, I misjudged a wordpress.org and wordpress.com websites... Not knowing the wordpress.org needs LAMP to run, sent me in some kind of confusion...
Ok, so yes task-lamp is what you need first up. That will install apache, mariadb and php as needed for the lamp stack (that means that there is a functioning webserver running, and almost any web app you install will work). so either install task-lamp from MCC or from the terminal (you'll need to be root user, then just enter 'urmpi task-lamp').
I did this, and now I have my apache server working! Now I remembered one day I read something about XAMP (but it's for windows). I found strange the name LAMP, but now I know this name stands to Linux, Apache, [...]. More strange for me was the package
task-lamp, but anyway it's working!
Once that's done, I can't remember if you need to start apache (it's called httpd in mageia) or if it's done via the install. Easiest way is to just reboot if it's a computer that doesn't need 100% uptime.
Once you've rebooted you should be able to go to the browser and enter 'localhost' as the website address and you should see the 'it works' test page from apache.
I end up rebooting my system before test Apache. I was struggling later to restart the service, trying
- Code: Select all
httpd restart
, but I saw only a error message... Now I know the code is
- Code: Select all
# service httpd restart
Next you need to work out HOW you want to setup wordpress. You can install from the repos, but honestly it's better if you install wordpress directly, then when updates come through you wont run into problems
I had to install wordpress downloading from wordpress.org. I didin't find the package in the Mageia Repos...
FYI mariadb was forked from mysql, so everything pretty well applies from mysql tutorials.
Yes! Learning more about mariadb, it seems it has no difference! Even calling the program I type
- Code: Select all
$ mysql
and mariaDB starts...
Only one more question: is it recommended to keep my wordpress locally in my computer, or keep in a Virtual Machine? (I still have no host)