Senin, 14 Februari 2011

USB Win 7 and Win XP on one stick


In this guide, we will show you how to create a multi-boot Windows USB flash drive with Windows XP and Windows 7. Once you have this multi-boot USB, you will be able to install XP and Windows 7 from the USB stick.
Required things:
1. A USB flash drive with a minimum of 4 GB space
2. Windows 7 installation DVD
3. Windows XP installation CD/DVD
Procedure:
1. Connect the USB flash drive to your Windows machine and move data present on the USB flash drive to a safer location.

2. Download WinSetupFromUSB Zip file, extract the contents to desktop. Open the folder, right-click on WinSetupFromUSB (.exe) file and select Run as administrator option.








3. Once the tool launched, select the following options:
# Removable
# Windows will be installed in \WINDOWS


Also make sure that your USB flash is shown in USB Disk Selection box. Once you are done with the above mentioned tasks, click RMPrepUSB button.

4. This will launch RMPREPUSB tool. In this tool, you will need to enable the below mentioned options.

A. Make sure that your USB flash drive is selected in the first box
B. Under Boot Options, select XP/BartPE bootable [NTLDR]
C. Under File System and OverRides section, select Boot as HDD (C:2PNST), and NTFS options
D. Select File –> USB option in Image Tools box



Finally, click Prepare Drive button to see a message from the tool. Click Ok button. Click Ok button on the next screen as well.


5. Wait for a few minutes till you get a Command Prompt message saying “Operation Completed”.

6. Close the PREPUSB tool.

7. Insert your XP CD/DVD into the optical drive. In the WinSetupFromUSB tool, click Browse button next to Windows 2000/XP/2003 Source box to browse to the XP installation files present on your CD/DVD. Alternatively, if you have the XP installation files on a local drive, you can browse to that folder.

8. Click Go button and wait for a few minutes to see the following screen:
Click Ok button. Remove the XP CD/DVD from the optical drive and insert Windows 7 DVD.

9. Select Vista/7 setup/PE/RecoveryISO option and browse to the Windows 7 installation files folder. Finally, click Go button. Please note that this operation may take hours. Don’t close the application if you see “Not Responding” message in the title bar.


10. Wait for the Done message before you click the Exit button.


11. Now, it’s time to download another small file named Bootfiles from here. Extract the contents to desktop. Copy menu.lst and winsetup.lst files to the USB flash drive and replace the old files with new ones. Click Copy and Replace option when you are prompted with the Copy File message.


12. Your multi-boot USB flash drive is ready. Reboot your machine and start installing XP or Windows 7 from the USB.


Note: When you select Windows XP setup in the boot screen, you will see two options:
First part of Windows XP setup
Second part of Windows XP setup
You should choose the first part of Windows XP setup, but on the following restarts you choose the second part of the setup.

Sabtu, 12 Februari 2011

Optimal Squid setting for me

ini saya aplikasikan pada ClearOS 5.2 sp1 SQUID 2.6.STABLE21
edit pada squid.conf nya
menggunakan WinSCP untuk membuka file sharing pada clearOS pilish protocolnya SCP yach..

download linknya http://winscp.net/eng/download.php#download2

