Sunday, July 15, 2012

Linux post-install checklist

What packages to add after installing a new version of a linux distro?
  • wget
  • curl
  • display drivers
  • audio drivers
  • Acrobat Reader
  • Flash plugin
  • VLC
  • Open VPN
  • GVim
  • Subversion
  • Git
  • msttcorefonts
  • w32codecs
  • TexMaker
  • build tools (gcc, automake, autoconf,perl,python) 
  • Java Development Kit
  • LibreOffice
  • Open SSH server
  • Samba
  • Zotero/ZotFile
  • ftp
  • Wine
  • Microsoft Office
  • xchm
  • pdfedit
  • gimp
  • Wireshark
  • Virtualbox-ose
  • Transmission
  • Dropbox
  • KeePass2
  • Unison
  • ..more to come

Ubuntu specific
  • build-essentials
  • Installing acrobat-reader
    • sudo add-apt-repository "deb http://archive.canonical.com/ precise partner"
    • sudo apt-get update
    • sudo apt-get install acroread
Fedora specific

Monday, July 9, 2012

UPLB SystemOne Physical Servers

As a student of UPLB, you might be wondering how the physical machines that run SystemOne looks like. Below are some pictures of Eduardo, Discoro, and Eliezer(database server).

Teaching Load Credit Computation

(Notes from Prof. Marge Paterno)
In summary:
      * Course credits (CC) for labs is 1.0 only (to be used for column 8 only)
        while Teaching Load Credits (TLC) for labs is 1.5 (to be used for the
        last column)
      * CC is equal to TLC in the case of lectures, lect/discussion classes and
        SP
      * For the last column, apply the multipliers on the Teaching Load Credits
        (TLC) rather than on Course Credits (CC).

*For column #8 for COURSE CREDITS (CC) without multipliers:
                           Lab: CC = 1.0
                Lect (2hrs/wk): CC = 2.0
     Lect/Discussion (3hrs/wk): CC = 3.0
              CMSC 190 1 unit : CC = 1.0
              CMSC 190 2 units: CC = 2.0

*For column #10 (last column) for TEACHING LOAD CREDITS with 
MULTIPLIERS
(TLCM):

     STEP 1: Determine TEACHING LOAD CREDITS w/o multipliers (TLC):
                           Lab: TLC = 1.5
                Lect (2hrs/wk): TLC = 2.0
     Lect/Discussion (3hrs/wk): TLC = 3.0
              CMSC 190 1 unit : TLC = 1.0
              CMSC 190 2 units: TLC = 2.0

     STEP 2: Apply corresponding multiplier to TLC to obtain TLCM:

       *** For UNDERGRAD courses:
           Lab class (any number of students):
             TLCM = TLC (i.e., no multiplier)

           Lect (2hrs/wk) or Lect/Discussion (3hrs/wk):
             # of students <=40:  TLCM = TLC
             # of students  >40:  TLCM = TLC*[(# of students - 40)/120 + 1]
            [# of students >160:  TLCM = TLC*2.0]

           For CMSC 190
             TLCM = TLC*(# of students)*(0.5/3)

            // Hence, for 190(1 unit) : TLCM = n/2 * 1/3, maximum of 3 units
            //        for 190(2 units): TLCM = n/2 * 2/3, maximum of 3 units

           For IT 1 Lecture only (if # of students >= 25)
             multiply TLCM further by 1.33  // multiplier for GE lecture courses

       *** For GRAD courses:
           Lect or Lect/Discussion or Lab
             # of students <= 4:        TLCM = TLC
             # of students >4 and <= 9: TLCM = TLC*1.25
             # of students >9:          TLCM = TLC*1.5

Wednesday, July 4, 2012

Disable SSH login, allow FTP in Ubuntu

In our IT 210 class, we need students to be able to upload files to a web server using FTP but disable SSH login to the server. To do this in Ubuntu, edit
/etc/ssh/sshd_config
and add the line
DenyUsers stud1 stud2
Then restart SSH using
$sudo /etc/init.d/ssh restart