Hi, it has been a while since my last post, but today I’ve gained new knowledge that I wanted to store into this archive of mine. It might be useful to some other people, but it certainly is useful to me. Please enjoy the tutorial, share if you like it and leave a comment if you feel I am wrong (I’ll correct it if its true😀 )

 Installing the FTP Package

1. Update your repository

yum check-update

2. Install the package

yum -y install vsftpd

3. After installation is done, make a copy of “vsftpd.conf” file

cp /etc/vsftpd/vsftd.conf /etc/vsftpd/vsftpd.conf.bak

4. Edit the configuration file with nano text editor

nano /etc/vsftpd/vsftpd.conf

5. Find this line “anonymous_enable=YES” by pressing CTRL+W and change the value to NO to disable anonymous FTP access.

6. Using the same method as the above find “chroot_local_user=YES” and uncomment it.

7. Add the following to the end of the file


8. Restart the VSFTPD service and make it start automatically after reboot

systemctl restart vsftpd.service
systemctl enable vsftpd.service

9. Add the FTP service in the firewall-cmd this is to open the FTP port

firewall-cmd –permanent –add-service=ftp
Firewall-cmd --reload

10. Setup SELinux to allow ftp access to the users home directories.

setsebool -P ftp_home_dir on
setsebool -P allow_ftpd_full_access 1

Create a user and assign the home directory

1. For this tutorial I want to create a user without a home directory therefore I use –M instead of –m.

useradd -M mike –s /sbin/nologin
passwd mike

2. Next is to set the home directory for “mike” by creating a new directory

mkdir /var/www/mike
chmod 755 /var/www/mike

3. Once that is complete point the directory to the user “mike”

chown -R mike /var/www/mike

First thing that you guys need to remember is that this tutorial might be a little old since I’ve already left RMIT. Just use this as a reference as it might be a little different from the current system.

    1. Download the latest phpmyadmin from www.phpmyadmin.net
    2. Extract the content into phpmyadmin folder.
    3. Create a “config” folder inside the phpmyadmin directory.
    4. Upload the phpmyadmin folder to .HTMLinfo on yallara.
    5. Open up your browser and open your yallara link which might look similar to this http://yallara.cs.rmit.edu.au/~s<insert your id>/phpmyadmin/setup
    6. Once you are at the page please pay attention to the following tabs/boxes
    7. Image
    8. Create a “New Server”
      1. and you key in the following
        1. host : yallara.cs.rmit.edu.au
        2. port : <the port number that is given when you install your MySQL>
        3. extension : mysqli
        4. authentication type : cookie
        5. user : root <it can be other user that you have created>
        6. password : <your user password>
      2. After all is done and the screen on number 7 reappear, click Save.
      3. Go to your filezilla and login to yallara
      4. Go to your .HTMLinfo folder
      5. Go to your phpmyadmin folder
      6. Go to the config folder
      7. Cut the config.inc.php file and paste it to your phpmyadmin folder (take it out of the config folder)
      8. DONE finish now you can login to your phpmyadmin through your respective URL http://yallara.cs.rmit.edu.au/~sXXXXXXX/phpmyadmin

2012 in review

Posted: December 31, 2012 in Uncategorized

The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.

Here’s an excerpt:

600 people reached the top of Mt. Everest in 2012. This blog got about 7,100 views in 2012. If every person who reached the top of Mt. Everest viewed this blog, it would have taken 12 years to get that many views.

Click here to see the complete report.

Security in Computing and IT

Posted: October 22, 2012 in Exam Papers

Its end the of the semester and exam is around the corner next week to be exact here is some sample Web Server and Web Technology paper that I’ve acquired from a good friend of mine back in Malaysia. If any of you need the paper feel free to view it below.

Hi just want to share a review to who ever wants to actually create a “Groupon” Website it is advisable no it is recommended that you AVOID or DON’T use NDOT Deals script as what I can say here it is so bad that it has too many bugs in it.

For example if a customer bought a coupon from the website and in the middle of the transaction your customer internet got disconnected and unable to finish the transaction that need to reply back to the script saying that “Transaction is successful please issue a coupon!”. You as an administrator should have the power to actually issue the coupon manually if and only if this scenario happen, but sadly NDOT Deals script won’t allow you to do that!.

And you cannot actually clear the old transaction if you want to close your account at the end of the month. Clearly to say that NDOT did not do their market research well enough. If you don’t want to loose your money please find other alternative to a groupon clone script or create your own script as I personally say that NDOT Deals is NOT good. I’ve should have know when I read their motto “Dream On, We Deliver” yeah they keep on delivering things that can only be used in dreamland and not reality.

If you guys are wondering on what the hell am I talking about this product is what I am talking about


