Mister Disagree

"Be the change you wanna see in the world" - Michael Scofield



Client Workstation Configuration:

1. Make sure that your IP address received/configured is within 10.168.28.0/22 subnet
2. Change proxy setting into:

IP address: 10.168.30.155
port number: 3128


Example: For Firefox browser, go to Tools -->Options --> Advance -- >Setting -->Manual Proxy Configuration then fill in HTTP Proxy field with information given above.

3. Best practice is point the client gateway address to 10.168.30.155 (change firewall IP to other IP) in order to force packet go through proxy server without configuring proxy setting on every client’s browser.


Proxy Server Configuration:

1.
IP address Configuration
a. vi /etc/sysconfig/network-scripts/ifcfg-eth0








b. vi /etc/sysconfig/network-scripts/ifcfg-eth1








2. Squid installation, update and run service





3. Modify squid configuration file
a. Open squid configuration file



b. Once config file open, type script as shown below at any line




c. Save and close the file before restart squid services



4. Enable squid log service




5. Configure Transparent proxy
a. Open proxy configuration file



b. Once config file open, type script as shown below:




6. Restart squid services



LightSquid Setup

1. Download lightsquid from http://sourceforge.net/projects/lightsquid/files/lightsquid/1.8/

2. Locate the file downloaded into /var/www/html/

3. Extract the installation file downloaded: #tar –xzf lightsquid-1.8.tgz

4. Enter the installation folder: #cd /var/www/html/lightsquid

5. Install apache:

#chmod +x *.cgi
#chmod +x *.pl

#chown –R apache:apache *

6. modify lightsquid configuration file : #nano /etc/httpd/conf.d/lightsquid-1.8.conf

AddHandler cgi-script .cgi

AllowOverrride All

7. Restart HTTP Service: #service httpd restart

8. #./check-setup.pl

9. #./lightparser.pl

10. Modify crontab file: #crontab –e

*/15***/var/www/html/lightsquid/lightparser.pl

11. Open web browser and type http://10.168.30.155/lightsquid




Overview
SWITCH 1:
Fe0/1 – Fe0/2 –> VLAN 2 (Accounting)
Fe0/10 – Fe0/11 –> VLAN 4 (Engineering)
Fe0/24 –> Trunk Port
SWITCH 2:
Fe0/1 – Fe0/2 –> VLAN 3 (Management)
Fe0/10 – Fe0/11 –> VLAN 4 (Engineering)
Fe0/24 –> Trunk Port
Configuration:
Switch 1 Configuration:
Switch1# configure terminal
Switch1(config)# vlan 2
Switch1(config-vlan)# name Accounting
Switch1(config-vlan)# end
Switch1(config)# vlan 4
Switch1(config-vlan)# name Engineering
Switch1(config-vlan)# end
! Assign Ports Fe0/1 and Fe0/2 in VLAN 2
Switch1(config)# interface fastethernet0/1
Switch1(config-if)# switchport mode access
Switch1(config-if)# switchport access vlan 2
Switch1(config-if)# end

Switch1(config)# interface fastethernet0/2
Switch1(config-if)# switchport mode access
Switch1(config-if)# switchport access vlan 2
Switch1(config-if)# end
! Assign Ports Fe0/10 and Fe0/11 in VLAN 4
Switch1(config)# interface fastethernet0/10
Switch1(config-if)# switchport mode access
Switch1(config-if)# switchport access vlan 4
Switch1(config-if)# end
Switch1(config)# interface fastethernet0/11
Switch1(config-if)# switchport mode access
Switch1(config-if)# switchport access vlan 4
Switch1(config-if)# end
! Create Trunk Port Fe0/24
Switch1(config)# interface fastethernet0/24
Switch1(config-if)# switchport mode trunk
Switch1(config-if)# switchport trunk encapsulation dot1q
Switch1(config-if)# end

Router Configuration:

interface FastEthernet0
no ip address

interface FastEthernet0.2
encapsulation dot1Q 2 <----- class="Apple-style-span" span="">VLAN ID


no shutdown
ip address 192.168.2.1 255.255.255.0

interface FastEthernet0.3
encapsulation dot1Q 3
no shutdown
ip address 192.168.3.1 255.255.255.0
interface FastEthernet0.4
encapsulation dot1Q 4
no shutdown
ip address 192.168.4.1 255.255.255.0


VMware merupakan salah satu Virtual Machine application yang famous dan biasa kita guna. Dan aku percaya yang korang biasa guna VMware untuk kegunaan harian walaupun ade sesetangah orang lagi prefer Virtual Box atas sebab2 tertentu.

Tapi sebelum tu kita kena tau basic pasal Virtual Machine ni. Kegunaan VM adalah untuk membolehkan kira run multiple OS dalam 1 masa. Dan Virtual Machine (VM) ade 2 jenis (Hosted VM and Native VM). Hosted VM biasa kita install dalam laptop/desktop manakala Native VM hanya di install di server sebab die memang develop untuk server type VM.

