Archive for November, 2007
Thursday, November 29th, 2007
For client edited Moodle sc to prevent a certain user to change pw. Edited user/view.php and login/change_password.php. For now hard coded check on that username in the code. In 1.9 version of moodle there will be a new capability arranging this.
Posted in BrnDmp | No Comments »
Thursday, November 29th, 2007
Continued server inventory.
Made a foreign key in the server table so we can inlude virtual servers and load balanced environments.
Checked sf for existing iventories:
H-inventory
OCS-inventory
Hmm, both don't look really satisfying on first sight.
Checking the SF site, some more interesting projects are:
Unattended GUI: unattended automatic installs
Zenos: Enterprise Network Monitoring / Management
Ophcrack: ...
Posted in BrnDmp | No Comments »
Thursday, November 29th, 2007
Customised client change password capability for certain user. That user is used for general login and enrolment and is not supposed to be able to change his pw. Edited user/view.php and login/change_password.php. For now hard coded check on username. In moodle 1.9 there will be a new capability for users ...
Posted in BrnDmp | No Comments »
Wednesday, November 28th, 2007
Client webserver did not send referer info so I included an || empty() for the referer. OK, ugly hack but it works. Edited code in svn.
Posted in BrnDmp | No Comments »
Wednesday, November 28th, 2007
Started spreadsheet for server inventory based on server documentation post and current server list.
Posted in BrnDmp | No Comments »
Wednesday, November 28th, 2007
Example script of user who imports users and classes from csv file.
Is nice to check which Moodle functions should be used to import data. We should actually make something like this for our client who wants to sync with his LDAP (I think AD).
Posted in BrnDmp | No Comments »
Tuesday, November 27th, 2007
Idea: maybe we should once test a javascript optimizer on the Moodle sc. Idea is to just translate the code in less meaningfull names so http traffic is minimised.
Minify javascript
Yui compressor
Web development resources:
YUI
Posted in BrnDmp | No Comments »
Tuesday, November 27th, 2007
Edited wiki for server documentation.
Subscribed to anounce lists of PHP, Apache, MySQL, PostgreSQL.
Make inventory of hosted Moodles:
id
client name
client contact (email)
ip adres internal
ip adres external
url
servername -> link to server table
Moodle admin uname
Moodle admin pw
Moodle Version
Date installed
Expiry date contract
projectnr
status (demo, testing, production)
installed by (stoas abr)
Server table:
id
servername
OS version
updated
status
date installed
expiration date
installed by (stoas abb)
stoasadmin
root ...
Posted in BrnDmp | 1 Comment »
Tuesday, November 27th, 2007
damn, I thought I set the server time of a client server but probably the ntpd is not set properly. Checked ntp documentation to find how to set the proper sync site:
service ntpd restart
Make sure to set timeserver in /etc/ntp.conf
Posted in BrnDmp | No Comments »
Monday, November 26th, 2007
With yum you can enable repositories with yum --enablerepo=development update clamav
dependency problem with glibc:
yum --enablerepo=development update glibc-devel
yum --enablerepo=development update clamav
still dep problems but that is strange because the wanted packages are installed?
Updated mysql, php, httpd. Finally did a complete yum update
Posted in BrnDmp | No Comments »