The COSC 2432 assignment involves the design and implementation of a website for an Online Fashion Store. The business may be your own or that of a friend, an actual small business or an imaginary one.
The assignment for this subject is 40% of the total marks available and is a hurdle (meaning you have to achieve at least 20% out of 40% for this component).

Design a set of linked web pages for a fictitious online Fashion Store. The site should consist of no fewer than 15 web pages with full multi-directional navigation between pages. The site should search function that able to search for the item by typing the generic shirts, pants, accessories, price range, etc. Depending on the search keywords, the site should provide a possible list of products, and then when to each product on the list is clicked, the site should have more details about the selected product (e.g brand, price, size, quantity available, discount available, etc).
Guidelines for Online Fashion Store:

  • Full name of company, location of main office, telephone/fax numbers, e-mail address, Company mission statement and a brief welcome to potential users. Your company should be run by a board of directors, in which case the names/pictures of each should be in your site.
  • Should provide no less than three categories of products.
  • Current running promotion.

Important Information:
You are required to create an Online Fashion Store allowing registered customers to search and order products from the online bookstore. Non-registered users can use the search form, but they are not allowed to make an order until they have registered as a customer.
Returning customers should be given the option to login using existing username and password if they are already registered. If the attempt to login is successful an appropriate welcome message should be displayed. New users should be given the option to register.

A. Registration
Customer registration allows the system to verify all customer details are valid and ensures that all customers have a unique and valid Customer ID. It also allows the system to verify and keep track of all personal details of the customer details.
This page should prompt users to fill a form with fields for
(a) Customer’s name (full name)
(b) I/C number
(c) Gender
(d) Personal status (Married, Engaged, Single)
(e) Work status (Government Sector, Private Sector, Self-Employed, Unemployed, Student)
(f) Home Address
(g) Address for delivery (may be the same as the Home Address)
(h) Phone number
(i) Email address
(j) Username
(k) Password

Email Address
Assume that email addresses must end with either .my, .com, or .net and must not have two adjacent non-alphanumeric characters such as .. or –. It must contain the character @ exactly once and it must have at least two other characters after @.
Both username and password must consist of at least 6 alphanumeric characters, and password cannot have two or more adjacent characters the same (12yuu678 is not allowed because of uu). The user should be told of the correct format for the password.
If any of the fields are empty, an appropriate error message should be displayed indicating the problem. If the username already exists, an appropriate error message must be printed.
The input information for searches, customers, feedback and orders should be written to file searches.txt, customers.txt, feedback.txt and purchaseorders.txt respectively with the format specified below. Your program should verify that no other customer has the same phone-number (to avoid registering the same person twice) and that no two customers have the same I/C number.
Error Message / Acknowledgement
If any of the fields are empty, an appropriate error message should be displayed indicating which fields are left out. If the username already exists, an appropriate error message must be printed. If all form input are valid an acknowledgement page listing all the fields must be printed.
Phone Number
The phone number should be in one of the following formats.
(601d)-ddddddd (mobile)
(601d)-ddd-dddd (mobile)

Both username and password must consist of at least 6 alphanumeric characters. If any of the fields are empty, an appropriate error message should be displayed indicating the problem. If the username already exists, an appropriate error message must be printed.

Download Solutions :

username : admin
password : admin



Kajang to Taylor’s University Lakeside Campus

If you have class at 8am you need to wake up early and start your journey the latest is  6.30am.

There are 3 major route that you can choose from.

  1. Lebuhraya Cheras-Kajang and Lebuhraya Persekutuan 30.7KM
    • recommended starting time is 6am
    • Total toll rate to be expected is RM1.90 (one-way journey)
  2.  Lebuh Raya Bukit Jalil 28.9KM
    • recommended starting time is 6am
    • Total toll rate to be expected is RM1.60 (one-way journey)
  3. Lebuhraya Lembah Klang Selatan and Lebuhraya Damansara – Puchong 40.5KM
    • recommended starting time is 6.30am
    • Total toll rate to be expected is RM4.20 (one-way journey)

another driving tips that you’ll gonna need is that you need to reach Bandar Sunway by 7am if you don’t want to be late for class. If you are coming from route 2 and 3 you need to reach the Puchong Toll by 7am since you are going to be stuck there for at least 30 minutes. Hope this helps and happy driving!

If you have more route please leave a comment below and I’ll be happy to put it into this post.

