![]() |
| Source: http://farm4.static.flickr.com/3076/3161725377_00f7452a5d.jpg |
What a joy it was to work yesterday on a new RedHat Linux server! I always enjoy learning new things and how to manipulate a RHLinux server as I was setting up various Moodle instances was a lot of fun.
- Created a new Moodle 2.x instance for our Sandbox. Remember, I still advise waiting until as late as possible to make the transition to Moodle 2.x. or at least, until you’ve got a better handle on it.
- Setup Moodle 1.9 instances that were copies of ones I had on our “old” Mac server. That was a lot of fun given the following stats:
- 52 gigs of stuff in MoodleData
- 900+ megs of stuff in the SQLDump file
- a few problems in the transition with specific blocks/mods that just didn’t seem to work well on the new server with the version of PHP we had installed (e.g. Book, Questionnaire, Certificate appeared OK).
![]() |
| Folder permissions, OK? |
Working on a GNU/Linux server is a bit of a different experience, of course, than doing so on a Mac. On GNU/Linux, everything is command line driven, a fact that can be mitigated using various tools…unfortunately, those other options just weren’t available.
![]() |
| Folder permissions, OK? |
TERMINALssh user@host
RESTARTING APACHE WEB SERVER/etc/init.d/httpd start
/etc/init.d/httpd status
VIM Commandshttp://vim.wikia.com/wiki/Search_and_replace
CREATING MYSQL USER AT COMMAND LINEmysql> CREATE USER ‘mguhlin’@’localhost’ IDENTIFIED BY ‘PASSWRD’;
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘mguhlin’@’localhost’ WITH GRANT OPTION;
IMPORTING MYSQL DATABASE VIA SQLmysql -u mguhlin -p -h localhost newdbasename < olddbasename.sql
CHANGING GROUPSChgrp –R apache directoryname/
DIRECTORY LISTING WITH HIDDEN FILESls -la
COPYMore info: http://www.computerhope.com/unix/ucp.htm
sudo cp -r ~/zips/moodle19/mod/* /var/www/html/mstateks2010/mod/
sudo cp ~/bkups/configs/config_mstateks2010.php config.php
sudo cp -rv /var/www/html/itech/* /var/www/html/mstateks2010/
Enter your email address:
Delivered by FeedBurner
Discover more from Another Think Coming
Subscribe to get the latest posts sent to your email.



