background preloader

Linux

Facebook Twitter

Installing Xen On CentOS 5.0 (i386. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 06/08/2007 This tutorial provides step-by-step instructions on how to install Xen (version 3.0.3) on a CentOS 5.0 system (i386). Xen lets you create guest operating systems (*nix operating systems like Linux and FreeBSD), so called "virtual machines" or domUs, under a host operating system (dom0). Using Xen you can separate your applications into different virtual machines that are totally independent from each other (e.g. a virtual machine for a mail server, a virtual machine for a high-traffic web site, another virtual machine that serves your customers' web sites, a virtual machine for DNS, etc.), but still use the same hardware.

This saves money, and what is even more important, it's more secure. If the virtual machine of your DNS server gets hacked, it has no effect on your other virtual machines. Plus, you can move virtual machines from one Xen server to the next one. 1 Preliminary Note mkdir /vm uname -r Run. 25 More - Sick Linux Commands. If the machine is hanging and the only help would be the power button, this key-combination will help to reboot your machine (more or less) gracefully.

Save your file before trying this out, this will reboot your machine without warning! Using +F will put less in follow mode. This works similar to ‘tail -f’. To stop scrolling, use the interrupt. Then you’ll get the normal benefits of less (scroll, etc.). Pressing SHIFT-F will resume the ‘tailling’. 12) Set audible alarm when an IP address comes online ping -i 60 -a IP_address Waiting for your server to finish rebooting? 13) Backticks are evil echo “The date is: $(date +%D)” This is a simple example of using proper command nesting using $() over “. Program1 $(program2 $(program3 $(program4)))versus program1 `program2 \`program3 \`program4\`\``Second, they’re easier to read, then trying to decipher the difference between the backtick and the singlequote: `’. 14) Simulate typing This will output the characters at 10 per second. lsof -i alias ‘ps?’ Life in Text Mode :: Phil! Gold. I primarily use Unix-based computers, mostly Linux. On those computers, I live in text mode.

This entry is an attempt to document the software I find most useful to my text-mode guerrilla lifestyle. Included are links to the programs I rely on, links to alternative programs, and links to my config files. screen (.screenrc, .screenrc-mithrandir). Simply indispensable. It slices and dices console sessions. Zsh (.zshrc, .zshenv, .zshprompt). Irssi (config, theme). Bitlbee. Snownews. curses-based RSS aggregator. Mutt (.muttrc, config directory). Procmail (.procmailrc). Emacs (.emacs). w3m. Moosic (config). Mplayer (config). Surfraw (.surfraw.conf). surfraw is a collection of command-line based jumping-points to various web-based information, mostly searches. Wget. Tdl. Those are the bigger programs that jump to mind most readily. I do normally run X; it lets me have multiple xterms on the screen at once. There are a couple of GUI programs I use regularly. Linux Commands - A practical reference.

25 Best SSH Commands / Tricks. OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. The encryption that OpenSSH provides has been strong enough to earn the trust of Trend Micro and other providers of cloud computing.Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions. SSH is an awesome powerful tool, there are unlimited possibility when it comes to SSH, heres the top Voted SSH commands 1) Copy ssh keys to user@host to enable password-less ssh logins. ssh-copy-id user@host To generate the keys use the command ssh-keygen 2) Start a tunnel from some machine’s port 80 to your local post 2001 ssh -N -L2001:localhost:80 somemachine Have Fun.