Window 7 WPA2 Authentication Step-by-Step Guide

  1. Mouse over to Network Connection Icon on the bottom right of your desktop screen and
    Click Open network and sharing center.
  2. Click “Manage wireless networks”
  3. Click “Add” then “Manually create a network profile”
  4. Make sure your settings are as below.
    1) Verify that the Network name (SSID) is set to i-Xcess
    2) Network Authentication is set to WPA2-Enterprise
    3) Data Encryption is set to AES.
    4) Check on “Start this connection automatically”
    5) Uncheck on “Connect even if the network is not broadcasting”
    6) Click on “Next” to bring you to next configuration page
  5. Click on “Change connection settings” to proceed with next configuration step
  6. Select the Security tab. Make your settings are as below.
    1) Security type is set to WPA2-Enterprise
    2) Encryption type is set to AES
    3) Verify that authentication method is set to Microsoft: Protected EAP (PEAP).
    4) Check “Remember my credentials for this connection each time I’m logged on
    5) Click on Settings
  7. – Make sure to uncheck Validate server certificate.
    – Verify that the Select Authentication Method drop-down box is set to Secured password (EAP-MSCHAP v2).
    – Check “Enable Fast Reconnect”
    –  Uncheck “Enforce Network Access Protection”
    – Uncheck “Disconnect if server does not present cryptobinding TLV”
    – Uncheck “enable Identity Privacy”
  8. Click the “Configure” button. Uncheck the check box labeled “Automatically use my
    Windows Logon name and password (and domain if any).”

    Click “Ok” or “Close”.

  9. Click on “Advance settings” 
  10. Under 802.1x settings tab, Check “Specify authentication mode” and select “User authentication”, Uncheck “Enable single sign on for this network”. Click “Ok” or “Close” buttons on all the windows.
  11. Try connect to “i-Xcess”. 
  12. Connect the network called “i-Xcess” and when prompted, provide your standard
For this tutorial I’ll be using :-
  • D-Link dir-615/620
  • DD-WRT Firmware: DD-WRT v24-sp2 (11/21/10) std
D-Link dir620
Steps to flash the router
  1. Set a static IP for your PC in the 192.168.0.x range with a subnet mask of ( for example).
  2. Connect a network cable from your computer’s network interface card to the WAN PORT (not LAN port, WAN port) of your DIR-615 G1.
  3. Turn off your DIR-615. Hold down a pin to the RESET button of the router (at the back next to its power socket) and turn on the router while holding this RESET button down.
  4. If you did this properly, the power button on the router should now be orange and blinking continuously. The router is now in Emergency Room mode.
  5. Open up Internet Explorer and head over to . Please use Internet Explorer as Firefox can cause some weird issues with this particular web interface.
  6. You should be able to see the Emergency Room interface.
  1. Hit the Browse button and select the Brainslayer DIR-615 rev D webflash firmware (dlink-dir615d-factory-webflash.bin) that you downloaded earlier. Upload it to the router.
  2. Upon a successful upload, you should be able to see a success confirmation message.
  1. Let the router reboot by itself.
  2. Once power light turns green.. unplug the network cable from the WAN port and plug into any LAN port on the DIR-615 router (I recommend ports 1-3).
  3. The routers IP should now be, so change your PC’s LAN IP from to something in the range (such as with a subnet mask of
  4. Now visit and configure your router’s security (password) settings.
Steps for Wireless Bridge Configuration
By following this steps, you will turn your normal wireless router to a wireless bridge which allow you to extends your LAN without the need of cabling. You might ask why do I want to create a wireless bridge instead of a repeater? the answer is that I’ve used repeater device before and the result are not so great. The repeater will repeat any signal from our wireless router and re-transmit it to our machine, but it will repeat and transmit any signals including from a broken data packet. While wireless bridge will act as a receiver instead of a transmitter like our wireless network adapters with an option of splitting it into more LAN connection using the ports that are available on the bridge device, from there you can attach another wireless router to extends your wireless range or just plug using the LAN ports. So lets begin the tutorial then!
  1. Continuing from the above tutorial, visit and login to your router.
  2. Go to Setup > Basic Setup
  3. Under the “WAN Connection Type” disable the connection type, STP -> Disable
  4. Next is Router IP:
    • Set the Local IP address to 192.168.x.2 (depends on the of the wireless router that you want to bridge with).
    • Gateway to 192.168.x.1
    • Local DNS to 192.168.x.1
    • WAN Port : checked the Assign WANT Port to Switch (optional)
    • SAVE
  5. After that Go to Wireless > Basic Settings and the following settings
    • Wireless Mode : Repeater Bridge (its actually a wireless bridge instead of a repeater :P)
    • Wireless Network Mode : Mixed (make sure the source wireless router is also using Mixed mode)
    • Wireless Network Name (SSID) : [the source SSID from the source router]
    • Wireless Channel : Auto
    • Channel Width : 20MHz
    • Wireless SSID Broadcast : Enable
    • Network Configuration : Bridge
  6. Wait for the Router to reboot and then it is DONE! if you are confuse with the steps refer to the image below
Step 1-4
Step 5-6