2014年5月1日 星期四

Moodle與校務整合

校務整合
最近的數位學習案都需要跟校務(教務)整合, 在下學期開學前有很多要跟Moodle整合的功能, 但主要是課程要能自動在Moodle開立-就是Moodle同步開課, 相信這是許多Moodle管理員最頭痛的問題-很多管理人員說他們都是用文字檔(CSV)匯入的, 說實在的我不知道怎麼用CSV匯入, 因為我一到公司接觸Moodle就是用我們的外掛(Plug-in)自動同步的; 這就是我要介招的-教務課程同步外掛:

教務課程外掛
Moodle外掛-教務課程同步

安裝後, 在系統管理->課程內就會有教務課程匯入選項, 開啟後, 輸入學年、學期及文字編碼, 如圖:

課程匯入Moodle

按下匯入鈕後, 開始匯入 --- 目前支援 MySQL, Sybase, MSSQL, Oracle 也有Web-Service(SOAP), 進行配置設定後就可以匯入了, 如圖:
課程同步-1


學年/學期管理

另外一個是-學年/學期管理外掛, 有了這個外掛管理員可以在Moodle內管理學年及學期的設定: 
Moodle外掛-學年學期同步
因為有這個外掛, 徹底把學期的概念注入在Moodle內了, Moodle也可以跟校務同步運作的很好.

因為很多學校在問, 以上就外掛簡單說明, 細節就不多說了; , Moodle從1.X到2.6都可以運作, 如果您是問版本的話. :-)

2014年3月28日 星期五

Set / Change / Reset the MySQL root password on Ubuntu Linux




Set / Change / Reset the MySQL root password on Ubuntu Linux


Tested on
- Ubuntu Linux 7.10 Gutsy Gibbon and MySQL 5.0.45. (2007-10-21)
- Ubuntu Linux 6.06 Dapper Drake and MySQL 4.1.15.

Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal.
  1. Stop the MySQL Server.
    sudo /etc/init.d/mysql stop

  2. Start the mysqld configuration.
    sudo mysqld --skip-grant-tables &

  3. Login to MySQL as root.
    mysql -u root mysql

  4. Replace YOURNEWPASSWORD with your new password!
    UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
Note: This method is not regarded as the securest way of resetting the password. However it works.


References

MySQL 5.0 Reference Manual: How to Reset the Root Password


2014年3月12日 星期三

Moodle2.5擾人的Installing an add-on

其實Moodle2.5真的增加了許多功能,但也因為開放太太多了,導致執行速度下降…= =


所以爬了一下文找到Moodle官方的文件說明Installing an add-on的用途,也找到的可以disabled的設定。

說明如下:
Preventing installing add-ons from within Moodle
If required, installing and updating from within Moodle can be prevented by copying the following lines of code from config-dist.php and pasting them in config.php.
// Use the following flag to completely disable the On-click add-on installation
// feature and hide it from the server administration UI. 

 $CFG->disableonclickaddoninstall = true;  //設定不要每次登入時都執行plugin搜尋



參考

精選文章

訓練計畫

小編最近聽了幾個人資單位或教育訓練部門的朋友喊累  (๑•́ ₃ •̀๑) 因為他們規劃了一系列的訓練課程,但要將這些線上訓練課程指派給學員時,需要進行多次的課程指派作業,才能將課程指派給所有應上課的同仁,既費時又費力,還要很仔細地核對名單,避免出錯  ╮(╯_╰)╭ ...