Archive for July 14th, 2008

CentOS 5.2 install

Monday, July 14th, 2008

CentOS 5.2 install for Moodle. Pretty straightforward. It gets tricky when installing the pgsql database. This is how I do it: install PostgreSQL database server with yum Add a user to the system which you want to user as Moodle databaseuser start the PostgreSQL service with: service postgresql start Add PostrgreSQL and httpd to ...

Timeout

Monday, July 14th, 2008

Client got a timeout when trying to create and Excel export of some custom Moodle report we created. Excel exporting function is not really efficiently setup but I cooked up a workaround for the problem: run the excel export as command line php and redirect the output to filename.xls. Then write ...

Handy Alias

Monday, July 14th, 2008

alias server_name='ssh -v -l USERNAME IP ADDRESS'