# webconfig: http_port_start
http_port 192.168.1.1:3128 transparent
http_port 127.0.0.1:3128 transparent
# webconfig: http_port_end
hierarchy_stoplist cgi-bin ? localhost
acl QUERY urlpath_regex cgi-bin \? localhost
no_cache deny QUERY
ipcache_size 8192
cache_mem 256 MB
maximum_object_size 204800 KB
store_dir_select_algorithm least-load
minimum_object_size 0 KB
range_offset_limit -1
maximum_object_size 200 MB
cache_swap_low 98
cache_swap_high 99
ipcache_low 98
ipcache_high 99
fqdncache_size 8192
cache_dir ufs /var/spool/squid 10240 16 256
redirect_program /usr/sbin/adzapper
redirect_children 10
auth_param basic program /usr/lib/squid/squid_ldap_auth -b “dc=localhost,dc=net” -f “(&(objectClass=pcnProxyAccount)(uid=%s))” -h 127.0.0.1 -D “cn=manager,cn=internal,dc=smkyapisbiak,dc=net” -W /etc/squid/ldap.conf -s one -v 3 -U pcnProxyPassword -d
auth_param basic children 5
auth_param basic realm ClarkConnect Community Edition – Web Proxy
auth_param basic credentialsttl 2 hours
refresh_pattern -i ^http://*.windowsupdate.com/.* 1440 99% 518400 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(tiff|mov|avi|qt|mpeg|flv|ra|rm|wmv|divx)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(class|css|js|gif|jpg|ps)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(jpe|jpeg|png|bmp|tif)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(mpg|mpe|wav|au|mid|mp3|mp4|ac4|swf)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(zip|gz|arj|lha|lzh|7z)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(rar|tgz|tar|exe|bin|rpm|iso)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(hqx|pdf|rtf|doc|swf|xls|ppt|pdf|docx|xlsx)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i \.(inc|cab|ad|txt|dll|dat)$ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i ^http://*.zynga.com/.* 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i ^http://*.friendster.com/.* 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i ^http://*.kompas.com/.* 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i ^http://*.detik.com/.* 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i ^http://*.facebook.com/.* 1440 90% 432000 override-expire override-lastmod reload-into-ims
refresh_pattern -i ^http://*.bhinneka.com/.* 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern -i ^http://*.fbcdn.net/.* 1440 90% 432000 override-expire override-lastmod reload-into-ims
refresh_pattern . 720 50% 432000 reload-into-ims override-lastmod
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
half_closed_clients off
shutdown_lifetime 10 seconds
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.0/8
# webconfig: acl_start
acl webconfig_lan src 192.168.1.0/24
acl webconfig_to_lan dst 192.168.1.0/24
# webconfig: acl_end
acl to_localhost dst 127.0.0.0/8
acl password proxy_auth REQUIRED
acl privoxy dstdomain config.privoxy.org
acl SSL_ports port 443 563
acl SSL_ports port 81 10000
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 81 82 83 10000 # Web-based administration tools
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl sex url_regex -i “/etc/squid/sex”
deny_info ERR_ACCESS_DENIED sex
http_access deny sex
acl our_networks src 192.168.1.0/24 #IP Network Lokal
http_access allow our_networks
http_access deny privoxy
http_access allow localhost
http_access allow webconfig_to_lan
http_access allow webconfig_lan
http_access deny all
http_reply_access allow all
dns_testnames 5
icp_access allow all
reply_body_max_size 104857600 allow all
cache_effective_user squid
cache_effective_group squid
memory_pools off
memory_pools_limit 2048 MB
forwarded_for off
store_avg_object_size 50 KB
reload_into_ims on
error_directory /etc/squid/errors
maximum_single_addr_tries 3
coredump_dir /usr/local/squid/var/cache
balance_on_multiple_ip on
pipeline_prefetch on
positive_dns_ttl 1 year
connect_timeout 1 minute

# Filter Download
acl download url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .tar .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov .msi .mp4
# disini akan kita buat 2 aturan
delay_pools 2
# aturan pertama ini tidak ada batasan, sesuai dengan poin 1 dan 2 di rule sederhana tadi
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
# aturan 2, setelah download 2048000 bytes mk download menjadi 15000 bytes/s
delay_class 2 2
delay_parameters 2 -1/10240000 20000/10241000

delay_access 2 allow download
delay_access 2 deny all
delay_access 1 deny download
delay_access 1 allow all
#

coredump_dir /var/spool/squid
client_persistent_connections on
server_persistent_connections off
persistent_connection_after_error on
ie_refresh on
vary_ignore_expire on

ini nyontek dari
http://tamampapua.wordpress.com/2010/02/02/squid-proxy-clarkconnect-community-edition-jiliid-2-2/#more-972

makasih yach buat adminnya

Jumat, 18 Juni 2010

1st Project for My bike

sekitar pertengahan April tunggangan ku berubah dari sebelumnya motor bebek (SMASH CW) sekarang menjadi motor laki-laki sejati (PULSAR 200CC). hehehehehe..........
setelah menyemplak motor kopling terasa bahwa kopling nya kurang nyaman menembus kemacetan di jakarta ini. apalagi jarak tempuh dari kantor ke rumah jalanannya 80% macet. fuuiiihh...... stresssss.....
setelah berpikir dan memperhatikan kemungkinan untuk memperbaikinya. terpikirlah sebuah ide untuk memasang alat ubtuk membuat kopling menjadi entang dengan tidak melakukan perombakan total di dalam mesin. alis rubahan diluar mesin saja. setelah searching dan mencari referensi di google tiba-tiba muncul kata kunci "kopling hidrolik". widiiiiihhhh..... kebayang dech harus diapain tuch motor. masalah berikutnya adalah dimana belinya.....????

langkah selanjutnya yach searching....searching...... di mbah Google....
nemu referensi di si KKUMIS biasa orang sebut.(padahal ga tau siapa itu, hehehehe....) harganya sekitar 1 juta'an lebih... itu juga hand made....

nemu lagi di kompas online berikut beritanya. [links]http://otomotif.kompas.com/read/2010/05/20/17580481/Kopling.Hidrolik.dan.Cover.CVT.Ala.Thailand[links]

masih mahal semua... hehehehe....

nah sekarang mikirin gimana caranya buat yang murah....
masih searching....searching......
tunggu aja kabar selanjutnya yach.....

percoba'an pertama ku gagal...
bahan percoba'annya
1. slave/kaliper kopling mobil kijang
2. master rem kanan merek ride'it
3. selang dari mobil kijang
total kira2 dah abis 200rban buat semua itu.
huffff.....

tunggu aja dech, mungkin ntar otaknya dapet lagi cara lain.....