Antara banyak2 VM application, VMware adalah yang paling bagus. Kenapa? Jawapannya mudah, sebab orang yang mencipta VMware adalah orang yang sama memperkenalkan teknologi Virtual Machine ni. So banyak la features baru yang diperkenalkan oleh VMware sebelum idea tu di ambil oleh syarikat VM lain seperti Virtual Box dan Xen. Selain banyak extra features, VMware juga lebih ringan dan kecil. Tapi ade juga orang lebih memilih Virtual Box kerana ia lebih sesuai untuk menjalankan kerja2 berkenaan database dan open source services sebab Virtual Box adalah product Oracle.


VMware Hypervisor atau nama penuhnya VMware ESXi Hypervisor bertindak sebagai client site VM yang fungsi nya hanya menyediakan platform untuk operating system. proses installation amat mudah, hanya perlu install VMware EXSi Hypervisor pada server dan kemudian up kan dengan cara configure IP info padanya supaya dapat dicapai melalui network. Memandangkan VMware Hypervisor hanya berfungsi sebagai server site VM, vSphere application perlu di install pada client workstation (desktop/laptop). Segala aktiviti seterusnya hanya melibatkan penggunaan Vsphere termasuk OS installation, OS usage dan lain2.



1) Hosted VM:

a. VMware

b. Virtual Box

c. Xen


2) Native VM:

a. VMware Hypervisor

b. Xen Hypervisor



Memandangkan ramai dah familiar dengan hosted VM, so thread ini akan menunjukan step2 installation native VM untukVMware Hypervisor (server site) dan VSphere client (client site). 4 langkah utama:

  1. Setting Up VMware ESXi Hypervisor.
  2. Configure IP setting for VMware ESXi Hypervisor.
  3. Establish connection between server and client.vSphere installation on client workstation.Setup virtual OS platform (windows Server 2008 R2)


1) Setting Up VMware ESXi Hypervisor

i. Insert the ESXi 4.1 Installable CD/DVD into the CD/DVD-ROM drive.

ii. Restart the machine.

iii. Set the BIOS to boot from the CD-ROM device. Once you insert the ESXi CD and reboot the server, it will display a boot menu with an option to launch “ESXi Installer” as shown below.

iv. After ESXi CD loaded successfully as figure shown below.

v. On the Welcome screen, press Enter to continue with the installation.

vi. Read the VMware end-user license agreement and accept it by pressing F11.

vii. In the Select a Disk screen, select the disk drive on which to install ESXi 4.1 and press Enter.
*Press F1 for information about the selected disk.
viii. Press F11 to start the installation.
ix. After completed installation , remove the installation CD/DVD and press Enter to reboot the host.
x. Press Enter to reboot the host. During the reboot operation, VFAT scratch and VMFS partitions are created on the disk.

2) Configuring IP Settings for VMware ESXi Hypervisor

i. Select Configure Management Network and press Enter.

ii. Select IP Configuration and press Enter.

iii. Select Set static IP address and network configuration then proceed by enter a the IP address, subnet mask, and default gateway and press Enter.


3) Establish connection between server and client.


4) vSphere installation on client workstation.



5) Virtual OS platform setup (for windows server 2008 R2)


i. In the Inventory panel, select the host machine proceeds by click create a new virtual machine on the Getting Started tab.

ii. Select Custom and click Next.

iii. Type a virtual machine name and click Next.

iv. Select a datastore in which to store the virtual machine files and click Next. The datastore must be large enough to hold the virtual machine and all of its virtual disk files.

v. Under Guest Operating System, select the operating system family (Microsoft Windows, Linux, Novell NetWare, Solaris, or other) and select the version from the drop-down list. This is the operating system for your virtual machine. Base your choice on your planned use of the virtual machine.

vi. Specify the size of the virtual disk and click Next. Enter the disk size in megabytes (MB) or gigabytes (GB). The default is 8GB. The virtual disk must be large enough to hold the guest operating system and all of the software that you intend to install, with room for data and growth.


vii. On the Ready to Complete New Virtual Machine page, review your selections and click Finish to create the new virtual machine.



PartedMagic..

LiveCD Operating System produce by Linux..
OS yg agak ringan hingga cuma running guna RAM..nama pon liveCD kan..
Famous features: GParted & CloneZilla..



i) CloneZilla


2) GParted



*To be continue...

17.12.2010@last friday was my last day as a student..
selamat tinggal alam student..
slamat datang alam kerjaya..
bukan 2 alam arahan dr. rambut cendawan ya..
agak murah rezeki ku..
2 bulan LI teros dpt keje..
kire cukup bulan ni da masok 4 bulan keje..
but still under probation..
better than dok umah xde keje..


:: Day 1 ::

- continue with the same task as last week but this one for VAS department
- few problem came up:
1) cannot login window after setup the domain, b4 this the dont have to key in any passwork to enter the window.
solution: set the username "MIS", leave the password empty and te domain is attached with "this computer".
2) window 7 cannot be able to support semantec antivirus 11.0.2000, so just let them use microsoft security essential as the backup antivirus.
- open my own RHB account during lunch
- after lunch, continue with the same job


:: Day 2 ::

- 9 am - 11 am: continue with MIS chackup task
- 11 am - 5 pm: explore HP ProCurve 2810 switch
* terminal configuration:
1)Connection = COM4 (depends on USB attachment)
2)Bit per second = 115200
3)Data bit = 8
4)parity = none
5)Stop bit = 1
6)Flow control = Xon/Xoff

- 5 pm - 7 pm: install window server 2008, Domain Name Services (DNS), Active Directory (AD), Network Access Protection (NAP)

Company: Unified Communication Holdings Limited Company

:: Day 1 ::

- Breafing by executive HR, mis sharina sulaiman
- Got my own desk and laptop (Dell)
- Breafing with the supervisor, mr. loo about company network architecture, problems
- got 1st task!!!
1) study about installation and configuration of Network Access Protection (NAP) in window server 2008. the implementation will be done after we got the device ready.
2) testing the admin, system/ power-on and HDD password on BIOS for all three type of laptop registered under the company (Dell, HP, IBM).

- mr. khairul (MIS admin) shows all the network device inside the server room (routers, switches, servers), also with its function. it was nice to see him.


:: Day 2 ::

- report to my supervisor the task that have been done.
- start implementing MIS services on each laptop under company propietry.
- thing that been checked:
1) join domain.(if not join, then it will be configured under unifiedcomms.com.my)
2) semantec antivirus.(if not installed yet, dwnld from serverand install it rigth away)
3) write down each f laptop model number and asset number.
4) setup admin and system/power-on password on bios.

* today's completeness = 16/113

- study lansweeper documentation before start play with it soon.


:: Day 3 ::

- Continue yesteday task.
- got complain from some user that semantec antivirus alway eat lot of memory during scanning state which they didn't even start.
- solve the problem by modify some semantec antivirus manager located on the server farm with mr. khairul. then right after some configuration, we test with a few antivirus client on users laptop and it working perfectly.mission accomplished!!!..
- start

:: Day 4 ::

- continue with the day 2 task (check some domain, antivirus,bios password, bla..bla..bla)
* total completeness = 34/113
* problem came up:
1) cannot even using google chrome after installed the semantec antivirus
2) HDD password frozen (need to update bios???)
3) window 7 cannot support with current version of semantec antivirus (how come???)
4) pirate OS (aiyyooo..ada jugak ka)
5) some of laptop (Dell) asking 4 HDD password (sian tuan pnyer laptop..)


:: Day 5 ::

- continue with the same task
- install sun wirewall on server for testing

sesi pencarian tmpt li start sejak bln mei lps
apply gne tenet, by hand tp sumer hampeh xde respon.
then tetibe dpt email jobstreet wat job fair kat PWTC.
ape slh nyer try test tgok..

hari beganti hari, minit beganti minit..
cari punyer cari punyer cari dpt la 4 ke 5 cmpny..
bleh thn offer2 dorg..
time pling best ble tgok reaksi dorg ble tgok resume..
pnuh ngn certificate especially CCNA proffesional..

then next week nyer bru la dpt bnyk call, email..
klia, mimos, neitonboard, redtone, unified n mcm2..
pk pnyer pk..i made my decision..
Unified Communication at seksyen 22, s.alam..
sori yg lain coz offer dr unified lg beshh..

mggu dpn nyer g la seksyen 22 (batu 3)..
jmpe mr. loo n manager hr..
borak2, bincang2..
confirm li sane..

company: Inified Communication
website: www.unifiedcomms.com
waktu keje: 9am-6pm (ahad pon kdng keje gak)
pakaian: "cincai2..no slipper..no shorts.. n no naked"
elaun: rm500 - 900
start li: 5/7/2010
environment: lab, office, kadang kne g customer site solve problem..
keje: cmpny ni provide service to front-end dr malaysia telecommunication campny (celcom,digi..) ke luar negara (south east asia, far east, midle east, africa,).. tp stakat li ni just wat keje2 network dlm cmpny je la mcm maintain server, wat network service n mcm2 lg.. mostly dorg gune juniper n 3com tp still gne cisco utk service/protocol yg high level.. tp keje agak mencabar n bnyk bnde baru kne blaja..ade tanyer gak skrng tgh ade projek pe..then die ckp tgh wat VLAN protocol..integrate vlan ngn active directory gune 3com n juniper..WTF!!! xpenah t'pk pon. nway intersting, menarik n mencabar.

umah sewa da dpt kat kota menuning..
around 10 - 15 dr office..
stadium dkt, bleh tgok selangor main lps nie..
skrng nie...
tggl tggu psm 2 abih..
selamat tggl melaka..
time konvo ngn honeymo0n bru dtg sini lg...