Monday, February 03, 2014

Mounting NFS filesystem and fstab

Tech Blog - Here is a quick how to on mounting NFS filesystem and making it permanent on fstab.

You can manually mount the FS, however once machine is rebooted filesystem will also not be mounted

mount 192.168.3.123:/sharefolder /mnt

You can make the mount permanent even after reboot, just go to /etc and edit fstab file, you might also want to make a permanent mount folder aside from mnt.

let create the mount folder

mkdir /nfsfolder

then lets edit fstab

vi fstab 

ass the below entry
---------------------
192.168.3.123:/sharefolder   /nfsfolder       nfs   rw,intr,soft,nolock,noatime,rsiz                                       e=32768,wsize=32768
----------------------
save and exit

Mount the entry
mount -a


Then your done.

Sunday, February 02, 2014

Adding Sortable Help Topic column on osTicket

Tech Blog - Here is a guide on adding Help Topic column on osTicket ticket dashboard

Go to /var/www/html/ticket/ include/staff/

cd  /var/www/html/ticket/ include/staff/

Take backup of tickets.inc.php

cp -p ticket.incs.php tickets.inc.php-backup

Edit tickets.inc.php

vi tickets.inc.php

Saturday, February 01, 2014

osTicket show ticket number on thank you page | How To

Tech Blog - Here is a tutorial on how to modify osTicket to show ticket number on the thank you page, after ticket creation instead of showing "Ticket #XXXXXX has been created", do take note the Ticket# showing as XXXXX was intentional for security reason as on osTicket ticket number also  serve as password for checking ticket status, however if your using osTicket on private installation this is not a big concern.

Lets begin.

Go to your osTicket file mine is in /var/www/html/tickets

Take a backup of open.php

cp -p open.php open.php-back

edit open.php

vi open.php

Look for the line below

array_fill(0, 3, 'XXXXXX'),


And replace with 

array_fill(0, 3, $ticket->getExtID()),

Then save and exit, once you create a new ticket you should be able to see the ticket number on the thank you page.


For suggestion and concerns E-mail