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.

As an avid Moodle admin, I have been eagerly awaiting the day I’d have an in-house server that could run Moodle 2.0. It’s one thing playing on this on your computer (although to be truthful, I must have a Moodle 2 server on every computer I’ve touched over the last few months!), quite another to have a full-speed, “beefy” server with 24 gigs of RAM and what appears to be unlimited storage on it!! My organization’s technology department set it up, setup an admin account for me, and then said, “Here’s your server.” Wow, I felt like a kid who’s been given the set of keys to the fiery steel stallion in the driveway. 
Some of what I did recently on the new server:
  • 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?

To give you an idea of the fun, here are some of the commands:

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 

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/ 


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/

Fortunately, my experience in GNU/Linux over the last few years came in handy! I had a lot of fun working at the command line to get things done and look forward to recreating some larger Moodle instances this weekend!
For the meantime, I guess I’ll just have to wait…sigh.

Get Blog Updates via Email!

Enter your email address:

Delivered by FeedBurner

Everything posted on Miguel Guhlin’s blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure