May 28th, 2010 by ZeEsH
You can use UNetbootin, a tool that allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD.
Download latest version of UNetbootin and install.
Tags: burn, ISO, unetbootin, USB, windows
Posted in randomness | No Comments »
May 28th, 2010 by ZeEsH
Open a terminal window – either login as administrator or run as sudo
hdiutil convert -format UDRW -o newimage.img originalimage.iso
Tags: convert, IMG, ISO, mac os x
Posted in randomness | No Comments »
May 28th, 2010 by ZeEsH
- Download the desired .img file
- Open a Terminal (in /Applications/Utilities/)
- Run diskutil list to get the current list of devices
- Insert your flash media
- Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)
- Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2)
- Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img, /dev/rdiskN is faster than /dev/diskN). If you see the error dd: Invalid number `1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M.
- Run diskutil eject /dev/diskN and remove your flash media when the command completes
Tags: burn, IMG, mac os x, USB
Posted in randomness | No Comments »
April 1st, 2010 by ZeEsH
If your work has a firewall and blocks some certain web pages then there is a way around this via proxy. You can use PHProxy. PHProxy is a web HTTP proxy programmed in PHP meant to bypass firewalls and access otherwise inaccessible resources (i.e. blocked websites).
You can download from Sourceforge here.
Then all you have to do to install is simply upload these files to a directory of your liking (prefrebly in its own directory):
- index.php
- index.inc.php
- style.css
Then you can access the proxy by entering your server ip or web address including the directory where you installed the files to. http://192.168.0.1/proxy (proxy is the directory i installed it on) or http://www.zeesh.co.uk/proxy
Tags: firewall, PHProxy, proxy
Posted in randomness | No Comments »
April 1st, 2010 by ZeEsH
If you have a linux server which has SSH enabled then you can redirect your traffic via SSH through your server. This is in case your in a public place using a free wifi hotspot and are needing a secure connection as to stop any man in the middle attacks.
- You will need the IP address of your linux server which has SSH enabled
- Connect to the server via SSH in terminal or your preferred SSH client – ssh root@192.168.0.1(enter your server ip address here) -D 8080.
- The -D option specified a local dynamic application-level port forwarding. Any connection made to the specified port goes through the tunnel as a SOCKS4 or SOCKS5 proxy.
- Now all you have to do is enable your browser to use a proxy. You will need to configure your browser for a manual proxy using SOCKS Host (SOCKS v5). The IP address will be localhost and the port will be the one we just setup, 8080.
Tags: server, SSH, VPS
Posted in randomness | No Comments »