OK!...A little trickier and definately more Geek like than I was expecting, but got there in the end...
Download "modx-2.0.8-pl.zip" to your computer.
Make sure that your test environment is created:
The following were installed using System>Administration>Add/Remove packages:
- Apache web server (this was already installed)
- Mysql database
- Mysql client
Set up database
An initial problem was encountered in that I was unable to log into phpmyadmin from localhost..you need to do the following as root (creating a link to where phpmyadmin is installed)
ln -s /etc/phpmyadmin /var/www/phpmyadmin
This enabled the phpmyadmin login screen when I typed:
in a browser window.
However, whichever passwords I would use I was unable to login! Nothing worked until I did the following in a command window
mysql -u root
SET PASSWORD FOR 'root'@'localhost'=PASSWORD('yourpassword');
I was now able to log into phpmyadmin.
Create an sql database using phpmyadmin
Create an SQL user.
Add the user to the database with full rights.
Make notes of the names and passwords for use later.
Move the downloaded modx package to /var/www/html/modx/ and unzip, I did not like the extra layer (folder) created so I moved everything under the modx directory. I like to use "nautilus" as root to do all this (it's a little easier). In a command prompt do the following:
Simply go to your localhost, example:
and follow the directions.
I did encounter some error messages during the install
- Set timezone in the php.ini file
- Fix selinux permission problem
setsebool -P httpd_read_user_content 1
- Create assets and assets/components directories
- Reset some directory and file permissions