<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-26322834</id><updated>2011-12-14T12:00:09.230+08:00</updated><title type='text'>ba-zoo-ra</title><subtitle type='html'>Tech News | Tutorials | More ...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>80</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26322834.post-3181133159341349524</id><published>2011-09-23T14:20:00.000+08:00</published><updated>2011-09-23T14:20:21.487+08:00</updated><title type='text'>Securing OpenSSH</title><content type='html'>OpenSSH (or Secure SHell) has become a de facto standard for remote access replacing the telnet protocol. SSH has made protocols such as telnet redundant due, in most part, to the fact that the connection is encrypted and passwords are no longer sent in plain text for all to see.&lt;br /&gt;&lt;br /&gt;However, a default installation of ssh isn't perfect, and when running an ssh server there are a few simple steps that can dramatically harden an installation.&lt;br /&gt;&lt;br /&gt;1. Use Strong Passwords/Usernames&lt;br /&gt;&lt;br /&gt;One of the first things you'll notice if you have ssh running and exposed to the outside world is that you'll probably log attempts by hackers to guess your username/password. Typically a hacker will scan for port 22 (the default port on which ssh listens) to find machines with ssh running, and then attempt a brute-force attack against it. With strong passwords in place, hopefully any attack will be logged and noticed before it can succeed.&lt;br /&gt;&lt;br /&gt;Hopefully you already use strong passwords, but if you are not then try to choose passwords that contains:&lt;br /&gt;&lt;br /&gt;    * Minimum of 8 characters&lt;br /&gt;    * Mix of upper and lower case letters&lt;br /&gt;    * Mix of letters and numbers&lt;br /&gt;    * Non alphanumeric characters (e.g. special characters such as ! " £ $ % ^ etc) &lt;br /&gt;&lt;br /&gt;The benefits of strong passwords aren't specific to ssh, but have an impact on all aspects of systems security. Further information on passwords can be found in the CentOS documentation:&lt;br /&gt;&lt;br /&gt;http://www.centos.org/docs/4/html/rhel-sg-en-4/s1-wstation-pass.html&lt;br /&gt;&lt;br /&gt;If you absolutely can't prevent your users choosing weak passwords, then consider using randomly generated or difficult to guess usernames for your user accounts. If the bad guys can't guess the username then they can't brute force the password. However, this is still security through obscurity and be aware of information leakage of usernames from things such as email sent from user accounts.&lt;br /&gt;&lt;br /&gt;2. Disable Root Logins&lt;br /&gt;&lt;br /&gt;SSH server settings are stored in the /etc/ssh/sshd_config file. To disable root logins, make sure you have the following entry:&lt;br /&gt;&lt;br /&gt;# Prevent root logins:&lt;br /&gt;PermitRootLogin no&lt;br /&gt;&lt;br /&gt;and restart the sshd service:&lt;br /&gt;&lt;br /&gt;service sshd restart&lt;br /&gt;&lt;br /&gt;If you need root access, login as a normal user and use the su command.&lt;br /&gt;&lt;br /&gt;3. Limit User Logins&lt;br /&gt;&lt;br /&gt;SSH logins can be limited to only certain users who need remote access. If you have many user accounts on the system then it makes sense to limit remote access to only those that really need it thus limiting the impact of a casual user having a weak password. Add an AllowUsers line followed by a space separated list of usernames to /etc/ssh/sshd_config. For example:&lt;br /&gt;&lt;br /&gt;AllowUsers alice bob&lt;br /&gt;&lt;br /&gt;and restart the sshd service.&lt;br /&gt;&lt;br /&gt;4. Disable Protocol 1&lt;br /&gt;&lt;br /&gt;SSH has two protocols it may use, protocol 1 and protocol 2. The older protocol 1 is less secure and should be disabled unless you know that you specifically require it. Look for the following line in the /etc/ssh/sshd_config file, uncomment it and amend as shown:&lt;br /&gt;&lt;br /&gt;# Protocol 2,1&lt;br /&gt;Protocol 2&lt;br /&gt;&lt;br /&gt;and restart the sshd service.&lt;br /&gt;&lt;br /&gt;5. Use a Non-Standard Port&lt;br /&gt;&lt;br /&gt;By default, ssh listens for incoming connections on port 22. For a hacker to determine ssh is running on your machine, he'll most likely scan port 22 to determine this. An effective method is to run ssh on a non-standard port. Any unused port will do, although one above 1024 is preferable. Many people choose 2222 as an alternative port (as it's easy to remember), just as 8080 is often known as the alternative HTTP port. For this very reason, it's probably not the best choice, as any hacker scanning port 22 will likely also be scanning port 2222 just for good measure. It's better to pick some random high port that's not used for any known services. To make the change, add a line like this to your /etc/ssh/sshd_config file:&lt;br /&gt;&lt;br /&gt;# Run ssh on a non-standard port:&lt;br /&gt;Port 2345  #Change me&lt;br /&gt;&lt;br /&gt;and restart the sshd service. Don't forget to then make any necessary changes to port forwarding in your router and any applicable firewall rules.&lt;br /&gt;&lt;br /&gt;Because ssh is no longer listening for connections on the standard port, you will need to tell your client what port to connect on. Using the ssh client from the command line, we may specify the port using the -p switch:&lt;br /&gt;&lt;br /&gt;$ ssh -p 2345 myserver&lt;br /&gt;&lt;br /&gt;or if you are using the fish protocol in konqueror, for example:&lt;br /&gt;&lt;br /&gt;fish://myserver:2345/remote/dir&lt;br /&gt;&lt;br /&gt;If you are thinking that this sounds like a pain having to specify the port each time you connect, simply add an entry specifying the port in your local ~/.ssh/config file:&lt;br /&gt;&lt;br /&gt; # Client ~/.ssh/config&lt;br /&gt;Host myserver&lt;br /&gt;HostName 72.232.194.162&lt;br /&gt;        User bob&lt;br /&gt;        Port 2345&lt;br /&gt;&lt;br /&gt;~/.ssh/config must have the following permissions:&lt;br /&gt;&lt;br /&gt;$ chmod 600 ~/.ssh/config&lt;br /&gt;&lt;br /&gt;6. Filter SSH at the Firewall&lt;br /&gt;&lt;br /&gt;If you only need remote access from one IP address (say from work to your home server), then consider filtering connections at your firewall by either adding a firewall rule on your router or in iptables to limit access on port 22 to only that specific IP address. For example, in iptables this could be achieved with the following type of rule:&lt;br /&gt;&lt;br /&gt;iptables -A INPUT -p tcp -s 72.232.194.162 --dport 22 -j ACCEPT&lt;br /&gt;&lt;br /&gt;SSH also natively supports TCP wrappers and access to the ssh service may be similarly controlled using hosts.allow and hosts.deny.&lt;br /&gt;&lt;br /&gt;If you are unable to limit source IP addresses, and must open the ssh port globally, then iptables can still help prevent brute-force attacks by logging and blocking repeated attempts to login from the same IP address. For example,&lt;br /&gt;&lt;br /&gt;iptables -A INPUT -p tcp --dport 22 -m recent --set --name ssh --rsource&lt;br /&gt;iptables -A INPUT -p tcp --dport 22 -m recent ! --rcheck --seconds 60 --hitcount 4 --name ssh --rsource -j ACCEPT&lt;br /&gt;&lt;br /&gt;The first rule records the IP address of each attempt to access port 22 using the recent module. The second rule checks to see if that IP address has attempted to connect 4 or more times within the last 60 seconds, and if not then the packet is accepted. Note this rule would require a default policy of DROP on the input chain.&lt;br /&gt;&lt;br /&gt;Here's another example, this time using iptables limit module to limit the the number of connections to the ssh port to 3 per minute:&lt;br /&gt;&lt;br /&gt;iptables -A INPUT -p tcp --dport 22 --syn -m limit --limit 1/m --limit-burst 3 -j ACCEPT&lt;br /&gt;iptables -A INPUT -p tcp --dport 22 --syn -j DROP&lt;br /&gt;&lt;br /&gt;The first line will accept new connections on port 22 provided that IP address hasn't made more than 3 connection attempts in the last minute. If more than 3 connection attempts have been made within the last minute, then the second line will DROP the connection.&lt;br /&gt;&lt;br /&gt;Don't forget to change the port as appropriate if you are running ssh on a non-standard port. Where possible, filtering at the firewall is an extremely effective method of securing access to an ssh server.&lt;br /&gt;&lt;br /&gt;7. Use Public/Private Keys for Authentication&lt;br /&gt;&lt;br /&gt;Using encrypted keys for authentication offers two main benefits. Firstly, it is convenient as you no longer need to enter a password (unless you encrypt your keys with password protection) if you use public/private keys. Secondly, once public/private key pair authentication has been set up on the server, you can disable password authentication completely meaning that without an authorized key you can't gain access - so no more password cracking attempts.&lt;br /&gt;&lt;br /&gt;It's a relatively simple process to create a public/private key pair and install them for use on your ssh server.&lt;br /&gt;&lt;br /&gt;First, create a public/private key pair on the client that you will use to connect to the server (you will need to do this from each client machine from which you connect):&lt;br /&gt;&lt;br /&gt;$ ssh-keygen -t rsa&lt;br /&gt;&lt;br /&gt;This will create two files in your (hidden) ~/.ssh directory called id_rsa and id_rsa.pub. id_rsa is your private key and id_rsa.pub is your public key.&lt;br /&gt;&lt;br /&gt;If you don't want to still be asked for a password each time you connect, just press enter when asked for a password when creating the key pair. It is up to you to decide whether or not you should password encrypt your key when you create it. If you don't password encrypt your key, then anyone gaining access to your local machine will automatically have ssh access to the remote server. Also, root on the local machine has access to your keys although one assumes that if you can't trust root (or root is compromised) then you're in real trouble. Encrypting the key adds additional security at the expense of eliminating the need for entering a password for the ssh server only to be replaced with entering a password for the use of the key.&lt;br /&gt;&lt;br /&gt;Now set permissions on your private key:&lt;br /&gt;&lt;br /&gt;$ chmod 700 ~/.ssh&lt;br /&gt;$ chmod 600 ~/.ssh/id_rsa &lt;br /&gt;&lt;br /&gt;Copy the public key (id_rsa.pub) to the server and install it to the authorized_keys list:&lt;br /&gt;&lt;br /&gt;$ cat id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys&lt;br /&gt;&lt;br /&gt;Note: once you've imported the public key, you can delete it from the server.&lt;br /&gt;&lt;br /&gt;and finally set file permissions on the server:&lt;br /&gt;&lt;br /&gt;$ chmod 700 ~/.ssh&lt;br /&gt;$ chmod 600 ~/.ssh/authorized_keys&lt;br /&gt;&lt;br /&gt;The above permissions are required if StrictModes is set to yes in /etc/ssh/sshd_config (the default).&lt;br /&gt;&lt;br /&gt;Now when you login to the server you won't be prompted for a password (unless you entered a password when you created your key pair). By default, ssh will first try to authenticate using keys. If no keys are found or authentication fails, then ssh will fall back to conventional password authentication.&lt;br /&gt;&lt;br /&gt;Once you've checked you can successfully login to the server using your public/private key pair, you can disable password authentication completely by adding the following setting to your /etc/ssh/sshd_config file:&lt;br /&gt;&lt;br /&gt;# Disable password authentication forcing use of keys&lt;br /&gt;PasswordAuthentication no&lt;br /&gt;&lt;br /&gt;8. Frequently Asked Question (FAQ)&lt;br /&gt;&lt;br /&gt;Q: CentOS uses version X of OpenSSH and the latest version is version Y. Version X contained a serious security flaw, should I upgrade?&lt;br /&gt;&lt;br /&gt;A: No. The Upstream Vendor has a policy of backporting security patches from the latest releases into the current distribution version. As long as you have the latest updates applied for your CentOS distribution you are fully patched. See here for further details of backporting security patches:&lt;br /&gt;&lt;br /&gt;http://www.redhat.com/advice/speaks_backport.html&lt;br /&gt;&lt;br /&gt;9. Links&lt;br /&gt;&lt;br /&gt;http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-openssh.html&lt;br /&gt;&lt;br /&gt;http://www.dragonresearchgroup.org/insight/sshpwauth-tac.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-3181133159341349524?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/3181133159341349524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=3181133159341349524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/3181133159341349524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/3181133159341349524'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2011/09/securing-openssh.html' title='Securing OpenSSH'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-3478220006330362879</id><published>2011-08-08T10:57:00.004+08:00</published><updated>2011-08-08T11:02:58.815+08:00</updated><title type='text'>vSphere - Virtual Center Server Service Stops</title><content type='html'>&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="twoColFixLtHdr" colspan="3"&gt;&lt;h2&gt;&lt;span class="PNLBold"&gt;&lt;span class="PNLBody"&gt;&lt;b&gt;Problem&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;         &lt;td class="twoColFixLtHdr" colspan="3"&gt;If your &lt;a href="http://www.petenetlive.com/KB/Article/TechTerms.html#VC"&gt;VC&lt;/a&gt; Database reaches 4&lt;a href="http://www.petenetlive.com/KB/Article/TechTerms.html#GB"&gt;GB&lt;/a&gt;,  the VMware Virtual  Centre Server service will stop. A restart of it  will result in the service  stopping again within a minute.&lt;br /&gt;You will also see see this event logged.&lt;br /&gt;&lt;div align="center"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00008.png" rel="lightbox"&gt;&lt;img border="0" height="381" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00008s.png" vspace="5" width="550" /&gt;&lt;/a&gt;&lt;/div&gt;Description:&lt;br /&gt;Could not allocate space for object   'dbo.VPX_HOST_VM_CONFIG_OPTION'.'PK_VPX_HOST_VM_CONFIG_OPTION' in  database  'VIM_VCDB' because the 'PRIMARY' filegroup is full. Create  disk space by deleting  unneeded files, dropping objects in the  filegroup, adding additional files to  the filegroup, or setting  autogrowth on for existing files in the filegroup &lt;br /&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;         &lt;td class="twoColFixLtHdr" colspan="3"&gt;&lt;h3&gt;&lt;span class="PNLBold"&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;         &lt;td class="twoColFixLtHdr" colspan="3"&gt;&lt;div class="PNLBody"&gt;1. Download and install the &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=8961" target="_new"&gt;Microsft SQL Server Management Studio Express&lt;/a&gt;.&lt;/div&gt;&lt;div class="PNLBody"&gt;2. Connect to Servername\SQLEXP_VIM and login with Windows Authentication.&lt;/div&gt;&lt;div align="center" class="PNLBody"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00001.png" rel="lightbox"&gt;&lt;img border="0" height="304" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00001.png" vspace="5" width="415" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;3. Expand databases &amp;gt;            Expand VIM_VCDB &amp;gt;            Expand Tables &amp;gt;            Open table dbo.VPX_PARAMETER:&lt;/div&gt;&lt;div align="center" class="PNLBody"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00002.png" rel="lightbox"&gt;&lt;img border="0" height="218" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00002.png" vspace="5" width="307" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;4. Modify event.maxAge to a be 30 &amp;gt;            Modify event.maxAgeEnabled to value of true. &lt;/div&gt;&lt;div align="center" class="PNLBody"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00003.png" rel="lightbox"&gt;&lt;img border="0" height="211" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00003.png" vspace="5" width="513" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;&lt;br /&gt;5. Modify task.maxAge to be 30 &amp;gt;            Modify task.maxAgeEnabled to a value of true.&lt;/div&gt;&lt;div align="center" class="PNLBody"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00004.png" rel="lightbox"&gt;&lt;img border="0" height="156" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00004.png" vspace="5" width="533" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;5. Then run the built in stored procedure: from the  VCDB &amp;gt; Programmability &amp;gt; Stored Procedures.&lt;/div&gt;&lt;div align="center" class="PNLBody"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00005.png" rel="lightbox"&gt;&lt;img border="0" height="387" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00005.png" vspace="5" width="365" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;6. Right Click  dbo.cleanup_events_tasks_proc and click "Execute Stored Procedure".&lt;/div&gt;&lt;div align="center" class="PNLBody"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00006.png" rel="lightbox"&gt;&lt;img border="0" height="225" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00006.png" vspace="5" width="323" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;7. This will purge the data from tables: vpx_event,  vpx_event_arg and vpx_task based on the date specified for maxAge.&lt;/div&gt;&lt;div align="center" class="PNLBody"&gt;&lt;a href="http://www.petenetlive.com/KB/Media/0000479/00007.png" rel="lightbox"&gt;&lt;img border="0" height="494" hspace="5" src="http://www.petenetlive.com/KB/Media/0000479/00007.png" vspace="5" width="550" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;8. When this has sucessfully completed, close the SQL Management Studio down &amp;gt;            Then start the VMware Virtual Centre Server service.&lt;/div&gt;&lt;div align="left" class="PNLBody"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;         &lt;td class="twoColFixLtHdr" colspan="3"&gt;&lt;span class="PNLBody"&gt;Please  be aware, all information is provided free, but it does cost me to have  this site hosted, if I've helped you in any way, or saved you some  time/cost please take time  to &lt;a href="http://www.blogger.com/post-edit.g?blogID=26322834&amp;amp;postID=3478220006330362879"&gt;make a donation&lt;/a&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span class="PNLBody"&gt;If you have anything to add to an article, or have an article you would like us to publish please feel free to &lt;a href="http://www.blogger.com/post-edit.g?blogID=26322834&amp;amp;postID=3478220006330362879"&gt;contact PeteNetLive.&lt;/a&gt; (Please be aware I get a &lt;b&gt;LOT&lt;/b&gt; of email, I cannot assist and fix everyone's problems, please do not be offended if you do not get a response).&lt;/span&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;         &lt;td class="twoColFixLtHdr" colspan="3"&gt;&lt;h2&gt;&lt;span class="PNLBold"&gt;&lt;span class="PNLBody"&gt;References - Credits - Or External Links&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;         &lt;td class="twoColFixLtHdr style15" colspan="3"&gt;&lt;div class="PNLBody"&gt;All Credit to Andrew Dorrian &amp;amp; http://www.petenetlive.com/KB/Article/0000479.htm&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-6619392958119924";/* ad_080811 */google_ad_slot = "2974729974";google_ad_width = 468;google_ad_height = 60;//--&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-3478220006330362879?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/3478220006330362879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=3478220006330362879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/3478220006330362879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/3478220006330362879'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2011/08/vsphere-virtual-center-server-service.html' title='vSphere - Virtual Center Server Service Stops'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-322730561793117219</id><published>2011-06-09T10:45:00.000+08:00</published><updated>2011-06-09T10:45:44.124+08:00</updated><title type='text'>How to Save Flash Games &amp; SWF</title><content type='html'>&lt;h2&gt;Saving Flash files from Firefox&lt;/h2&gt;&lt;b&gt;Firefox for Newbies&lt;/b&gt;&lt;br /&gt;a. Click &lt;b&gt;Tools - Page Info&lt;/b&gt;&lt;br /&gt;b. Click the &lt;b&gt;Media Tab&lt;/b&gt; on the Page Info Windows&lt;br /&gt;c.  The media tab has a complete list (with preview) of Images, CSS Files  and Shockwave Flash files that were downloaded by the Firefox browser  while rendering (loading) the page.&lt;br /&gt;d. Scroll down the list and locate the swf file.&lt;br /&gt;e. Click the "Save As" button. Select some directory on your hard drive and save the file (No need for a third-party plug-in)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Firefox for Geeks and Power Users&lt;/b&gt;&lt;br /&gt;a. Type about:blank in the Firefox address bar&lt;br /&gt;b. Now click List cache entries or directly type &lt;b&gt;about:cache?device=disk&lt;/b&gt; (Disk cache device)&lt;br /&gt;c.  Press Ctrl+F and try to location the flash file by typing some part of  website URL or the flash file name or just .swf. After some hit and  trial, you should be able to locate the swf file URL&lt;br /&gt;d. Click the SWF URL to open the Cache Entry Information page. Right click on the link and choose "Save link as"&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;How to save flash in IE browser&lt;/h2&gt;a. Click &lt;b&gt;Tools - Internet Options&lt;/b&gt;&lt;br /&gt;b. In the General Tab, click the Settings button available in the Temporary Internet Files group.&lt;br /&gt;c.  Click View Files to open your Temporary Internet Files folder.  Depending upon your IE settings, the Temp. folder can contain tens of  thousands of files.&lt;br /&gt;d. Click View - Details. Now click View - Arrange  Icons By - Internet Address. Depending upon the webpage, there could  one or more Flash files (Shockwave Flash Object) under the Inernet  Address.&lt;br /&gt;e. Once you find the right flash file, right-click and choose Copy. Then paste the swf file in any other directory. Be sure to&lt;br /&gt;keep the page and IE open to avoid purging of the cache file.&lt;br /&gt;&lt;br /&gt;For newbies, I suggest the following approaches:&lt;br /&gt;1. Get a download accelerator like Flashget and tell it to automatically download the shockwave extention (*.swf)&lt;br /&gt;2. Or download a free IE plug-in for saving flash files.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to save Flash files from Opera or Google Chromebrowser&lt;/b&gt;&lt;br /&gt;Just like IE, these browsers store the flash files in the browser cache.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;source:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;http://labnol.blogspot.com/2005/11/save-flash-from-firefox-and-ie.html&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-322730561793117219?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/322730561793117219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=322730561793117219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/322730561793117219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/322730561793117219'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2011/06/how-to-save-flash-games-swf.html' title='How to Save Flash Games &amp; SWF'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-38263465278978809</id><published>2011-01-17T14:32:00.002+08:00</published><updated>2011-01-17T14:32:58.416+08:00</updated><title type='text'>Converting 32bit RRD to 64bit RRD</title><content type='html'>&lt;h1 class="entry-title"&gt;&lt;span style="font-size: small;"&gt;Converting 32bit RRD to 64bit RRD (moving cacti between architectures)&lt;/span&gt;&lt;/h1&gt;On the 32 bit machine in /var/www/cacti/rra/ run in SSH:&lt;div class="entry-content"&gt; &lt;blockquote&gt;for i in `find -name "*.rrd"`; do rrdtool dump $i &amp;gt; $i.xml; done&lt;/blockquote&gt;Transfer xml files to the other 64 bit machine and the same location.&lt;br /&gt;On the 64 bit machine run in SSH:&lt;br /&gt;&lt;blockquote&gt;for i in `find -name "*.xml"`; do rrdtool restore $i `echo $i |sed s/.xml//g`; done&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-38263465278978809?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/38263465278978809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=38263465278978809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/38263465278978809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/38263465278978809'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2011/01/converting-32bit-rrd-to-64bit-rrd.html' title='Converting 32bit RRD to 64bit RRD'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-5648003683448508499</id><published>2011-01-13T07:31:00.000+08:00</published><updated>2011-01-13T07:31:00.419+08:00</updated><title type='text'>Disable memory ballooning in VMWare</title><content type='html'>Connect directly to the ESX Server host where the virtual machine resides on, using Virtual Infrastructure Client (VI Client).&lt;br /&gt;- Shut down the virtual machine.&lt;br /&gt;- Right-click on the virtual machine listed on the Inventory panel and click Edit Settings.&lt;br /&gt;- Click the Options tab and select General.&lt;br /&gt;- Click Configuration Parameters.&lt;br /&gt;- Click Add row and add the parameter sched.mem.maxmemctl in the text box.&lt;br /&gt;- Click on the row next to it and add 0 in the text box.&lt;br /&gt;- Click OK to save changes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-5648003683448508499?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/5648003683448508499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=5648003683448508499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5648003683448508499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5648003683448508499'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2011/01/disable-memory-ballooning-in-vmware.html' title='Disable memory ballooning in VMWare'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-7039139824130469277</id><published>2010-08-05T11:40:00.002+08:00</published><updated>2010-08-05T11:41:54.763+08:00</updated><title type='text'>Backup Cisco IOS stored in diffent directory</title><content type='html'>1. To view flash content:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;3550-SW1#dir flash:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;Directory of flash:/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;4 -rwx 796 Mar 01 1993 02:33:32 vlan.dat&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;5 -rwx 2783 Mar 01 1993 01:25:54 config.text&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;8 drwx 192 Mar 01 1993 00:04:30 c3550-i5q3l2-mz.121-14.EA1a&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;7 -rwx 2683 Mar 01 1993 02:35:26 config.old&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;86 -rwx 5 Mar 01 1993 01:25:54 private-config.text&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. To view sub-directory content:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;3550-SW1#dir flash:/c3550-i5q3l2-mz.121-14.EA1a&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;Directory of flash:/c3550-i5q3l2-mz.121-14.EA1a/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;9 drwx 2304 Mar 01 1993 00:03:03 html&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;84 -rwx 4086819 Mar 01 1993 00:04:30 c3550-i5q3l2-mz.121-14.EA1a.bin&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;85 -rwx 255 Mar 01 1993 00:04:30 info&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. To backup:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;3550-SW1#copy flash:/c3550-i5q3l2-mz.121-14.EA1a/c3550-i5q3l2-mz.121-14.EA1a.bin tftp&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-7039139824130469277?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/7039139824130469277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=7039139824130469277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7039139824130469277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7039139824130469277'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/08/backup-cisco-ios-stored-in-diffent.html' title='Backup Cisco IOS stored in diffent directory'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-2864358257812385484</id><published>2010-07-21T08:08:00.000+08:00</published><updated>2010-07-21T08:08:19.615+08:00</updated><title type='text'>How to SFTP if the default ssh port is changed</title><content type='html'>Usually if the SFTP is enabled in your server, it will try to use the default port SSH port 22 even though the SSH port is changed to some other custom port.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt; &lt;pre&gt;&lt;span style="color: #993300;"&gt;root@localhost/~$sftp root@&lt;server ip=""&gt;&lt;br /&gt;Connecting to &lt;server ip=""&gt;...&lt;br /&gt;ssh: connect to host &lt;server ip=""&gt; port 22: Connection refused&lt;br /&gt;Couldn't read packet: Connection reset by peer&lt;/server&gt;&lt;/server&gt;&lt;/server&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Here the SSH port is changed to 2200 instead of 22. But SFTP tries to connect it with 22. In this case we can connect to SFTP with the custom SSH port by running the following command.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt; &lt;pre&gt;&lt;span style="color: #993300;"&gt;root@localhost/~$sftp -oPort=2200 root@&lt;server ip=""&gt;&lt;br /&gt;Connecting to &lt;server ip=""&gt;...&lt;br /&gt;root@&lt;server ip=""&gt;'s password:&lt;br /&gt;sftp&amp;gt;     &lt;/server&gt;&lt;/server&gt;&lt;/server&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;http://kb.bobcares.com&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-2864358257812385484?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/2864358257812385484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=2864358257812385484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/2864358257812385484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/2864358257812385484'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/how-to-sftp-if-default-ssh-port-is.html' title='How to SFTP if the default ssh port is changed'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-6684598459872267370</id><published>2010-07-21T07:54:00.000+08:00</published><updated>2010-07-21T07:54:23.089+08:00</updated><title type='text'>Upgrading Openssh on CentOS And Chrooting a User When Connecting via SFTP</title><content type='html'>Consider a scenario, where a user needs to connect to the server via sftp and should restrict the access only to its home directory. The OpenSSH-4.x does not support chrooting facility. We need to upgrade it to OpenSSH-5.x. Before upgrading openssh, we need to make sure that pam, openssl and kerberos packages are installed. If not, run the following command to install it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;$ rpm -qa | grep -e openssl -e krb -e openssh&lt;br /&gt;openssh-clients-4.3p2-36.el5_4.4&lt;br /&gt;openssh-server-4.3p2-36.el5_4.4&lt;br /&gt;krb5-devel-1.6.1-36.el5_4.1&lt;br /&gt;openssl-0.9.8e-7.el5&lt;br /&gt;openssl-devel-0.9.8e-7.el5&lt;br /&gt;openssh-4.3p2-36.el5_4.4&lt;br /&gt;krb5-libs-1.6.1-36.el5_4.1&lt;br /&gt;&lt;br /&gt;$ yum install pam pam-devel krb5-devel&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Yum will install all the dependency packages. Now, you are ready to upgrade OpenSSH. &lt;br /&gt;&lt;br /&gt;&lt;span style="color: navy;"&gt;&lt;strong&gt;Steps to Upgrade OpenSSH from 4.x - 5.x&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;=================================&lt;br /&gt;&lt;br /&gt;1. Download latest OpenSSH package. You can select any mirror site from this &lt;a href="http://www.openssh.com/portable.html#http"&gt;link&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or You can use the link &lt;a href="http://mirror.mcs.anl.gov/openssh/portable/openssh-5.4p1.tar.gz"&gt;OpenSSH&lt;/a&gt;&lt;br /&gt;2. Run the following commands.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;$ tar -zxf openssh-5.4p1.tar.gz&lt;br /&gt;$ cd openssh-5.4p1&lt;br /&gt;$ ./configure --prefix=/usr/local/ssh --with-md5-passwords --with-pam --with-tcp-wrappers --with-kerberos5 --with-ssl-engine&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Prefix is important. We should not install the latest openssh to the default location.&lt;br /&gt;3. Open the file "&lt;span style="color: #993366;"&gt;/usr/local/ssh/etc/sshd_config&lt;/span&gt;". &lt;br /&gt;4. Change the default port to a non-standard ssh port, say &lt;span style="color: purple;"&gt;1234&lt;/span&gt;.&lt;br /&gt;5. Save and quit.&lt;br /&gt;7. Run the following command.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;$ /usr/local/ssh/sbin/sshd -f /usr/local/ssh/etc/sshd_config&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;8. Make sure that both old and new version of SSH are running on the server.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;$ ps aux | grep ssh&lt;br /&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31987&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 7164&amp;nbsp; 1032 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ss&amp;nbsp;&amp;nbsp; 22:48&amp;nbsp;&amp;nbsp; 0:00 /usr/sbin/sshd&lt;br /&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32280&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 5432&amp;nbsp;&amp;nbsp; 996 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ss&amp;nbsp;&amp;nbsp; 22:48&amp;nbsp;&amp;nbsp; 0:00 /usr/local/ssh/sbin/sshd -f /usr/local/ssh/etc/sshd_config&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;9. OpenSSH&amp;nbsp; upgrade is complete.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: navy;"&gt;&lt;strong&gt;Testing Phase&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;============&lt;br /&gt;&lt;br /&gt;You should make sure that the upgraded version does not have any problem. Login to the server from your local konsole.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;$ ssh test@my.testserver.com -p 1234&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You should login without any problem if the installation part went fine. Now, follow the steps given below to make the upgraded openssh to listen on default port.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;1. Open /usr/local/ssh/etc/sshd_config&lt;br /&gt;2. Change port to default port, i.e 22.&lt;br /&gt;3. Save and quit&lt;br /&gt;4. Kill or terminate all the instances of sshd running on the server.&lt;br /&gt;5. Start the sshd server using the command "/usr/local/ssh/sbin/sshd -f /usr/local/ssh/etc/sshd_config"&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: navy;"&gt;&lt;strong&gt;Chrooting a User When Connecting via SFTP&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;===================================&lt;br /&gt;&lt;br /&gt;To restrict a user to his home directory when he connects to the server via sftp, follow the steps given below.&lt;br /&gt;&lt;br /&gt;1. Open the configuration file "&lt;span style="color: #993366;"&gt;/usr/local/ssh/etc/sshd_config&lt;/span&gt;".&lt;br /&gt;2. Append the following lines to the configuration file.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;Subsystem sftp internal-sftp&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: purple;"&gt;Match User testuser&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChrootDirectory /var/www/html/test&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X11Forwarding no&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllowTcpForwarding no&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ForceCommand internal-sftp&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;3. You should comment the line: "&lt;span style="color: #993366;"&gt;Subsystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sftp&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/local/ssh/libexec/sftp-server&lt;/span&gt;"&lt;br /&gt;4. Save and quit.&lt;br /&gt;5. Terminate the SSH server and start it again using the command:&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;strong&gt;&lt;span style="color: purple;"&gt;/usr/local/ssh/sbin/sshd -f /usr/local/ssh/etc/sshd_config&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;6. Done&lt;br /&gt;&lt;br /&gt;Test it using any FTP clients like WinSCP, FileZilla, CuteFTP and make sure that the user is restricted to his own home directory and he cannot access anything outside his home directory.&lt;br /&gt;&lt;br /&gt;Note:- "&lt;span style="color: #993366;"&gt;/usr/local/ssh&lt;/span&gt;" is the prefix I used for new openssh installation. You should replace it with your prefix.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #993366;"&gt;&lt;span style="color: black;"&gt;With the new openssh running on the server you should not start or restart the ssh using the init script. If you want to manage it via init script, edit the init script accordingly.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;Open the file "&lt;span style="color: #993366;"&gt;/etc/init.d/sshd&lt;/span&gt;". Find the line '&lt;span style="color: #993366;"&gt;prog="sshd&lt;/span&gt;"'. Below this line add "&lt;span style="color: #993366;"&gt;SSH="/usr/local/ssh&lt;/span&gt;". And replace the lines:&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;KEYGEN=/usr/bin/ssh-keygen&lt;br /&gt;SSHD=/usr/sbin/sshd&lt;br /&gt;RSA1_KEY=/etc/ssh/ssh_host_key&lt;br /&gt;RSA_KEY=/etc/ssh/ssh_host_rsa_key&lt;br /&gt;DSA_KEY=/etc/ssh/ssh_host_dsa_key&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;with the following lines:&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;KEYGEN=$SSH/bin/ssh-keygen&lt;br /&gt;SSHD=$SSH/sbin/sshd&lt;br /&gt;RSA1_KEY=$SSH/etc/ssh_host_key&lt;br /&gt;RSA_KEY=$SSH/etc/ssh_host_rsa_key&lt;br /&gt;DSA_KEY=$SSH/etc/ssh_host_dsa_key&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Save and quit. Restart the openssh server using the command:&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;/etc/init.d/sshd restart&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Confirm that the SSH server is started from the newly installed openssh i.e openssh 5.x.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;$ ps aux | grep ssh&lt;br /&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11791&amp;nbsp; 0.0&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp; 5432&amp;nbsp;&amp;nbsp; 996 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ss&amp;nbsp;&amp;nbsp; Mar18&amp;nbsp;&amp;nbsp; 0:00 /usr/local/ssh/sbin/sshd&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;It will be better if you move the old ssh binaries and create a symlink to the new SSH binaries.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: purple;"&gt;&lt;strong&gt;$ mv /usr/bin/ssh /usr/bin/ssh-bak&lt;br /&gt;$ mv /usr/sbin/sshd /usr/sbin/sshd-bak&lt;br /&gt;$ mv /usr/bin/ssh-keygen /usr/bin/ssh-keygen-bak&lt;br /&gt;$ mv /usr/bin/ssh-agent /usr/bin/ssh-agent-bak&lt;br /&gt;$ mv /usr/bin/ssh-keyscan /usr/bin/ssh-scan-bak&lt;br /&gt;$ mv /usr/bin/ssh-add /usr/bin/ssh-add-bak&lt;br /&gt;$ ln -s /usr/local/ssh/bin/ssh /usr/bin/ssh&lt;br /&gt;$ ln -s /usr/local/ssh/sbin/sshd /usr/sbin/sshd&lt;br /&gt;$ ln -s /usr/local/ssh/bin/ssh-keygen /usr/bin/ssh-keygen&lt;br /&gt;$ ln -s /usr/local/ssh/bin/ssh-add /usr/bin/ssh-add&lt;br /&gt;$ ln -s /usr/local/ssh/bin/ssh-keyscan /usr/bin/ssh-keyscan&lt;br /&gt;$ ln -s /usr/local/ssh/bin/ssh-agent /usr/bin/ssh-agent&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The upgrade and setup of OpenSSH is now complete.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #993366;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-6684598459872267370?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/6684598459872267370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=6684598459872267370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6684598459872267370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6684598459872267370'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/upgrading-openssh-on-centos-and.html' title='Upgrading Openssh on CentOS And Chrooting a User When Connecting via SFTP'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-1592000311996756149</id><published>2010-07-21T07:53:00.003+08:00</published><updated>2010-07-21T07:53:43.906+08:00</updated><title type='text'>Turn on DMA mode on a hard drive</title><content type='html'>&lt;strong&gt;DMA&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Direct memory access (DMA) allows certain hardware subsystems within the computer to access system memory for reading and/or writing independently of the central processing unit. It uses a procedure called cycle stealing, where the central processor memory access cycles are delayed for very short times to intersperse DMA controller memory access cycles. DMA is used for transferring data between the local memory and the main memory.&lt;br /&gt;&lt;br /&gt;You can turn On DMA mode on a hard drive&lt;br /&gt;&lt;br /&gt;You can check whether DMA is enabled on a hard drive for the IDE harddrive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;hdparm -iv /dev/hd&lt;/span&gt; &lt;/div&gt;&lt;br /&gt;If DMA is on, the output should contain the following line,&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;using_dma&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; 1 (on)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;If it is off you can enable it as follows,&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;hdparm -d /dev/hd&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;This will toggle the value of "using_dma" (It will turn off the value of "using_dma" if it was already on).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-1592000311996756149?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/1592000311996756149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=1592000311996756149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/1592000311996756149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/1592000311996756149'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/turn-on-dma-mode-on-hard-drive.html' title='Turn on DMA mode on a hard drive'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-6069717782063237584</id><published>2010-07-21T07:53:00.000+08:00</published><updated>2010-07-21T07:53:13.135+08:00</updated><title type='text'>Enable quota in the server</title><content type='html'>If quotas are not enabled for the partition, the following error will occur while doing a quotacheck in the server. In case of Cpanel server, /scripts/initquotas will throw the following error.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;&lt;em&gt;/scripts/initquotas&lt;br /&gt;Quotas are now on&lt;br /&gt;Updating Quota Files......&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.&lt;br /&gt;....Done&lt;/em&gt;&lt;/span&gt;   &lt;/div&gt;&lt;br /&gt;You need&amp;nbsp; to follow the steps given below:&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;$ touch /quota.user /quota.group&lt;br /&gt;$ chmod 600 /quota.*&lt;br /&gt;$ mount -o remount /&lt;br /&gt;$ quotaoff -a&lt;br /&gt;$ vi /etc/fstab&lt;br /&gt;&amp;nbsp;( open 'fstab' file and add usrquota,grpquota to the partition where you want to have quota on. That is, for example, add the entry like:&lt;br /&gt;/dev/ubd0 / ext3 defaults,noatime,usrquota,grpquota 1 0 )&lt;br /&gt;$ quotaon -a&lt;/span&gt;     &lt;/div&gt;&lt;br /&gt;Then you can execute the script successfully without any errors. You can run a quotacheck in the server. In Cpanel server, you can run &lt;br /&gt;initquotas without any errors.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;http://kb.bobcares.com/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-6069717782063237584?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/6069717782063237584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=6069717782063237584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6069717782063237584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6069717782063237584'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/enable-quota-in-server.html' title='Enable quota in the server'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-7409895857195832497</id><published>2010-07-21T07:52:00.000+08:00</published><updated>2010-07-21T07:52:36.609+08:00</updated><title type='text'>Signals, really cool!</title><content type='html'>In short, its the notification sent to a process to notify it of the various events. We are familiar with signal SIGKILL (9) and it is used to terminate a process, especially when the server load becomes abnormal. There are situations where we cannot simply kill the processes away, for example, when a critical backup process overloads the server. &lt;br /&gt;&lt;br /&gt;The kill command has signals to suspend/unsuspend a process temporarily without killing it. Here we go ... &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;kill -SIGSTOP 17065 ; To suspend it temporarily &lt;br /&gt;kill -SIGCONT 17065 ; To unsuspend ... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you want to see the other signals available, try &lt;span style="color: #993300;"&gt;kill -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Try it out, when you get a chance&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-7409895857195832497?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/7409895857195832497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=7409895857195832497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7409895857195832497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7409895857195832497'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/signals-really-cool.html' title='Signals, really cool!'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-6731829993681812510</id><published>2010-07-21T07:51:00.003+08:00</published><updated>2010-07-21T07:51:51.490+08:00</updated><title type='text'>Logging server load to /var/log/messages</title><content type='html'>There can be issues when the server goes offline and you can't find any related log entries in the server. One of the issue that can cause is high load in the server. But we wont be able to conclude whether the load was the exact issue after the server reboot.&lt;br /&gt;&lt;br /&gt;The better solution to find the load is set a cronjob to enter the load in the server to /var/log/messages for a particular amount of time. A sample cron is shown below which will log the server load every 10 minutes to /var/log/messages.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;*/10 * * * * uptime | logger -t "SERVER LOAD"&lt;/span&gt; &lt;/div&gt;&lt;br /&gt;Now you will be able to get the load from /var/log/messages&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="color: black; font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-6731829993681812510?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/6731829993681812510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=6731829993681812510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6731829993681812510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6731829993681812510'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/logging-server-load-to-varlogmessages.html' title='Logging server load to /var/log/messages'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-8097417018948646595</id><published>2010-07-21T07:51:00.000+08:00</published><updated>2010-07-21T07:51:23.144+08:00</updated><title type='text'>Splitting a file in GNU/Linux</title><content type='html'>If you want to split a file "example" with size 9.6 Mb( 10000000 b) into two, then the command to do the same is:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: maroon;"&gt;$ split -b 5000000 example&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;File "example" is now split into two files "xaa" and "xab" by default and these two files will be having the size 5000000 b.&amp;nbsp; Reducing file size will lead to more number of new files generated. You can also specify the output filename. Suppose you want to use output file name as "wxz", then the following command will help you:&lt;br /&gt;&lt;span style="color: maroon;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;div class="box"&gt;&lt;span style="color: maroon;"&gt;$ split -b 5000000 example wxz&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Now how to join the splitted files? You can use the cat command to join the splitted files. For example if the new files generated by split are "xaa", "xab" and "xac", use the following command to join the splitted files.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: maroon;"&gt;$ cat xa* &amp;gt; filename&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="box"&gt;&lt;span style="color: maroon;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="box"&gt;&lt;span style="color: maroon;"&gt;&amp;nbsp;&lt;span style="color: black; font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-8097417018948646595?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/8097417018948646595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=8097417018948646595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8097417018948646595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8097417018948646595'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/splitting-file-in-gnulinux.html' title='Splitting a file in GNU/Linux'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-4839672387910232029</id><published>2010-07-21T07:50:00.003+08:00</published><updated>2010-07-21T07:50:41.442+08:00</updated><title type='text'>Useful Kernel manipulation commands</title><content type='html'>To find out the kernel version&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;$ cat /usr/include/linux/version.h&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;To find out the Linux version of the currently executing kernel by,&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;$ cat /proc/version&amp;nbsp;&amp;nbsp; &lt;br /&gt;$ uname -a&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;The command used to check your architecture&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;$ uname -i&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;To find out the current Loadable kernel module from&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;$ /sbin/lsmod&lt;br /&gt;$ cat /proc/modules&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;Load a kernel module (without dependency in to running kernel).&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;$ rmmod module name&lt;br /&gt;$ insmod module name&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Load a kernel module (with dependency in to running kernel).&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;$ /sbin/modprobe&amp;nbsp; kernel module name&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;&lt;span style="color: black; font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-4839672387910232029?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/4839672387910232029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=4839672387910232029' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4839672387910232029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4839672387910232029'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/useful-kernel-manipulation-commands.html' title='Useful Kernel manipulation commands'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-4464248190242489920</id><published>2010-07-21T07:50:00.000+08:00</published><updated>2010-07-21T07:50:09.308+08:00</updated><title type='text'>Saturation of open files in the system</title><content type='html'>In the server logs, you can see the message as follows.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;&lt;em&gt; Too many open files in system and your server is performing very slowly,try doubling the following proc variable : fs.file-m&lt;/em&gt;ax&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;1. Find out the current value of the concerned file.&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;$ sysctl -a|grep file&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;$&amp;nbsp; cat /proc/sys/fs/file-max&lt;/span&gt; &lt;/div&gt;&lt;br /&gt;2. Increase or double the current value using&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;echo &lt;your 2="" current="" value="" x=""&gt; &amp;gt; /proc/sys/fs/file-max&lt;/your&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;&lt;span style="color: black; font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-4464248190242489920?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/4464248190242489920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=4464248190242489920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4464248190242489920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4464248190242489920'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/saturation-of-open-files-in-system.html' title='Saturation of open files in the system'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-8632346874805920222</id><published>2010-07-21T07:49:00.000+08:00</published><updated>2010-07-21T07:49:20.112+08:00</updated><title type='text'>Set up Auto-Logout for root user</title><content type='html'>We can set up automatic logout for root session so that session gets logged off, if it is idle for a while. It is important to know this as any sneaker can misuse the situation, when a root user leaves the session idle. The method is very simple and as follows:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="box"&gt;&lt;span style="color: #993300;"&gt;1) Login as root&lt;br /&gt;2) vi ~/.bash_profile&lt;br /&gt;3) Add this line:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export TMOUT=300&lt;br /&gt;4) Save and quit the file&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Here TMOUT is an environment variable which instructs the bash shell to exit if the session is idle. Here timeout is set as 300 seconds ( 5 minutes ).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;http://kb.bobcares.com/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-8632346874805920222?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/8632346874805920222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=8632346874805920222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8632346874805920222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8632346874805920222'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/07/set-up-auto-logout-for-root-user.html' title='Set up Auto-Logout for root user'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-8537762800673042117</id><published>2010-05-31T15:08:00.000+08:00</published><updated>2010-05-31T15:08:39.114+08:00</updated><title type='text'>20 Linux System Monitoring Tools Every SysAdmin Should Know</title><content type='html'>from: NixCraft: http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html&lt;br /&gt;&lt;br /&gt;&lt;div class="headline_meta"&gt;by &lt;span class="author vcard fn"&gt;Vivek Gite&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="headline_meta"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="float: right; margin-left: 5px; margin-top: 0px;"&gt;&lt;a href="http://www.cyberciti.biz/tips/category/linux" title="See all GNU/Linux related tips/articles"&gt;&lt;img alt="" border="0" src="http://figs.cyberciti.biz/3rdparty/linux-logo.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Finding out bottlenecks.&lt;/li&gt;&lt;li&gt;Disk (storage)  bottlenecks.&lt;/li&gt;&lt;li&gt;CPU and memory bottlenecks.&lt;/li&gt;&lt;li&gt;Network bottlenecks.&lt;/li&gt;&lt;/ol&gt;&lt;span id="more-4934"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="" name="1"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#1: top - Process Activity Command&lt;/h2&gt;The top program provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_5179" style="width: 269px;"&gt;  &lt;a href="http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/top-output" rel="attachment wp-att-5179"&gt;&lt;img alt="Fig.01: Linux top command" class="size-medium wp-image-5179" height="300" src="http://files.cyberciti.biz/uploads/tips/2009/06/top-output-269x300.png" title="Fig.01: Linux top command" width="269" /&gt;&lt;/a&gt;  &lt;div class="wp-caption-text"&gt;Fig.01: Linux top command&lt;/div&gt;&lt;/div&gt;&lt;h3&gt;Commonly Used Hot Keys&lt;/h3&gt;The top command provides several useful hot keys:&lt;br /&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th&gt;Hot Key&lt;/th&gt; &lt;th&gt;Usage&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;t&lt;/td&gt; &lt;td&gt;Displays summary information off and on.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;m&lt;/td&gt; &lt;td&gt;Displays memory information off and on.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;A&lt;/td&gt; &lt;td&gt;Sorts the display by top consumers of various system resources. Useful for quick identification of performance-hungry tasks on a system.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;f&lt;/td&gt; &lt;td&gt;Enters an interactive configuration screen for top. Helpful for setting up top for a specific task.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;o&lt;/td&gt; &lt;td&gt;Enables you to interactively select the ordering within top.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;r&lt;/td&gt; &lt;td&gt;Issues renice command.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;k&lt;/td&gt; &lt;td&gt;Issues kill command.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;z&lt;/td&gt; &lt;td&gt;Turn on or off color/mono&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: #003366;"&gt;=&amp;gt; Related:&lt;/span&gt;&lt;/strong&gt; &lt;a href="http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html"&gt;How do I Find Out Linux CPU Utilization?&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="2"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#2: vmstat - System Activity, Hardware and System Information&lt;/h2&gt;The command vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.&lt;br /&gt;&lt;code&gt;# vmstat 3&lt;/code&gt;&lt;br /&gt;Sample Outputs:&lt;br /&gt;&lt;pre&gt;procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------&lt;br /&gt; r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st&lt;br /&gt; 0  0      0 2540988 522188 5130400    0    0     2    32    4    2  4  1 96  0  0&lt;br /&gt; 1  0      0 2540988 522188 5130400    0    0     0   720 1199  665  1  0 99  0  0&lt;br /&gt; 0  0      0 2540956 522188 5130400    0    0     0     0 1151 1569  4  1 95  0  0&lt;br /&gt; 0  0      0 2540956 522188 5130500    0    0     0     6 1117  439  1  0 99  0  0&lt;br /&gt; 0  0      0 2540940 522188 5130512    0    0     0   536 1189  932  1  0 98  0  0&lt;br /&gt; 0  0      0 2538444 522188 5130588    0    0     0     0 1187 1417  4  1 96  0  0&lt;br /&gt; 0  0      0 2490060 522188 5130640    0    0     0    18 1253 1123  5  1 94  0  0&lt;/pre&gt;&lt;h3&gt;Display Memory Utilization Slabinfo&lt;/h3&gt;&lt;code&gt;# vmstat -m&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Get Information About Active / Inactive Memory Pages&lt;/h3&gt;&lt;code&gt;# vmstat -a&lt;/code&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: #003366;"&gt;=&amp;gt; Related:&lt;/span&gt;&lt;/strong&gt; &lt;a href="http://www.cyberciti.biz/tips/linux-resource-utilization-to-detect-system-bottlenecks.html"&gt;How do I find out Linux Resource utilization to detect system bottlenecks?&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="3"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#3: w - Find Out Who Is Logged on And What They Are Doing&lt;/h2&gt;w command displays information about the users currently on the machine, and their processes.&lt;br /&gt;&lt;code&gt;# w username&lt;br /&gt;# w vivek&lt;/code&gt;&lt;br /&gt;Sample Outputs:&lt;br /&gt;&lt;pre&gt;17:58:47 up 5 days, 20:28,  2 users,  load average: 0.36, 0.26, 0.24&lt;br /&gt;USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT&lt;br /&gt;root     pts/0    10.1.3.145       14:55    5.00s  0.04s  0.02s vim /etc/resolv.conf&lt;br /&gt;root     pts/1    10.1.3.145       17:43    0.00s  0.03s  0.00s w&lt;/pre&gt;&lt;a href="" name="4"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h3&gt;#4: uptime - Tell How Long The System Has Been Running&lt;/h3&gt;The uptime command can be used to see how long the server has been running. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.&lt;br /&gt;&lt;code&gt;# uptime&lt;/code&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;18:02:41 up 41 days, 23:42,  1 user,  load average: 0.00, 0.00, 0.00&lt;/pre&gt;1 can be considered as optimal load value. The load can change from system to system. For a single CPU system 1 - 3 and SMP systems 6-10 load value might be acceptable.&lt;br /&gt;&lt;a href="" name="5"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#5: ps - Displays The Processes&lt;/h2&gt;ps command will report a snapshot of the current processes. To select all processes use the -A or -e option:&lt;br /&gt;&lt;code&gt;# ps -A&lt;/code&gt;&lt;br /&gt;Sample Outputs:&lt;br /&gt;&lt;pre&gt;PID TTY          TIME CMD&lt;br /&gt;    1 ?        00:00:02 init&lt;br /&gt;    2 ?        00:00:02 migration/0&lt;br /&gt;    3 ?        00:00:01 ksoftirqd/0&lt;br /&gt;    4 ?        00:00:00 watchdog/0&lt;br /&gt;    5 ?        00:00:00 migration/1&lt;br /&gt;    6 ?        00:00:15 ksoftirqd/1&lt;br /&gt;....&lt;br /&gt;.....&lt;br /&gt; 4881 ?        00:53:28 java&lt;br /&gt; 4885 tty1     00:00:00 mingetty&lt;br /&gt; 4886 tty2     00:00:00 mingetty&lt;br /&gt; 4887 tty3     00:00:00 mingetty&lt;br /&gt; 4888 tty4     00:00:00 mingetty&lt;br /&gt; 4891 tty5     00:00:00 mingetty&lt;br /&gt; 4892 tty6     00:00:00 mingetty&lt;br /&gt; 4893 ttyS1    00:00:00 agetty&lt;br /&gt;12853 ?        00:00:00 cifsoplockd&lt;br /&gt;12854 ?        00:00:00 cifsdnotifyd&lt;br /&gt;14231 ?        00:10:34 lighttpd&lt;br /&gt;14232 ?        00:00:00 php-cgi&lt;br /&gt;54981 pts/0    00:00:00 vim&lt;br /&gt;55465 ?        00:00:00 php-cgi&lt;br /&gt;55546 ?        00:00:00 bind9-snmp-stat&lt;br /&gt;55704 pts/1    00:00:00 ps&lt;/pre&gt;ps is just like top but provides more information.&lt;br /&gt;&lt;h3&gt;Show Long Format Output&lt;/h3&gt;&lt;code&gt;# ps -Al&lt;/code&gt;&lt;br /&gt;To turn on  extra full mode (it will show command line arguments passed to process):&lt;br /&gt;&lt;code&gt;# ps -AlF&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;To See Threads ( LWP and NLWP)&lt;/h3&gt;&lt;code&gt;# ps -AlFH&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;To See Threads After Processes&lt;/h3&gt;&lt;code&gt;# ps -AlLm&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Print All Process On The Server&lt;/h3&gt;&lt;code&gt;# ps ax&lt;br /&gt;# ps axu&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Print A Process Tree&lt;/h3&gt;&lt;code&gt;#  ps -ejH&lt;br /&gt;#  ps axjf&lt;br /&gt;#  pstree&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Print Security Information&lt;/h3&gt;&lt;code&gt;# ps -eo euser,ruser,suser,fuser,f,comm,label&lt;br /&gt;# ps axZ&lt;br /&gt;# ps -eM&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;See Every Process Running As User Vivek&lt;/h3&gt;&lt;code&gt;# ps -U vivek -u vivek u&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Set Output In a User-Defined Format&lt;/h3&gt;&lt;code&gt;# ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm&lt;br /&gt;# ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm&lt;br /&gt;# ps -eopid,tt,user,fname,tmout,f,wchan&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Display Only The Process IDs of Lighttpd&lt;/h3&gt;&lt;code&gt;# ps -C lighttpd -o pid=&lt;/code&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;code&gt;# pgrep lighttpd&lt;/code&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;code&gt;# pgrep -u vivek php-cgi&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Display The Name of PID 55977&lt;/h3&gt;&lt;code&gt;# ps -p 55977 -o comm=&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Find Out The Top 10 Memory Consuming Process&lt;/h3&gt;&lt;code&gt;# ps -auxf | sort -nr -k 4 | head -10&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Find Out top 10 CPU Consuming Process&lt;/h3&gt;&lt;code&gt;# ps -auxf | sort -nr -k 3 | head -10&lt;/code&gt;&lt;br /&gt;&lt;a href="" name="6"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#6: free - Memory Usage&lt;/h2&gt;The command free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.&lt;br /&gt;&lt;code&gt;# free &lt;/code&gt;&lt;br /&gt;Sample Output:&lt;br /&gt;&lt;pre&gt;total       used       free     shared    buffers     cached&lt;br /&gt;Mem:      12302896    9739664    2563232          0     523124    5154740&lt;br /&gt;-/+ buffers/cache:    4061800    8241096&lt;br /&gt;Swap:      1052248          0    1052248&lt;/pre&gt;&lt;strong&gt;&lt;span style="color: #003366;"&gt;=&amp;gt; Related:&lt;/span&gt;&lt;/strong&gt; :&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/faq/linux-check-the-size-of-pagesize/"&gt;Linux Find Out Virtual Memory PAGESIZE&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/faq/cpu-usage-limiter-for-linux/"&gt;Linux Limit CPU Usage Per Process&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/tips/how-much-ram-does-my-linux-system.html"&gt;How much RAM does my Ubuntu / Fedora Linux desktop PC have?&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a href="" name="7"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#7: iostat -  Average CPU Load, Disk Activity&lt;/h2&gt;The command iostat report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS).&lt;br /&gt;&lt;code&gt;# iostat &lt;/code&gt;&lt;br /&gt;Sample Outputs:&lt;br /&gt;&lt;pre&gt;Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in)  06/26/2009&lt;br /&gt;&lt;br /&gt;avg-cpu:  %user   %nice %system %iowait  %steal   %idle&lt;br /&gt;           3.50    0.09    0.51    0.03    0.00   95.86&lt;br /&gt;&lt;br /&gt;Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn&lt;br /&gt;sda              22.04        31.88       512.03   16193351  260102868&lt;br /&gt;sda1              0.00         0.00         0.00       2166        180&lt;br /&gt;sda2             22.04        31.87       512.03   16189010  260102688&lt;br /&gt;sda3              0.00         0.00         0.00       1615          0&lt;/pre&gt;&lt;strong&gt;&lt;span style="color: #003366;"&gt;=&amp;gt; Related:&lt;/span&gt;&lt;/strong&gt; : &lt;a href="http://www.cyberciti.biz/faq/howto-linux-track-nfs-client-disk-metrics/"&gt;Linux Track NFS Directory / Disk I/O Stats&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="8"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#8: sar - Collect and Report System Activity&lt;/h2&gt;The sar command is used to collect, report, and save system activity information. To see network counter, enter:&lt;br /&gt;&lt;code&gt;# sar -n DEV | more&lt;/code&gt;&lt;br /&gt;To display the network counters from the 24th:&lt;br /&gt;&lt;code&gt;# sar -n DEV -f /var/log/sa/sa24 | more&lt;/code&gt;&lt;br /&gt;You can also display real time usage using sar:&lt;br /&gt;&lt;code&gt;# sar 4 5&lt;/code&gt;&lt;br /&gt;Sample Outputs:&lt;br /&gt;&lt;pre&gt;Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in)   06/26/2009&lt;br /&gt;&lt;br /&gt;06:45:12 PM       CPU     %user     %nice   %system   %iowait    %steal     %idle&lt;br /&gt;06:45:16 PM       all      2.00      0.00      0.22      0.00      0.00     97.78&lt;br /&gt;06:45:20 PM       all      2.07      0.00      0.38      0.03      0.00     97.52&lt;br /&gt;06:45:24 PM       all      0.94      0.00      0.28      0.00      0.00     98.78&lt;br /&gt;06:45:28 PM       all      1.56      0.00      0.22      0.00      0.00     98.22&lt;br /&gt;06:45:32 PM       all      3.53      0.00      0.25      0.03      0.00     96.19&lt;br /&gt;Average:          all      2.02      0.00      0.27      0.01      0.00     97.70&lt;/pre&gt;&lt;strong&gt;&lt;span style="color: #003366;"&gt;=&amp;gt; Related:&lt;/span&gt;&lt;/strong&gt; :  &lt;a href="http://www.cyberciti.biz/tips/howto-write-system-utilization-data-to-file.html"&gt;How to collect Linux system utilization data into a file&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="9"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#9: mpstat -  Multiprocessor Usage&lt;/h2&gt;The mpstat command displays activities for each available processor, processor 0 being the first one. mpstat -P ALL to display average CPU utilization per processor:&lt;br /&gt;&lt;code&gt;# mpstat -P ALL&lt;/code&gt;&lt;br /&gt;Sample Output:&lt;br /&gt;&lt;pre&gt;Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in)   06/26/2009&lt;br /&gt;&lt;br /&gt;06:48:11 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s&lt;br /&gt;06:48:11 PM  all    3.50    0.09    0.34    0.03    0.01    0.17    0.00   95.86   1218.04&lt;br /&gt;06:48:11 PM    0    3.44    0.08    0.31    0.02    0.00    0.12    0.00   96.04   1000.31&lt;br /&gt;06:48:11 PM    1    3.10    0.08    0.32    0.09    0.02    0.11    0.00   96.28     34.93&lt;br /&gt;06:48:11 PM    2    4.16    0.11    0.36    0.02    0.00    0.11    0.00   95.25      0.00&lt;br /&gt;06:48:11 PM    3    3.77    0.11    0.38    0.03    0.01    0.24    0.00   95.46     44.80&lt;br /&gt;06:48:11 PM    4    2.96    0.07    0.29    0.04    0.02    0.10    0.00   96.52     25.91&lt;br /&gt;06:48:11 PM    5    3.26    0.08    0.28    0.03    0.01    0.10    0.00   96.23     14.98&lt;br /&gt;06:48:11 PM    6    4.00    0.10    0.34    0.01    0.00    0.13    0.00   95.42      3.75&lt;br /&gt;06:48:11 PM    7    3.30    0.11    0.39    0.03    0.01    0.46    0.00   95.69     76.89&lt;/pre&gt;&lt;strong&gt;&lt;span style="color: #003366;"&gt;=&amp;gt; Related:&lt;/span&gt;&lt;/strong&gt; : &lt;a href="http://www.cyberciti.biz/faq/linux-mpstat-command-report-processors-related-statistics/"&gt;Linux display each multiple SMP CPU processors utilization individually&lt;/a&gt;.&lt;br /&gt;&lt;a href="" name="10"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#10: pmap - Process Memory Usage&lt;/h2&gt;The command pmap report memory map of a process. Use this command to find out causes of memory bottlenecks.&lt;br /&gt;&lt;code&gt;# pmap -d PID&lt;/code&gt;&lt;br /&gt;To display process memory information for pid # 47394, enter:&lt;br /&gt;&lt;code&gt;# pmap -d 47394&lt;/code&gt;&lt;br /&gt;Sample Outputs:&lt;br /&gt;&lt;pre&gt;47394:   /usr/bin/php-cgi&lt;br /&gt;Address           Kbytes Mode  Offset           Device    Mapping&lt;br /&gt;0000000000400000    2584 r-x-- 0000000000000000 008:00002 php-cgi&lt;br /&gt;0000000000886000     140 rw--- 0000000000286000 008:00002 php-cgi&lt;br /&gt;00000000008a9000      52 rw--- 00000000008a9000 000:00000   [ anon ]&lt;br /&gt;0000000000aa8000      76 rw--- 00000000002a8000 008:00002 php-cgi&lt;br /&gt;000000000f678000    1980 rw--- 000000000f678000 000:00000   [ anon ]&lt;br /&gt;000000314a600000     112 r-x-- 0000000000000000 008:00002 ld-2.5.so&lt;br /&gt;000000314a81b000       4 r---- 000000000001b000 008:00002 ld-2.5.so&lt;br /&gt;000000314a81c000       4 rw--- 000000000001c000 008:00002 ld-2.5.so&lt;br /&gt;000000314aa00000    1328 r-x-- 0000000000000000 008:00002 libc-2.5.so&lt;br /&gt;000000314ab4c000    2048 ----- 000000000014c000 008:00002 libc-2.5.so&lt;br /&gt;.....&lt;br /&gt;......&lt;br /&gt;..&lt;br /&gt;00002af8d48fd000       4 rw--- 0000000000006000 008:00002 xsl.so&lt;br /&gt;00002af8d490c000      40 r-x-- 0000000000000000 008:00002 libnss_files-2.5.so&lt;br /&gt;00002af8d4916000    2044 ----- 000000000000a000 008:00002 libnss_files-2.5.so&lt;br /&gt;00002af8d4b15000       4 r---- 0000000000009000 008:00002 libnss_files-2.5.so&lt;br /&gt;00002af8d4b16000       4 rw--- 000000000000a000 008:00002 libnss_files-2.5.so&lt;br /&gt;00002af8d4b17000  768000 rw-s- 0000000000000000 000:00009 zero (deleted)&lt;br /&gt;00007fffc95fe000      84 rw--- 00007ffffffea000 000:00000   [ stack ]&lt;br /&gt;ffffffffff600000    8192 ----- 0000000000000000 000:00000   [ anon ]&lt;br /&gt;mapped: 933712K    writeable/private: 4304K    shared: 768000K&lt;/pre&gt;The last line is very important:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;mapped: 933712K&lt;/strong&gt; total amount of memory mapped to files&lt;/li&gt;&lt;li&gt;&lt;strong&gt;writeable/private: 4304K&lt;/strong&gt; the amount of private address space&lt;/li&gt;&lt;li&gt;&lt;strong&gt;shared: 768000K&lt;/strong&gt; the amount of address space this process is sharing with others&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;&lt;span style="color: #003366;"&gt;=&amp;gt; Related:&lt;/span&gt;&lt;/strong&gt; : &lt;a href="http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html"&gt;Linux find the memory used by a program / process using pmap command&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="11"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#11 and #12: netstat and ss -  Network Statistics&lt;/h2&gt;The command netstat displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. ss command is used to dump socket statistics. It allows showing information similar to netstat. See the following resources about ss and netstat commands:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/tips/linux-investigate-sockets-network-connections.html"&gt;ss: Display Linux TCP / UDP Network and Socket Information&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/tips/netstat-command-tutorial-examples.html"&gt;Get Detailed Information About Particular IP address Connections Using netstat Command&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a href="" name="13"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#13: iptraf - Real-time Network Statistics&lt;/h2&gt;The iptraf command is interactive colorful IP LAN monitor. It is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others. It can provide the following info in easy to read format:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Network traffic statistics by TCP connection&lt;/li&gt;&lt;li&gt;IP traffic statistics by network interface&lt;/li&gt;&lt;li&gt;Network traffic statistics by protocol&lt;/li&gt;&lt;li&gt;Network traffic statistics by TCP/UDP port and by packet size&lt;/li&gt;&lt;li&gt;Network traffic statistics by Layer2 address&lt;/li&gt;&lt;/ul&gt;&lt;div class="wp-caption aligncenter" id="attachment_5196" style="width: 600px;"&gt;  &lt;a href="http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/iptraf3" rel="attachment wp-att-5196"&gt;&lt;img alt="Fig.02: General interface statistics: IP traffic statistics by network interface " class="size-full wp-image-5196" height="347" src="http://files.cyberciti.biz/uploads/tips/2009/06/iptraf3.png" title="Fig.02: General interface statistics: IP traffic statistics by network interface " width="600" /&gt;&lt;/a&gt;  &lt;div class="wp-caption-text"&gt;Fig.02: General interface statistics: IP traffic statistics by network interface &lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_5195" style="width: 600px;"&gt;  &lt;a href="http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/iptraf2" rel="attachment wp-att-5195"&gt;&lt;img alt="Fig.03 Network traffic statistics by TCP connection" class="size-full wp-image-5195" height="416" src="http://files.cyberciti.biz/uploads/tips/2009/06/iptraf2.png" title="Fig.03 Network traffic statistics by TCP connection" width="600" /&gt;&lt;/a&gt;  &lt;div class="wp-caption-text"&gt;Fig.03 Network traffic statistics by TCP connection&lt;/div&gt;&lt;/div&gt;&lt;a href="" name="14"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#14: tcpdump - Detailed Network Traffic Analysis&lt;/h2&gt;The tcpdump is simple command that dump traffic on a network. However, you need good understanding of TCP/IP protocol to utilize this tool. For.e.g to display traffic info about DNS, enter:&lt;br /&gt;&lt;code&gt;# tcpdump -i eth1 'udp port 53'&lt;/code&gt;&lt;br /&gt;To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, for example, SYN and FIN packets and ACK-only packets, enter:&lt;br /&gt;&lt;code&gt;# tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&amp;amp;0xf)&amp;lt;&amp;lt;2)) - ((tcp[12]&amp;amp;0xf0)&amp;gt;&amp;gt;2)) != 0)'&lt;/code&gt;&lt;br /&gt;To display all FTP session to 202.54.1.5, enter:&lt;br /&gt;&lt;code&gt;# tcpdump -i eth1 'dst 202.54.1.5 and (port 21 or 20'&lt;/code&gt;&lt;br /&gt;To display all HTTP session to 192.168.1.5:&lt;br /&gt;&lt;code&gt;# tcpdump -ni eth0 'dst 192.168.1.5 and tcp and port http'&lt;/code&gt;&lt;br /&gt;Use &lt;a href="http://www.cyberciti.biz/faq/linux-unix-bsd-apache-tcpdump-http-packets-sniffing/"&gt;wireshark to view detailed&lt;/a&gt; information about files, enter:&lt;br /&gt;&lt;code&gt;# tcpdump -n -i eth1 -s 0 -w output.txt src or dst port 80&lt;/code&gt;&lt;br /&gt;&lt;a href="" name="15"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#15: strace -  System Calls&lt;/h2&gt;Trace system calls and signals. This is useful for debugging  webserver and other server problems. See how to use to &lt;a href="http://www.cyberciti.biz/tips/linux-strace-command-examples.html"&gt;trace the process and&lt;/a&gt; see What it is doing.&lt;br /&gt;&lt;a href="" name="16"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#16: /Proc file system - Various Kernel Statistics&lt;/h2&gt;/proc file system provides detailed information about various hardware devices and other Linux kernel information. See &lt;a href="http://www.cyberciti.biz/files/linux-kernel/Documentation/filesystems/proc.txt"&gt;Linux kernel /proc&lt;/a&gt; documentations for further details. Common /proc examples:&lt;br /&gt;&lt;code&gt;# cat /proc/cpuinfo&lt;br /&gt;# cat /proc/meminfo&lt;br /&gt;# cat /proc/zoneinfo&lt;br /&gt;# cat /proc/mounts&lt;/code&gt;&lt;br /&gt;&lt;a href="" name="17"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;17#: Nagios - Server And Network Monitoring&lt;/h2&gt;&lt;a href="http://www.nagios.org/" target="_blank"&gt;Nagios&lt;/a&gt; is a popular open source computer system and network monitoring application software. You can easily monitor all your hosts, network equipment and services. It can send alert when things go wrong and again when they get better. &lt;a href="http://fannagioscd.sourceforge.net/drupal/" target="_blank"&gt;FAN is&lt;/a&gt; "Fully Automated Nagios". FAN goals are to provide a Nagios installation including most tools provided by the Nagios Community. FAN provides a CDRom image in the standard ISO format, making it easy to easilly install a Nagios server. Added to this, a wide bunch of tools are including to the distribution, in order to improve the user experience around Nagios.&lt;br /&gt;&lt;a href="" name="18"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;18#: Cacti -  Web-based Monitoring Tool&lt;/h2&gt;Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices. It can provide data about network, CPU, memory, logged in users, Apache, DNS servers and much more. See how &lt;a href="http://www.cyberciti.biz/faq/fedora-rhel-install-cacti-monitoring-rrd-software/"&gt;to install and configure Cacti network graphing&lt;/a&gt; tool under CentOS / RHEL.&lt;br /&gt;&lt;a href="" name="19"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#19: KDE System Guard -  Real-time Systems Reporting and Graphing&lt;/h2&gt;KSysguard is a network enabled task and system monitor application for KDE desktop. This tool can be run over ssh session. It provides lots of features such as a client/server architecture that enables monitoring of local and remote hosts. The graphical front end uses so-called sensors to retrieve the information it displays. A sensor can return simple values or more complex information like tables. For each type of information, one or more displays are provided. Displays are organized in worksheets that can be saved and loaded independently from each other. So, KSysguard is not only a simple task manager but also a very powerful tool to control large server farms.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_5215" style="width: 600px;"&gt;  &lt;a href="http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/kde-systemguard-screenshot" rel="attachment wp-att-5215"&gt;&lt;img alt="Fig.05 KDE System Guard" class="size-full wp-image-5215" height="462" src="http://files.cyberciti.biz/uploads/tips/2009/06/kde-systemguard-screenshot.png" title="Fig.05 KDE System Guard KDE task manager and performance monitor." width="600" /&gt;&lt;/a&gt;  &lt;div class="wp-caption-text"&gt;Fig.05 KDE System Guard {Image credit: Wikipedia}&lt;/div&gt;&lt;/div&gt;See &lt;a href="http://docs.kde.org/stable/en/kdebase-workspace/ksysguard/index.html"&gt;the KSysguard handbook&lt;/a&gt; for detailed usage.&lt;br /&gt;&lt;a href="" name="20"&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;#20: Gnome System Monitor - Real-time Systems Reporting and Graphing&lt;/h2&gt;The System Monitor application enables you to display basic system information and monitor system processes, usage of system resources, and file systems. You can also use System Monitor to modify the behavior of your system. Although not as powerful as the KDE System Guard, it provides the basic information which may be useful for new users:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; Displays various basic information about the computer's hardware and software.&lt;/li&gt;&lt;li&gt; Linux Kernel version&lt;/li&gt;&lt;li&gt; GNOME version&lt;/li&gt;&lt;li&gt; Hardware&lt;/li&gt;&lt;li&gt; Installed memory&lt;/li&gt;&lt;li&gt; Processors and speeds&lt;/li&gt;&lt;li&gt; System Status&lt;/li&gt;&lt;li&gt; Currently available disk space&lt;/li&gt;&lt;li&gt; Processes&lt;/li&gt;&lt;li&gt; Memory and swap space&lt;/li&gt;&lt;li&gt; Network usage&lt;/li&gt;&lt;li&gt; File Systems&lt;/li&gt;&lt;li&gt; Lists all mounted filesystems along with basic information about each.&lt;/li&gt;&lt;/ul&gt;&lt;div class="wp-caption aligncenter" id="attachment_5220" style="width: 600px;"&gt;  &lt;a href="http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/gnome-system-monitor" rel="attachment wp-att-5220"&gt;&lt;img alt="Fig.06 The Gnome System Monitor application" class="size-full wp-image-5220" height="451" src="http://files.cyberciti.biz/uploads/tips/2009/06/gnome-system-monitor.png" title="Fig.06 The Gnome System Monitor application" width="600" /&gt;&lt;/a&gt;  &lt;div class="wp-caption-text"&gt;Fig.06 The Gnome System Monitor application&lt;/div&gt;&lt;/div&gt;&lt;h2&gt;Bounce: Additional Tools&lt;/h2&gt;A few more tools: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/tips/linux-scanning-network-for-open-ports.html"&gt;nmap&lt;/a&gt; - scan your server for open ports.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/tips/tag/lsof-command"&gt;lsof&lt;/a&gt; - list open files, network connections and much more.&lt;/li&gt;&lt;li&gt;&lt;a class="broken_link" href="http://www.cyberciti.biz/tips/Debian%20/%20Ubuntu%20Linux%20Install%20ntop%20To%20See%20Network%20Usage%20/%20Network%20Status"&gt;ntop&lt;/a&gt; web based tool - ntop is the best tool to see network usage in a way similar to what top command does for processes i.e. it is network traffic monitoring software. You can see network status, protocol wise distribution of traffic for UDP, TCP, DNS, HTTP and other protocols.&lt;/li&gt;&lt;li&gt;&lt;a href="http://conky.sourceforge.net/" target="_blank"&gt;Conky&lt;/a&gt; - Another good monitoring tool for the X Window System. It is highly configurable and is able to monitor many system variables including the status of the CPU, memory, swap space, disk storage, temperatures, processes, network interfaces, battery power, system messages, e-mail inboxes etc. &lt;/li&gt;&lt;li&gt;&lt;a href="http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html" target="_blank"&gt;GKrellM&lt;/a&gt; - It can be used to monitor the status of CPUs, main memory, hard disks, network interfaces, local and remote mailboxes, and many other things.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/tips/keeping-a-log-of-daily-network-traffic-for-adsl-or-dedicated-remote-linux-box.html"&gt;vnstat&lt;/a&gt; - vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s).&lt;/li&gt;&lt;li&gt;&lt;a href="http://htop.sourceforge.net/" target="_blank"&gt;htop&lt;/a&gt; - htop is an enhanced version of top, the interactive process viewer, which can display the list of processes in a tree form.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cyberciti.biz/tips/finding-out-a-bad-or-simply-overloaded-network-link-with-linuxunix-oses.html"&gt;mtr&lt;/a&gt; -  mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-8537762800673042117?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/8537762800673042117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=8537762800673042117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8537762800673042117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8537762800673042117'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/05/20-linux-system-monitoring-tools-every.html' title='20 Linux System Monitoring Tools Every SysAdmin Should Know'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-4275439588337236269</id><published>2010-01-26T14:32:00.001+08:00</published><updated>2010-01-26T14:32:38.086+08:00</updated><title type='text'>How to send email from the Linux command line</title><content type='html'>The Linux command line can be very powerful once you know how to use it. You can parse data, monitor processes, and do a lot of other useful and cool things using it. There often comes a need to generate a report and mail it out. It could be as simple a requirement as a notification that the day’s backup went through fine, or did not. I’ll help you get started with sending mails from the Linux command line and in shell scripts. We will also cover sending attachments from the command line. We will begin with the “mail” command. &lt;br /&gt;MAIL&lt;br /&gt;First run a quick test to make sure the “sendmail” application is installed and working correctly. Execute the following command, replacing “you@youremailid.com” with your e-mail address.&lt;br /&gt;&lt;br /&gt;# mail -s “Hello world” you@youremailid.com&lt;br /&gt;&lt;br /&gt;Hit the return key and you will come to a new line. Enter the text “This is a test from my server”. Follow up the text by hitting the return key again. Then hit the key combination of Control+D to continue. The command prompt will ask you if you want to mark a copy of the mail to any other address, hit Control+D again. Check your mailbox. This command will send out a mail to the email id mentioned with the subject, “Hello world”.&lt;br /&gt;&lt;br /&gt;To add content to the body of the mail while running the command you can use the following options. If you want to add text on your own:&lt;br /&gt;&lt;br /&gt;# echo “This will go into the body of the mail.” | mail -s “Hello world” you@youremailid.com&lt;br /&gt;&lt;br /&gt;And if you want mail to read the content from a file:&lt;br /&gt;&lt;br /&gt;# mail -s “Hello world” you@youremailid.com &lt; /home/calvin/application.logSome other useful options in the mail command are:-s subject (The subject of the mail)-c email-address (Mark a copy to this “email-address”, or CC)-b email-address (Mark a blind carbon copy to this “email-address”, or BCC)Here’s how you might use these options:# echo “Welcome to the world of Calvin n Hobbes” | mail -s “Hello world” calvin@cnh.com -c hobbes@cnh.com -b susie.derkins@cnh.comMUTTOne of major drawbacks of using the mail command is that it does not support the sending of attachments. mutt, on the other hand, does support it. I’ve found this feature particularly useful for scripts that generate non-textual reports or backups which are relatively small in size which I’d like to backup elsewhere. Of course, mutt allows you to do a lot more than just send attachments. It is a much more complete command line mail client than the “mail” command. Right now we’ll just explore the basic stuff we might need often. Here’s how you would attach a file to a mail:# echo “Sending an attachment.” | mutt -a backup.zip -s “attachment” calvin@cnh.comThis command will send a mail to calvin@cnh.com with the subject (-s) “attachment”, the body text “Sending an attachment.”, containing the attachment (-a) backup.zip. Like with the mail command you can use the “-c” option to mark a copy to another mail id.SENDING MAIL FROM A SHELL SCRIPTNow, with the basics covered you can send mails from your shell scripts. Here’s a simple shell script that gives you a reading of the usage of space on your partitions and mails the data to you.#!/bin/bashdf -h | mail -s “disk space report” calvin@cnh.comSave these lines in a file on your Linux server and run it. You should receive a mail containing the results of the command. If, however, you need to send more data than just this you will need to write the data to a text file and enter it into the mail body while composing the mail. Here’s and example of a shell script that gets the disk usage as well as the memory usage, writes the data into a temporary file, and then enters it all into the body of the mail being sent out:#!/bin/bashdf -h &gt; /tmp/mail_report.log&lt;br /&gt;free -m &gt;&gt; /tmp/mail_report.log&lt;br /&gt;mail -s “disk and RAM report” calvin@cnh.com &lt; /tmp/mail_report.log&lt;br /&gt;&lt;br /&gt;Now here’s a more complicated problem. You have to take a backup of a few files and mail then out. First the directory to be mailed out is archived. Then it is sent as an email attachment using mutt. Here’s a script to do just that:&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;tar -zcf /tmp/backup.tar.gz /home/calvin/files&lt;br /&gt;echo | mutt -a /tmp/backup.tar.gz -s “daily backup of data” calvin@cnh.com&lt;br /&gt;&lt;br /&gt;The echo at the start of the last line adds a blank into the body of the mail being set out.&lt;br /&gt;&lt;br /&gt;This should get you started with sending mails form the Linux command line and from shell scripts. Read up the “man page” for both mail and mutt for more options.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By Sukrit Dhandhania – December 1, 2008&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-4275439588337236269?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/4275439588337236269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=4275439588337236269' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4275439588337236269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4275439588337236269'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2010/01/how-to-send-email-from-linux-command.html' title='How to send email from the Linux command line'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-7932471948955636300</id><published>2009-12-04T11:38:00.002+08:00</published><updated>2009-12-04T11:41:18.025+08:00</updated><title type='text'>Installing rrdtool using yum on CentOS</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic; font-family: arial;" id="fullpost"&gt;1. Create a file called dag.repo in /etc/yum.repos.d/ just like below&lt;br /&gt;&lt;br /&gt;# vi  &lt;/span&gt;&lt;span style="font-style: italic; font-family: arial;" id="fullpost"&gt;/etc/yum.repos.d/&lt;/span&gt;&lt;span style="font-style: italic; font-family: arial;" id="fullpost"&gt;dag.repo&lt;br /&gt;&lt;br /&gt;[dag]&lt;br /&gt;name=Dag RPM Repository for Red Hat Enterprise Linux&lt;br /&gt;baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag&lt;br /&gt;gpgcheck=1&lt;br /&gt;gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt&lt;br /&gt;enabled=1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and then install the package&lt;br /&gt;&lt;br /&gt;# yum install rrdtool&lt;br /&gt;&lt;br /&gt;That's it!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-7932471948955636300?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/7932471948955636300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=7932471948955636300' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7932471948955636300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7932471948955636300'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/12/installing-rrdtool-using-yum-on-centos.html' title='Installing rrdtool using yum on CentOS'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-7485595327665851599</id><published>2009-06-22T14:13:00.000+08:00</published><updated>2009-06-22T14:14:54.809+08:00</updated><title type='text'>How to configure TCP/IP filtering in Windows 2000</title><content type='html'>This step-by-step article describes how to configure TCP/IP Filtering on Microsoft Windows 2000-based computers. Windows 2000-based computers support several methods of controlling inbound access. One of the most simple and most powerful methods of controlling inbound access is by using the TCP/IP Filtering feature. TCP/IP Filtering is available on all Windows 2000-based computers that have the TCP/IP stack installed. TCP/IP Filtering is useful from a security standpoint because it works in Kernel mode. In contrast, other methods of controlling inbound access to Windows 2000-based computers, such as by using the IPSec Policy filter and the Routing and Remote Access server, depend on User-mode processes or the Workstation and Server service. You can layer your TCP/IP inbound access control scheme by using TCP/IP Filtering with IPSec filters and Routing and Remote Access packet filtering. This approach is especially useful if you want to control inbound and outbound TCP/IP access. TCP/IP Security controls only inbound access.&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/309798#top"&gt;Back to the top&lt;/a&gt;&lt;br /&gt;&lt;a id="3"&gt;&lt;/a&gt;How to configure TCP/IP security&lt;br /&gt;loadTOCNode(2, 'summary');&lt;br /&gt;&lt;br /&gt;To configure TCP/IP security:&lt;br /&gt;Click Start , point to Settings , click Control Panel , and then double-click Network and Dial-up Connections .&lt;br /&gt;Right-click the interface on which you want to configure inbound access control, and then click Properties .&lt;br /&gt;In the Components checked are used by this connection box, click Internet Protocol (TCP/IP) , and then click Properties .&lt;br /&gt;In the Internet Protocol (TCP/IP) Properties dialog box, click Advanced .&lt;br /&gt;Click the Options tab.&lt;br /&gt;Click TCP/IP filtering , and then click Properties .&lt;br /&gt;Select the Enable TCP/IP Filtering (All adapters) check box. When you select this check box, you enable filtering for all adapters, but you configure the filters on a per-adapter basis. The same filters do not apply to all adapters.&lt;br /&gt;There are three columns with the following labels:&lt;br /&gt;TCP PortsUDP PortsIP ProtocolsIn each column, you must select either of the following options:&lt;br /&gt;Permit All . If you want to permit all packets for TCP or UDP traffic, leave Permit All activated. Permit Only . If you want to allow only selected TCP or UDP traffic, click Permit Only , click Add , and then type the appropriate port in the Add Filter dialog box. If you want to block all UDP or TCP traffic, click Permit Only , but do not add any port numbers in the UDP Ports or TCP Port column. You cannot block UDP or TCP traffic by selecting Permit Only for IP Protocols and excluding IP protocols 6 and 17. Note that you cannot block ICMP messages, even if you select Permit Only in the IP Protocols column and you do not include IP protocol 1. TCP/IP Filtering can filter only inbound traffic. This feature does not affect outbound traffic or response ports that are created to accept responses from outbound requests. Use IPSec Policies or packet filtering if you require more control over outbound access.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-7485595327665851599?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/7485595327665851599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=7485595327665851599' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7485595327665851599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7485595327665851599'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/06/how-to-configure-tcpip-filtering-in.html' title='How to configure TCP/IP filtering in Windows 2000'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-3556890557571069904</id><published>2009-05-17T09:02:00.000+08:00</published><updated>2009-05-17T09:03:21.048+08:00</updated><title type='text'>Hardening CentOS 5</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Configure user account&lt;/span&gt;. logout and relogin as user. su wherever required.&lt;br /&gt;            useradd &lt;username&gt;&lt;br /&gt;eg.        useradd myodduser&lt;br /&gt;&lt;br /&gt;        passwd myodduser &lt;new&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; Configure Default runlevel to runlevel 3&lt;/span&gt;&lt;br /&gt;        Use your favorite text editor to edit /etc/inittab&lt;br /&gt;        Find a line  that is similar to the following:&lt;br /&gt;       &lt;span style="font-weight: bold;"&gt;id:3:initdefault:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify the no. after “id:” id-colon  is 3. If it is not make it three.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;To restrict virtual terminals to two:&lt;/span&gt;&lt;br /&gt;Find out following stanza to enable only two virtual terminals available:&lt;br /&gt;&lt;br /&gt;# Run gettys in standard runlevels&lt;br /&gt;1:2345:respawn:/sbin/mingetty tty1&lt;br /&gt;2:2345:respawn:/sbin/mingetty tty2&lt;br /&gt;3:2345:respawn:/sbin/mingetty tty3&lt;br /&gt;4:2345:respawn:/sbin/mingetty tty4&lt;br /&gt;5:2345:respawn:/sbin/mingetty tty5&lt;br /&gt;6:2345:respawn:/sbin/mingetty tty6&lt;br /&gt;&lt;br /&gt;Make it to:&lt;br /&gt;&lt;br /&gt;# Run gettys in standard runlevels&lt;br /&gt;1:2345:respawn:/sbin/mingetty tty1&lt;br /&gt;2:2345:respawn:/sbin/mingetty tty2&lt;br /&gt;#3:2345:respawn:/sbin/mingetty tty3&lt;br /&gt;#4:2345:respawn:/sbin/mingetty tty4&lt;br /&gt;#5:2345:respawn:/sbin/mingetty tty5&lt;br /&gt;#6:2345:respawn:/sbin/mingetty tty6&lt;br /&gt;&lt;br /&gt;Save /etc/inittab and exit&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Edit /etc/fstab &lt;/span&gt;. For the file systems /tmp, /var, and /home replace the "defaults" with "noexec,nodev,nosuid"&lt;br /&gt;&lt;br /&gt;noexec    : Binaries are not allowed to be executed. NEVER use this option for your root file system!&lt;br /&gt;nosuid :  Blocks the operation of suid, and sgid bits.&lt;br /&gt;nodev  : Prevent any user to mount the file system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Disable unused services&lt;/span&gt; in order to save on resources and minimize potential security holes.&lt;br /&gt;These Services that are to be stopped are mentioned here, check appendix A in case of custom requirements.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NetworkManager&lt;br /&gt;NetworkManagerDispatacpid&lt;br /&gt;apmd&lt;br /&gt;autofs&lt;br /&gt;avahi-daemon&lt;br /&gt;avahi-dnsconfd&lt;br /&gt;bluetooth&lt;br /&gt;conman&lt;br /&gt;cpuspeed&lt;br /&gt;cups&lt;br /&gt;dc_client&lt;br /&gt;dc_server&lt;br /&gt;dhcdbd&lt;br /&gt;dund&lt;br /&gt;firstboot&lt;br /&gt;gpm&lt;br /&gt;haldaemon&lt;br /&gt;hidd&lt;br /&gt;ibmasm&lt;br /&gt;ip6tables&lt;br /&gt;ipmi&lt;br /&gt;irda&lt;br /&gt;irqbalance&lt;br /&gt;kdump&lt;br /&gt;kudzu&lt;br /&gt;mcstrans&lt;br /&gt;mdmonitor&lt;br /&gt;mdmpd&lt;br /&gt;microcode_ctl&lt;br /&gt;netfs&lt;br /&gt;netplugd&lt;br /&gt;nfs&lt;br /&gt;nfslock&lt;br /&gt;nscd&lt;br /&gt;oddjobd&lt;br /&gt;pand&lt;br /&gt;pcscd&lt;br /&gt;portmap&lt;br /&gt;rdisc&lt;br /&gt;restorecond&lt;br /&gt;rpcgssd&lt;br /&gt;rpcidmapd&lt;br /&gt;rpcsvcgssd&lt;br /&gt;saslauthd&lt;br /&gt;setroubleshoot&lt;br /&gt;smartd&lt;br /&gt;smb&lt;br /&gt;squid&lt;br /&gt;tux&lt;br /&gt;winbind&lt;br /&gt;wpa_supplicant&lt;br /&gt;xfs&lt;br /&gt;ypbind&lt;br /&gt;yum-updatesd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With following command format:&lt;br /&gt;&lt;br /&gt;chkconfig –level 12345 &lt;servicename_to_be_disabled&gt; off&lt;br /&gt;&lt;br /&gt;To stop if any of the service is running:&lt;br /&gt;service  &lt;servicename_to_be_stopped&gt; stop&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; check  /etc/hosts&lt;/span&gt;&lt;br /&gt;It must be in the format. (See the 127.0.0.1 line)&lt;br /&gt;127.0.0.1 localhost.localdomain localhost&lt;br /&gt;IP.AD.DR.ESS machine.domain.name machine&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Edit  /etc/host.conf&lt;/span&gt;&lt;br /&gt;order bind,hosts&lt;br /&gt;multi on&lt;br /&gt;nospoof on&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Edit /etc/sysctl.conf - tighten&lt;/span&gt;&lt;br /&gt;1. net.ipv4.tcp_syncookies = 1          # Enable TCP SYN Cookie Protection&lt;br /&gt;2. net.ipv4.conf.all.accept_source_route = 0    # Disables IP source routing&lt;br /&gt;3. net.ipv4.conf.all.accept_redirects = 0     # Disable ICMP Redirect Acceptance&lt;br /&gt;4. net.ipv4.conf.all.rp_filter = 1        # Enable IP spoofing protection, turn on source route verification  &lt;br /&gt;5. net.ipv4.icmp_echo_ignore_broadcasts = 1 # Enable ignoring broadcasts request&lt;br /&gt;6. net.ipv4.icmp_ignore_bogus_error_responses = 1 # Enable bad error message Protection&lt;br /&gt;7 net.ipv4.conf.all.log_martians = 1         # Log Spoofed Packets, Source Routed Packets, Redirect Packets&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Edit /etc/hosts.deny&lt;/span&gt;&lt;br /&gt;portmap: ALL&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Edit /etc/hosts.allow&lt;/span&gt;&lt;br /&gt;portmap: localhost&lt;br /&gt;portmap: 127.0.0.1&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SSH:&lt;/span&gt;&lt;br /&gt;Disable RootLogin, force protocol 2, (explore restricting SSH to users/groups )&lt;br /&gt;Protocol 2&lt;br /&gt;HostbasedAuthentication no&lt;br /&gt;PermitRootLogin no&lt;br /&gt;PermitEmptyPasswords no&lt;br /&gt;UsePrivilegeSeparation yes&lt;br /&gt;AllowTcpForwarding no&lt;br /&gt;X11Forwarding no&lt;br /&gt;StrictModes yes&lt;br /&gt;AllowUsers admin user1 user2 user3 (put actual users here in place of userN)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;div style="text-align: center;"&gt; &lt;span style="font-weight: bold; text-decoration: underline;"&gt;Stripping It   Down&lt;/span&gt;&lt;br /&gt; &lt;/div&gt;&lt;br /&gt;Following rpms are to be removed (You may add or remove some packages from this list in order to satisfy your environment.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;xkeyboard-config-0.8-7.fc6&lt;br /&gt;dosfstools-2.11-6.2.el5&lt;br /&gt;finger-0.17-32.2.1.1&lt;br /&gt;dos2unix-3.1-27.1&lt;br /&gt;esound-0.2.36-3&lt;br /&gt;system-config-securitylevel-1.6.29.1-1.el5&lt;br /&gt;NetworkManager-0.6.4-6.el5&lt;br /&gt;OpenIPMI-2.0.6-5.el5.3&lt;br /&gt;apmd-3.2.2-5&lt;br /&gt;acpid-1.0.4-5&lt;br /&gt;system-config-network-1.3.99-1.el5&lt;br /&gt;gnome-python2-gtkhtml2-2.14.2-4.fc6&lt;br /&gt;gnome-python2-bonobo-2.16.0-1.fc6&lt;br /&gt;xorg-x11-drv-mouse-1.1.1-1.1&lt;br /&gt;system-config-display-1.0.48-2.el5&lt;br /&gt;xorg-x11-server-Xorg-1.1.1-48.13.0.1.el5&lt;br /&gt;xorg-x11-server-Xvfb-1.1.1-48.13.0.1.el5&lt;br /&gt;gnome-mime-data-2.4.2-3.1&lt;br /&gt;centos-release-notes-5.0.0-2&lt;br /&gt;xorg-x11-filesystem-7.1-2.fc6&lt;br /&gt;xorg-x11-xauth-1.0.1-2.1&lt;br /&gt;xorg-x11-xkb-utils-1.0.2-2.1&lt;br /&gt;talk-0.17-29.2.2&lt;br /&gt;cpuspeed-1.2.1-1.45.el5&lt;br /&gt;hicolor-icon-theme-0.9-2.1&lt;br /&gt;alsa-lib-1.0.12-3.el5&lt;br /&gt;GConf2-2.14.0-9.el5&lt;br /&gt;xorg-x11-utils-7.1-2.fc6&lt;br /&gt;bluez-gnome-0.5-5.fc6&lt;br /&gt;xorg-x11-xinit-1.0.2-13.el5&lt;br /&gt;ypbind-1.19-7.el5&lt;br /&gt;firstboot-tui-1.4.27.2-1.el5.centos.1&lt;br /&gt;system-config-soundcard-2.0.6-1.el5&lt;br /&gt;yp-tools-2.9-0.1&lt;br /&gt;system-config-samba-1.2.39-1.el5&lt;br /&gt;system-config-kdump-1.0.9-3.el5&lt;br /&gt;tux-3.2.18-9.fc6&lt;br /&gt;xorg-x11-fonts-base-7.1-2.1.el5&lt;br /&gt;gnome-python2-canvas-2.16.0-1.fc6&lt;br /&gt;gnome-mount-0.5-3.el5&lt;br /&gt;xorg-x11-drv-vesa-1.2.1-5.2.el5&lt;br /&gt;xorg-x11-drv-keyboard-1.1.0-2.1&lt;br /&gt;xorg-x11-drv-evdev-1.0.0.5-2.el5&lt;br /&gt;samba-common-3.0.23c-2.el5.2.0.2&lt;br /&gt;xorg-x11-xfs-1.0.2-4&lt;br /&gt;samba-client-3.0.23c-2.el5.2.0.2&lt;br /&gt;xorg-x11-server-Xnest-1.1.1-48.13.0.1.el5&lt;br /&gt;samba-3.0.23c-2.el5.2.0.2&lt;br /&gt;gpm-1.20.1-74.1&lt;br /&gt;xorg-x11-server-utils-7.1-4.fc6&lt;br /&gt;redhat-menus-6.7.8-1.el5&lt;br /&gt;metacity-2.16.0-8.el5&lt;br /&gt;alsa-utils-1.0.12-3.fc6&lt;br /&gt;OpenIPMI-libs-2.0.6-5.el5.3&lt;br /&gt;portmap-4.0-65.2.2.1&lt;br /&gt;nfs-utils-1.0.9-16.el5&lt;br /&gt;system-config-nfs-1.3.23-1.el5&lt;br /&gt;subversion-1.4.2-2.el5&lt;br /&gt;gnome-python2-gconf-2.16.0-1.fc6&lt;br /&gt;gnome-python2-extras-2.14.2-4.fc6&lt;br /&gt;gnome-python2-gnomevfs-2.16.0-1.fc6&lt;br /&gt;xorg-x11-drv-void-1.1.0-3.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;div style="text-align: center;"&gt; &lt;span style="font-weight: bold;"&gt;Security and management tool installations and   fine tuning:&lt;/span&gt;&lt;br /&gt; &lt;/div&gt;&lt;br /&gt;Security Tools Download, install and run:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;a. chkrootkit - http://www.chkrootkit.org/download/&lt;/span&gt;&lt;br /&gt;Download to /usr/local/src&lt;br /&gt;Extract using "tar -zxf"&lt;br /&gt;Compile &amp;amp; Install using "make sense"&lt;br /&gt;Run chkrootkit&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;b. rkhunter - http://www.rootkit.nl/projects/rootkit_hunter.html&lt;/span&gt;&lt;br /&gt;Download to /usr/local/src&lt;br /&gt;Extract using "tar -zxf"&lt;br /&gt;Install using ./install.sh&lt;br /&gt;./installer.sh --layout /usr/local –install&lt;br /&gt;rkhunter --update&lt;br /&gt;Run "rkhunter -c --createlogfile"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Management Tool:. Download, install, configure: Webmin with SSL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Package Dependencies&lt;br /&gt;Ensure openssl and openssl-devel are installed&lt;br /&gt;rpm -q openssl&lt;br /&gt;rpm -q openssl-devel&lt;br /&gt;If they are not installed, install them using:&lt;br /&gt;yum install openssl openssl-devel -y&lt;br /&gt;(Mention ONLY those packages that need to be installed).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download the Webmin&lt;/span&gt; RPM - http://www.webmin.com/&lt;br /&gt;Download the RPM to /usr/local/src&lt;br /&gt;Install using rpm -Uvh&lt;br /&gt;Go to https://IP.AD.DR.ESS:10000 to configure. Login with user root, and password&lt;br /&gt;1. Under Webmin -&gt; Users -&gt; Edit the root user. Rename root user to "admin"&lt;br /&gt;2. Under Logging ensure all events by all users are logged&lt;br /&gt;3. Change the port from 10000 to a suitable one above 50000 (and below 60000).&lt;br /&gt;4. Under Authntication - set the idle time-out to 5 minutes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;d. Perl Libraries&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Net::SSLeay - http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-1.30.tar.gz&lt;br /&gt;Download to /usr/local/src/&lt;br /&gt;Extract with tar -xzf&lt;br /&gt;Prepare with "perl Makefile.PL"&lt;br /&gt;Compile &amp;amp; Install with "make install"&lt;br /&gt;Test installation with "perl -e 'use Net::SSLeay'". You should be returned to the prompt. If you get errors, the installation did not succeed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;e. Portsentry -&lt;/span&gt;ftp://194.199.20.114/linux/freshrpms/fedora/linux/1/portsentry/portsentry-1.1-11.fr.i386.rpm&lt;br /&gt;Download the RPM to /usr/local/src&lt;br /&gt;Install using rpm -Uvh&lt;br /&gt;Edit /etc/portsentry/portsentry.conf&lt;br /&gt;Edit /etc/portsentry/portsentry.modes&lt;br /&gt;Edit /etc/portsentry/portsentry.ignore&lt;br /&gt;Start portsentry.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;f. Checksuite - http://checksuite.sourceforge.net/&lt;/span&gt;&lt;br /&gt;Download the RPM to /usr/local/src&lt;br /&gt;Install using rpm -Uvh&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;g. Fine Tuning IPTABLES:&lt;/span&gt;&lt;br /&gt;edit /etc/sysconfig/iptables&lt;br /&gt;&lt;br /&gt;Insert rules for trusted ip addresses only which should access ssh port.&lt;br /&gt;&lt;br /&gt;-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -s &lt;trusted&gt;  -j ACCEPT&lt;br /&gt;&lt;br /&gt;These rules are to be added before following rule:&lt;br /&gt;-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also you will have to make sure other ports are kept open (Those considered under Pre-Installation preparation)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-3556890557571069904?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/3556890557571069904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=3556890557571069904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/3556890557571069904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/3556890557571069904'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/05/hardening-centos-5.html' title='Hardening CentOS 5'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-5163006742857215656</id><published>2009-05-04T13:52:00.001+08:00</published><updated>2009-05-04T13:53:36.831+08:00</updated><title type='text'>PacMan: THE LAST FIGHT</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_GLTe2JdQy24/Sf6CxaxRl9I/AAAAAAAAAAg/gRNsiqNBPXc/s1600-h/Pacquiao+VS+Logan.jpg"&gt;&lt;img style="cursor: pointer; width: 497px; height: 397px;" src="http://3.bp.blogspot.com/_GLTe2JdQy24/Sf6CxaxRl9I/AAAAAAAAAAg/gRNsiqNBPXc/s400/Pacquiao+VS+Logan.jpg" alt="" id="BLOGGER_PHOTO_ID_5331842794364442578" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-5163006742857215656?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/5163006742857215656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=5163006742857215656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5163006742857215656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5163006742857215656'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/05/pacman-last-fight.html' title='PacMan: THE LAST FIGHT'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_GLTe2JdQy24/Sf6CxaxRl9I/AAAAAAAAAAg/gRNsiqNBPXc/s72-c/Pacquiao+VS+Logan.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-4823369801273733115</id><published>2009-04-26T07:37:00.001+08:00</published><updated>2009-04-26T07:38:26.249+08:00</updated><title type='text'>How To: Transfer your PuTTY settings between computers</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Exporting Your PuTTy Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Putty stores its settings in the Windows registry. To save a backup of your Putty settings, you'll need to export this registry key to a file.&lt;br /&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\SimonTatham&lt;br /&gt;&lt;br /&gt;(&lt;a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/team.html" style=""&gt;Simon Tatham is the original developer responsible for PuTTy&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;1. Click Start-&gt;Run and type "RegEdt32" in the "Open" dialog. Click "Ok"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://www.blogcdn.com/www.downloadsquad.com/media/2007/02/run-dialog-regedt32.jpg" alt="" vspace="4" width="347" border="0" height="186" hspace="4" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;2. One RegEdt32 starts, you'll be presented with an application which looks something like:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://www.blogcdn.com/www.downloadsquad.com/media/2007/02/regedt32-425px.jpg" alt="" vspace="4" width="425" border="0" height="309" hspace="4" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;3. Press "Ctrl+F" to bring up the Find dialog. Enter the name of the key, "SimonTratham" in the "Find What" field, and make sure only "Keys" is checked in the "Look At" section of the dialog. Finally, click "Find Next"&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.blogcdn.com/www.downloadsquad.com/media/2007/02/regedt32-find-dialog.jpg" alt="" vspace="4" width="402" border="0" height="188" hspace="4" /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;4. The search may take a while, reminding us that the Windows Registry is a large and mysterious place where dragons be. Let's use these few seconds to reflect on the fact that &lt;span style="font-style: italic; font-weight: bold;"&gt;you should never, ever, never change things in the registry unless you are absolutely, positively, totally, completely&lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;, 100%&lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt; dead sure that you know exactly what you're doing&lt;/span&gt;. When the search completes we'll see the key name for which we're looking.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://www.blogcdn.com/www.downloadsquad.com/media/2007/02/the-simontatham-key-400px.jpg" alt="" vspace="4" width="400" border="1" height="165" hspace="4" /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;5. Click File-&gt;Export. Give your file an appropriate name like, "putty.reg" and click "Save"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://www.blogcdn.com/www.downloadsquad.com/media/2007/02/export-registry-file-400px.jpg" alt="" vspace="4" width="425" border="1" height="389" hspace="4" /&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div style="text-align: left;"&gt;&lt;br /&gt;6. We're done! Save the putty.reg file somewhere safe. The file doesn't contain any passwords or actual SSH key values so, it's relatively safe from prying eyes. Still, it does contain your configuration and that kind of data is a private matter. &lt;/div&gt; &lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold; text-decoration: underline;"&gt;Importing Your PuTTy Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To import your saved PuTTy configuration on any other Windows computer simply copy your exported registry key, right click on the file and click "Merge"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://www.blogcdn.com/www.downloadsquad.com/media/2007/02/putty_registry_import-425px.jpg" alt="" vspace="4" border="1" hspace="4" /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;Windows will ask you for confirmation that you want to import this set of registry values. We know this file is safe, because we created it but, &lt;span style="font-weight: bold; font-style: italic;"&gt;you should never import registry information from an unknown source&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://www.blogcdn.com/www.downloadsquad.com/media/2007/02/putty-import-confirm-425px.jpg" alt="" vspace="4" width="425" border="0" height="87" hspace="4" /&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;&lt;br /&gt;That's all you need to know about moving your PuTTy configuration from one machine to another. This can be really useful information when upgrading to a new PC or, if you're an office IT guy where your users all have a standard list of servers they need to connect via SSH, you can create a reference configuration on once machine and "share" it between every computer in the office.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;font-size:78%;" &gt;&lt;span style="font-family: arial;"&gt;source: http://www.downloadsquad.com/2007/02/01/howto-transfer-your-putty-settings-between-computers/&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-4823369801273733115?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/4823369801273733115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=4823369801273733115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4823369801273733115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4823369801273733115'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/04/how-to-transfer-your-putty-settings.html' title='How To: Transfer your PuTTY settings between computers'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-4295093153216097234</id><published>2009-04-14T07:07:00.004+08:00</published><updated>2009-04-15T09:13:34.057+08:00</updated><title type='text'>ip_conntrack: table full, dropping packet.</title><content type='html'>&lt;pre&gt;&lt;span style="font-weight: bold;"&gt;www kernel: printk: 1 messages suppressed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;www kernel: ip_conntrack: table full, dropping packet.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Reason behind this error:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Iptables under Linux maintains a list of connections passing&lt;br /&gt;through the router. Each connection tracking entry contains defined&lt;br /&gt;characteristics of the packet, including the source and destination&lt;br /&gt;IP address and port number. The connection tracking entries are&lt;br /&gt;ultimately stored in a hash table with a fixed size. If the router&lt;br /&gt;reaches the maximum number of connection tracking entries,it will&lt;br /&gt;log an error:&lt;br /&gt;&lt;br /&gt;"ip_conntrack: table full, dropping packet"&lt;br /&gt;&lt;br /&gt;The maximum size of the connection tracking table can be increased.&lt;br /&gt;The maximum size value is stored in the router's proc filesystem&lt;br /&gt;in the file /proc/sys/net/ipv4/ip_conntrack_max. Increasing the&lt;br /&gt;maximum size of the connection tracking table to a value larger than&lt;br /&gt;the total number of connections will eliminate the error message&lt;br /&gt;and prevent the router from dropping connections due to a lack of&lt;br /&gt;space in the connection tracking table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# This tell you how many sessions arte open right now.&lt;br /&gt;cat /proc/net/ip_conntrack | wc -l&lt;br /&gt;# This tells you the maximum number of conntrack entries you can have&lt;br /&gt;in total&lt;br /&gt;cat /proc/sys/net/ipv4/ip_conntrack_max&lt;br /&gt;&lt;br /&gt;Once the previous number hits beyond the latter, you should start&lt;br /&gt;seeing these messages. I would increase the latter number by calling:&lt;br /&gt;&lt;br /&gt;echo "&lt;some_bigger_number&gt;" &gt; /proc/sys/net/ipv4/ip_conntrack_max&lt;br /&gt;&lt;br /&gt;or if you want it to span reboots, you can place the following in&lt;br /&gt;/etc/sysctl.conf&lt;br /&gt;&lt;br /&gt;sys.net.ipv4.ip_conntrack_max =3D &lt;some_big_number&gt;&lt;br /&gt;&lt;/some_big_number&gt;&lt;/some_bigger_number&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-4295093153216097234?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/4295093153216097234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=4295093153216097234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4295093153216097234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4295093153216097234'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/04/ipconntrack-table-full-dropping-packet.html' title='ip_conntrack: table full, dropping packet.'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-6641860802518435747</id><published>2009-04-13T08:52:00.002+08:00</published><updated>2009-04-13T08:54:04.525+08:00</updated><title type='text'>Install Squid on CentOS / RHEL 5</title><content type='html'>&lt;p&gt;Use yum command as follows:&lt;br /&gt;&lt;code&gt;# yum install squid&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;pre&gt;Loading "installonlyn" plugin&lt;br /&gt;Setting up Install Process&lt;br /&gt;Setting up repositories&lt;br /&gt;Reading repository metadata in from local files&lt;br /&gt;Parsing package install arguments&lt;br /&gt;Resolving Dependencies&lt;br /&gt;--&gt; Populating transaction set with selected packages. Please wait.&lt;br /&gt;--&gt; Package squid.i386 7:2.6.STABLE6-4.el5 set to be updated&lt;br /&gt;--&gt; Running transaction check&lt;br /&gt;&lt;br /&gt;Dependencies Resolved&lt;br /&gt;&lt;br /&gt;=============================================================================&lt;br /&gt;Package                 Arch       Version          Repository        Size&lt;br /&gt;=============================================================================&lt;br /&gt;Installing:&lt;br /&gt;squid                   i386       7:2.6.STABLE6-4.el5  updates           1.2 M&lt;br /&gt;&lt;br /&gt;Transaction Summary&lt;br /&gt;=============================================================================&lt;br /&gt;Install      1 Package(s)&lt;br /&gt;Update       0 Package(s)&lt;br /&gt;Remove       0 Package(s)       &lt;br /&gt;&lt;br /&gt;Total download size: 1.2 M&lt;br /&gt;Is this ok [y/N]: y&lt;br /&gt;Downloading Packages:&lt;br /&gt;Running Transaction Test&lt;br /&gt;Finished Transaction Test&lt;br /&gt;Transaction Test Succeeded&lt;br /&gt;Running Transaction&lt;br /&gt;Installing: squid                        ######################### [1/1]&lt;br /&gt;&lt;br /&gt;Installed: squid.i386 7:2.6.STABLE6-4.el5&lt;br /&gt;Complete!&lt;/pre&gt; &lt;h2&gt;Squid Basic Configuration&lt;/h2&gt; &lt;p&gt;Squid configuration file located at /etc/squid/squid.conf. Open file using a text editor:&lt;br /&gt;&lt;code&gt;# vi /etc/squid/squid.conf&lt;/code&gt;&lt;br /&gt;At least you need to define ACL (access control list) to work with squid. The defaults port is TCP 3128. Following example ACL allowing access from your local networks 192.168.1.0/24 and 192.168.2.0/24. Make sure you adapt to list your internal IP networks from where browsing should be allowed:&lt;br /&gt;&lt;code&gt;acl our_networks src 192.168.1.0/24 192.168.2.0/24&lt;br /&gt;http_access allow our_networks&lt;/code&gt;&lt;/p&gt; &lt;p&gt;Save and close the file. Start squid proxy server:&lt;br /&gt;&lt;code&gt;# chkconfig squid on&lt;br /&gt;# /etc/init.d/squid start&lt;/code&gt;&lt;br /&gt;&lt;/p&gt; &lt;pre&gt;init_cache_dir /var/spool/squid... Starting squid: .       [  OK  ]&lt;/pre&gt; &lt;p&gt;Verify port 3128 is open:&lt;br /&gt;&lt;code&gt;# netstat -tulpn | grep 3128&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;tcp        0      0 0.0.0.0:&lt;span style="color: rgb(255, 0, 0);"&gt;3128&lt;/span&gt;                0.0.0.0:*                   &lt;span style="color: rgb(255, 0, 0);"&gt;LISTEN&lt;/span&gt;      20653/(squid)&lt;/pre&gt; &lt;h2&gt;Open TCP port 3128&lt;/h2&gt; &lt;p&gt;Finally make sure iptables is allowing to access squid proxy server. Just open /etc/sysconfig/iptables file:&lt;br /&gt;&lt;code&gt;# vi /etc/sysconfig/iptables&lt;/code&gt;&lt;br /&gt;Append configuration:&lt;br /&gt;&lt;code&gt;-A RH-Firewall-1-INPUT -m state --state NEW,ESTABLISHED,RELATED -m tcp -p tcp --dport 3128 -j ACCEPT&lt;/code&gt;&lt;br /&gt;Restart iptables based firewall:&lt;br /&gt;&lt;code&gt;# /etc/init.d/iptables restart&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;Flushing firewall rules:                                   [  OK  ]&lt;br /&gt;Setting chains to policy ACCEPT: filter                    [  OK  ]&lt;br /&gt;Unloading iptables modules:                                [  OK  ]&lt;br /&gt;Applying iptables firewall rules:                          [  OK  ]&lt;br /&gt;Loading additional iptables modules: ip_conntrack_netbios_n[  OK  ]&lt;/pre&gt; &lt;h2&gt;Client configuration&lt;/h2&gt; &lt;p&gt;Open a webbrowser &gt; Tools &gt; Internet option &gt; Network settings &gt;  and setup Squid server IP address and port # 3128.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-6641860802518435747?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/6641860802518435747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=6641860802518435747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6641860802518435747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6641860802518435747'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/04/install-squid-on-centos-rhel-5.html' title='Install Squid on CentOS / RHEL 5'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-5902073440443039555</id><published>2009-03-25T07:26:00.002+08:00</published><updated>2009-03-25T07:28:58.180+08:00</updated><title type='text'>Update The Root Hints Data File for BIND Named Server</title><content type='html'>&lt;p&gt;Use &lt;a href="http://www.cyberciti.biz/faq/wget-command-with-username-password/"&gt;wget command to retrieve file&lt;/a&gt; and store to /etc/bind/db.root (Debian / Ubuntu Linux), enter:&lt;br /&gt;&lt;code style="font-weight: bold;"&gt;# wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root&lt;/code&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;Under Red Hat / CentOS / Fedora Linux, default location is /var/named/named.root, enter:&lt;br /&gt;&lt;code&gt;# wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /var/named/named.root&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Reload rndc to update information, enter:&lt;br /&gt;&lt;code&gt;# rndc reload&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Another option is run dig command to fetch information:&lt;br /&gt;&lt;code style="font-weight: bold;"&gt;# dig +bufsize=1200 +norec NS . @a.root-servers.net &gt; /var/named/named.root&lt;/code&gt;&lt;/p&gt; &lt;p&gt;The root zone's nameservers change over time, don't assume this list is current. Always download a new version of db.cache once or twice year is sufficient. You can also schedule cron jon to update file. The best place to get update about this file is bind-users mailing list.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt; &lt;h2&gt;Sample updated root hints data file&lt;/h2&gt; &lt;pre&gt;;       This file holds the information on root name servers needed to&lt;br /&gt;;       initialize cache of Internet domain name servers&lt;br /&gt;;       (e.g. reference this file in the "cache  .  &lt;file&gt;"&lt;br /&gt;;       configuration file of BIND domain name servers).&lt;br /&gt;;&lt;br /&gt;;       This file is made available by InterNIC&lt;br /&gt;;       under anonymous FTP as&lt;br /&gt;;           file                /domain/db.cache&lt;br /&gt;;           on server           FTP.INTERNIC.NET&lt;br /&gt;;       -OR-                    RS.INTERNIC.NET&lt;br /&gt;;&lt;br /&gt;;       last update:    Feb 04, 2008&lt;br /&gt;;       related version of root zone:   2008020400&lt;br /&gt;;&lt;br /&gt;; formerly NS.INTERNIC.NET&lt;br /&gt;;&lt;br /&gt;.                        3600000  IN  NS    A.ROOT-SERVERS.NET.&lt;br /&gt;A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4&lt;br /&gt;A.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:BA3E::2:30&lt;br /&gt;;&lt;br /&gt;; formerly NS1.ISI.EDU&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    B.ROOT-SERVERS.NET.&lt;br /&gt;B.ROOT-SERVERS.NET.      3600000      A     192.228.79.201&lt;br /&gt;;&lt;br /&gt;; formerly C.PSI.NET&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    C.ROOT-SERVERS.NET.&lt;br /&gt;C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12&lt;br /&gt;;&lt;br /&gt;; formerly TERP.UMD.EDU&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    D.ROOT-SERVERS.NET.&lt;br /&gt;D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90&lt;br /&gt;;&lt;br /&gt;; formerly NS.NASA.GOV&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    E.ROOT-SERVERS.NET.&lt;br /&gt;E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10&lt;br /&gt;;&lt;br /&gt;; formerly NS.ISC.ORG&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    F.ROOT-SERVERS.NET.&lt;br /&gt;F.ROOT-SERVERS.NET.      3600000      A     192.5.5.241&lt;br /&gt;F.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:2f::f&lt;br /&gt;;&lt;br /&gt;; formerly NS.NIC.DDN.MIL&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    G.ROOT-SERVERS.NET.&lt;br /&gt;G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4&lt;br /&gt;;&lt;br /&gt;; formerly AOS.ARL.ARMY.MIL&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    H.ROOT-SERVERS.NET.&lt;br /&gt;H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53&lt;br /&gt;H.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:1::803f:235&lt;br /&gt;;&lt;br /&gt;; formerly NIC.NORDU.NET&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    I.ROOT-SERVERS.NET.&lt;br /&gt;I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17&lt;br /&gt;;&lt;br /&gt;; operated by VeriSign, Inc.&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    J.ROOT-SERVERS.NET.&lt;br /&gt;J.ROOT-SERVERS.NET.      3600000      A     192.58.128.30&lt;br /&gt;J.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:C27::2:30&lt;br /&gt;;&lt;br /&gt;; operated by RIPE NCC&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    K.ROOT-SERVERS.NET.&lt;br /&gt;K.ROOT-SERVERS.NET.      3600000      A     193.0.14.129&lt;br /&gt;K.ROOT-SERVERS.NET.      3600000      AAAA  2001:7fd::1&lt;br /&gt;;&lt;br /&gt;; operated by ICANN&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    L.ROOT-SERVERS.NET.&lt;br /&gt;L.ROOT-SERVERS.NET.      3600000      A     199.7.83.42&lt;br /&gt;;&lt;br /&gt;; operated by WIDE&lt;br /&gt;;&lt;br /&gt;.                        3600000      NS    M.ROOT-SERVERS.NET.&lt;br /&gt;M.ROOT-SERVERS.NET.      3600000      A     202.12.27.33&lt;br /&gt;M.ROOT-SERVERS.NET.      3600000      AAAA  2001:dc3::35&lt;br /&gt;; End of File&lt;br /&gt;&lt;/file&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-5902073440443039555?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/5902073440443039555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=5902073440443039555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5902073440443039555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5902073440443039555'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/03/update-root-hints-data-file-for-bind.html' title='Update The Root Hints Data File for BIND Named Server'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-8928795504757268957</id><published>2009-02-03T11:48:00.001+08:00</published><updated>2009-02-03T11:49:17.920+08:00</updated><title type='text'>How to view Email headers</title><content type='html'>&lt;p style="font-weight: bold;" class="header"&gt;Viewing E-mail Headers&lt;/p&gt;&lt;p style="font-weight: bold;" class="header"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="header_strong"&gt;&lt;a name="_1" id="_1"&gt;&lt;/a&gt;Microsoft Outlook 98, 2000, 2002, 2003&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Double-click on the message to open it in a separate window.&lt;/li&gt;&lt;li&gt;Click on &lt;strong&gt;View&lt;/strong&gt; and then &lt;em&gt;Options&lt;/em&gt; on the drop-down menu at the top of the window.&lt;/li&gt;&lt;li&gt;Look for the section titled &lt;em&gt;INTERNET HEADERS&lt;/em&gt; near the bottom of the &lt;em&gt;Options&lt;/em&gt; window.&lt;/li&gt;&lt;li&gt;You can highlight the text within the &lt;em&gt;INTERNET HEADERS&lt;/em&gt; section to copy it to a new message if you need to send these headers to someone.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_2" id="_2"&gt;&lt;/a&gt;Microsoft Outlook Express 5 &amp;amp; 6&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Right-click on the message and select &lt;strong&gt;Properties.&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Select the &lt;strong&gt;Details&lt;/strong&gt; tab.&lt;/li&gt;&lt;li&gt;You should see a section titled &lt;em&gt;Internet Headers for this message&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;You can highlight the text within the &lt;em&gt;Internet Headers &lt;/em&gt;section to copy it to a new message if you need to send these headers to someone.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_3" id="_3"&gt;&lt;/a&gt;Pegasus Mail Clients&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Double-click on the message to open it in a separate window.&lt;/li&gt;&lt;li&gt;Hit the &lt;strong&gt;backspace&lt;/strong&gt; key or type &lt;strong&gt;Ctrl-h &lt;/strong&gt;on your keyboard to show the full headers.&lt;/li&gt;&lt;li&gt;If you want to forward these headers to someone, hit the &lt;strong&gt;F&lt;/strong&gt; key after completing step 2.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_4" id="_4"&gt;&lt;/a&gt;Eudora Mail Clients&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Double-click on the message to open it in a separate window.&lt;/li&gt;&lt;li&gt;Click on the button labeled &lt;strong&gt;BLAH BLAH BLAH&lt;/strong&gt; at the top of the window. This will show the message headers.&lt;/li&gt;&lt;li&gt;You can then highlight and copy the headers into a new message for forwarding to someone.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_5" id="_5"&gt;&lt;/a&gt;Mozilla Thunderbird&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Double-click the e-mail you want to view the headers on.&lt;/li&gt;&lt;li&gt;Click on the &lt;strong&gt;View&lt;/strong&gt; drop-down menu and select &lt;em&gt;Headers&lt;/em&gt; and then select &lt;em&gt;All&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;This will show the headers for any message you view.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_6" id="_6"&gt;&lt;/a&gt;Mail for Mac OS X&lt;/p&gt; &lt;ol&gt;&lt;li&gt;After you open the &lt;em&gt;Mail&lt;/em&gt; app, click the on the &lt;strong&gt;Mail&lt;/strong&gt; drop-down menu and select &lt;em&gt;Preferences&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Click on the &lt;strong&gt;Viewing&lt;/strong&gt; icon.&lt;/li&gt;&lt;li&gt;Click on the arrow on the &lt;em&gt;Show header detail&lt;/em&gt; and select &lt;strong&gt;All&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;You will now see the full headers of each message you view.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_7" id="_7"&gt;&lt;/a&gt;TAMU Email&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Once you are logged in, right-click on the message you want to view.&lt;/li&gt;&lt;li&gt;From the menu that appears, choose '&lt;strong&gt;Show Original&lt;/strong&gt;.'&lt;/li&gt;&lt;li&gt;This will open up a new window and display the full message, including the headers.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_8" id="_8"&gt;&lt;/a&gt;Hotmail&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Once you are logged in, click on &lt;strong&gt;Options&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Click on &lt;strong&gt;Mail&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Click on &lt;strong&gt;Mail Display Settings&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Change the &lt;em&gt;Message Headers&lt;/em&gt; section to &lt;strong&gt;Advanced&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Now when you read an e-mail, it should show you the full message headers.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_9" id="_9"&gt;&lt;/a&gt;Yahoo! Mail&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Once you are logged in, click on &lt;strong&gt;Mail Options&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Click on &lt;strong&gt;General Preferences.&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Under the &lt;em&gt;Messages&lt;/em&gt; section, select &lt;strong&gt;Show all headers on incoming messages&lt;/strong&gt; for the &lt;em&gt;Headers&lt;/em&gt; option.&lt;/li&gt;&lt;li&gt;Click &lt;strong&gt;Save&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;You should now see the full headers of every message you view.&lt;/li&gt;&lt;/ol&gt; &lt;p class="header_strong"&gt;&lt;a name="_10" id="_10"&gt;&lt;/a&gt;Gmail&lt;/p&gt; &lt;ol&gt;&lt;li&gt;While viewing a message, click on the &lt;strong&gt;More options&lt;/strong&gt; arrow in the upper-right of your message pane.&lt;/li&gt;&lt;li&gt;Click on &lt;strong&gt;Show original.&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;This will display the headers for that message in a new window.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-8928795504757268957?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/8928795504757268957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=8928795504757268957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8928795504757268957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8928795504757268957'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/02/how-to-view-email-headers.html' title='How to view Email headers'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-4958438386638861130</id><published>2009-01-26T11:40:00.003+08:00</published><updated>2009-01-26T11:43:26.715+08:00</updated><title type='text'>Disable HTTP TRACE method in Tomcat</title><content type='html'>1. Edit $TOMCAT/conf/server.xml&lt;br /&gt;2. Look for "connector"&lt;connector\&gt;&lt;connector&gt; element&lt;br /&gt;3. Add an attribute: allowTrace="false"&lt;br /&gt;4. Restart Tomcat.&lt;/connector&gt;&lt;/connector\&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-4958438386638861130?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/4958438386638861130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=4958438386638861130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4958438386638861130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4958438386638861130'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2009/01/disable-http-trace-method-in-tomcat.html' title='Disable HTTP TRACE method in Tomcat'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-424429838893400959</id><published>2008-11-20T13:14:00.000+08:00</published><updated>2008-11-20T13:15:38.273+08:00</updated><title type='text'>Optimize bash_history</title><content type='html'>Here are some tricks on how you can optimize with some simple configurations settings the usage your bash history. &lt;p&gt;&lt;strong&gt;1. Don’t save duplicates:&lt;/strong&gt;&lt;br /&gt;This is my favorite…&lt;/p&gt; &lt;pre&gt;&lt;code&gt;HISTCONTROL=ignoreboth&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;this causes any lines matching the  previous  history entry not to be saved.&lt;br /&gt;Other options for &lt;strong&gt;HISTCONTROL&lt;/strong&gt;: ignorespace, lines which begin with a space character are not saved in the history list; erasedups causes all previous lines matching the current line to be removed from the history list before that line is saved.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;2. Size of the history:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;HISTSIZE&lt;/strong&gt;: The  number  of  commands to remember in the command history. The default value is 500.&lt;/p&gt; &lt;pre&gt;&lt;code&gt;HISTSIZE=500&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;You can set this to 0 and disable the usage of the history file.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;3. Others:&lt;/strong&gt;&lt;br /&gt;HISTFILE: The name of the file in which command history is saved.  The default value is &lt;strong&gt;~/.bash_history&lt;/strong&gt;.&lt;br /&gt;HISTIGNORE: A colon-separated list of patterns used to decide which command lines should be saved  on  the history  list.&lt;/p&gt; &lt;p&gt;&lt;span id="more-16"&gt;&lt;/span&gt;How do you set these options? Either export them in your environment in your personal bash configuration file (&lt;strong&gt;~/.bashrc&lt;/strong&gt;) or in the global bash configuration file (&lt;strong&gt;/etc/bash.bashrc&lt;/strong&gt;). The name of the configuration files can depend from your Linux distribution and bash version (the ones included are from Debian Linux), but you can always see your particular options using man bash. So, you can add in your configuration files the parameters you want like this:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;export HISTCONTROL=ignoreboth&lt;br /&gt;export HISTSIZE=500&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;You will need to restart your bash session in order to activate the settings. You can check if your configuration were entered correctly by typing &lt;strong&gt;env &lt;/strong&gt;at the command prompt. If you donâ€™t see your configuration in the environment variables than you have done something wrong. If you see your configuration option, then all is ok, and your setting is active already.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:78%;"&gt;http://www.ducea.com/2006/05/15/linux-tips-take-control-of-your-bash_history/&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-424429838893400959?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/424429838893400959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=424429838893400959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/424429838893400959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/424429838893400959'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2008/11/optimize-bashhistory.html' title='Optimize bash_history'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-6246920431562172667</id><published>2008-09-19T17:26:00.000+08:00</published><updated>2008-09-19T17:27:01.128+08:00</updated><title type='text'>How to check if Sender Privacy Framework (SPF) is setup correctly ?</title><content type='html'>Sender Privacy Framework (SPF) is a method used to prevent sender address forgery, i.e. someone to pretend someone he/she is not and send SPAM emails.&lt;br /&gt;&lt;br /&gt;Open a terminal window and type:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ host -t txt your-domain.com&lt;/blockquote&gt;&lt;br /&gt;You may see a message stating:&lt;br /&gt;&lt;blockquote&gt;"your-domain.com has no TXT record", so DNS changes need some time to propagate.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Another approach could be to query the DNS server that your web site is using:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ host -t txt your-domain.com ns1.your-domain.com&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The output should be:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Using domain server:&lt;br /&gt;Name: ns1.your-domain.com&lt;br /&gt;Address: 11.22.33.44#53&lt;br /&gt;Aliases:&lt;br /&gt;&lt;br /&gt;your-domain.com descriptive text "v=spf1 a mx -all"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Notes&lt;/span&gt;:&lt;br /&gt; your-domain.com is YOUR domain&lt;br /&gt;Address: 11.22.33.44 is your domain's IP address.&lt;br /&gt;the record in /var/named/data/zone.your-domain.com has contains following line.&lt;br /&gt;your-domain.com.   IN TXT  "v=spf1 a mx -all"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-6246920431562172667?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/6246920431562172667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=6246920431562172667' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6246920431562172667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6246920431562172667'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2008/09/how-to-check-if-sender-privacy.html' title='How to check if Sender Privacy Framework (SPF) is setup correctly ?'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-7718460757719339584</id><published>2008-09-08T13:04:00.001+08:00</published><updated>2008-09-08T13:07:47.405+08:00</updated><title type='text'>How to Enable Cookies</title><content type='html'>&lt;b&gt;&lt;/b&gt;&lt;span style=""&gt;To enable cookies, follow the instructions below for the browser version you are using.&lt;br /&gt;   &lt;br /&gt;      &lt;b&gt;Mozilla Firefox (1.0 final release and earlier)&lt;/b&gt;         &lt;/span&gt;&lt;ul&gt;&lt;span style=""&gt;          &lt;li&gt;Go to the "Tools" menu.           &lt;/li&gt;&lt;li&gt;Select "Options".           &lt;/li&gt;&lt;li&gt;Select the "Privacy" icon in the left panel.           &lt;/li&gt;&lt;li&gt;Check the box corresponding to "Allow sites to set cookies".           &lt;/li&gt;&lt;li&gt;Click "OK" to save changes.         &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt; &lt;span style=""&gt;        &lt;b&gt;Netscape 7.1/Mozilla 5.0&lt;/b&gt;         &lt;/span&gt;&lt;ul&gt;&lt;span style=""&gt;          &lt;li&gt;Select "Preferences" from the Edit menu.           &lt;/li&gt;&lt;li&gt;Click on the arrow next to "Privacy &amp;amp; Security" in the scrolling window to expand.           &lt;/li&gt;&lt;li&gt;Under "Privacy &amp;amp; Security", select "Cookies."           &lt;/li&gt;&lt;li&gt;Select "Enable all cookies".           &lt;/li&gt;&lt;li&gt;Click "OK".         &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt; &lt;span style=""&gt;        &lt;b&gt;Microsoft Internet Explorer 6.0+&lt;/b&gt;         &lt;/span&gt;&lt;ul&gt;&lt;span style=""&gt;          &lt;li&gt;Select "Internet Options" from the Tools menu.           &lt;/li&gt;&lt;li&gt;Click on the "Privacy" tab.           &lt;/li&gt;&lt;li&gt;Click the "Default" button (or manually slide the bar down to "Medium") under "Settings".           &lt;/li&gt;&lt;li&gt;Click "OK".         &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt; &lt;span style=""&gt;        &lt;b&gt;Microsoft Internet Explorer 5.x&lt;/b&gt;         &lt;/span&gt;&lt;ul&gt;&lt;span style=""&gt;          &lt;li&gt;Select "Internet Options" from the Tools menu.           &lt;/li&gt;&lt;li&gt;Click on the "Security" tab.           &lt;/li&gt;&lt;li&gt;Click the "Custom Level" button.           &lt;/li&gt;&lt;li&gt;Scroll down to the "Cookies" section.           &lt;/li&gt;&lt;li&gt;To enable:             &lt;ul&gt;&lt;li&gt;Set "Allow cookies that are stored on your computer" to "Enable".               &lt;/li&gt;&lt;li&gt;Set "Allow per-session cookies" to "Enable".             &lt;/li&gt;&lt;/ul&gt;           &lt;/li&gt;&lt;li&gt;Click "OK".         &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt; &lt;span style=""&gt;        &lt;b&gt;Microsoft Internet Explorer 4.x &lt;/b&gt;         &lt;/span&gt;&lt;ul&gt;&lt;span style=""&gt;          &lt;li&gt;Select "Internet Options" from the View menu.           &lt;/li&gt;&lt;li&gt;Click on the "Advanced" tab.           &lt;/li&gt;&lt;li&gt;Scroll down to find "Cookies" within the "Security" section.           &lt;/li&gt;&lt;li&gt;To enable:             &lt;ul&gt;&lt;li&gt;Select "Always accept cookies".             &lt;/li&gt;&lt;/ul&gt;           &lt;/li&gt;&lt;li&gt;Click "OK".         &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt; &lt;span style=""&gt;        &lt;b&gt;Netscape Communicator 4.x &lt;/b&gt;         &lt;/span&gt;&lt;ul&gt;&lt;span style=""&gt;          &lt;li&gt;Select "Preferences" from the Edit menu.           &lt;/li&gt;&lt;li&gt;Find the "Cookies" section in the "Advanced" category.           &lt;/li&gt;&lt;li&gt;To enable:             &lt;ul&gt;&lt;li&gt;Select "Accept all cookies" (or "Enable all cookies").             &lt;/li&gt;&lt;/ul&gt;           &lt;/li&gt;&lt;li&gt;Click "OK".         &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-7718460757719339584?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/7718460757719339584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=7718460757719339584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7718460757719339584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/7718460757719339584'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2008/09/how-to-enable-cookies.html' title='How to Enable Cookies'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-8069583618668917118</id><published>2008-07-12T06:24:00.001+08:00</published><updated>2008-07-12T06:26:12.914+08:00</updated><title type='text'>How to: Using Sudo</title><content type='html'>&lt;h3&gt;&lt;a name="What_is_sudo1"&gt;What is sudo?&lt;/a&gt;&lt;/h3&gt;  &lt;p class="H3Bullets0"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;    &lt;/span&gt;&lt;/span&gt;Sudo is a command that allows users defined in the &lt;b&gt;/etc/sudoers&lt;/b&gt; configuration file to have temporary &lt;b&gt;root&lt;/b&gt; access to run certain privileged commands.&lt;/p&gt;  &lt;p class="H3Bullets0"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;    &lt;/span&gt;&lt;/span&gt;The command you want to run must first begin with the word "&lt;b&gt;sudo&lt;/b&gt;" followed by the regular command syntax.&lt;/p&gt;  &lt;p class="H3Bullets0"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;    &lt;/span&gt;&lt;/span&gt;When running the command you will be prompted for your regular password before it is executed.You may run other privileged commands using &lt;b&gt;sudo&lt;/b&gt; within a five minute period without being re-prompted for a password&lt;/p&gt;  &lt;p class="H3Bullets0"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;    &lt;/span&gt;&lt;/span&gt;All commands run as &lt;b&gt;sudo&lt;/b&gt; are logged in the log file &lt;b&gt;/var/log/messages&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;  &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;/p&gt;  &lt;h3&gt;&lt;a name="_Toc34879967"&gt;&lt;/a&gt;&lt;a name="_Toc33115570"&gt;&lt;/a&gt;&lt;a name="_Toc32905574"&gt;&lt;/a&gt;&lt;a name="_Toc32197942"&gt;&lt;/a&gt;&lt;a name="_Toc32173933"&gt;&lt;/a&gt;&lt;a name="_Toc31558104"&gt;&lt;/a&gt;&lt;a name="_Toc30861723"&gt;&lt;/a&gt;&lt;a name="Download_&amp;amp;_Install_the_package1"&gt;Download and Install The sudo Package&lt;/a&gt;&lt;/h3&gt;  &lt;p class="H3Body0"&gt;Fortunately the package is installed by default by RedHat&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;h3&gt;&lt;a name="_Toc34879968"&gt;&lt;/a&gt;&lt;a name="_Toc33115571"&gt;&lt;/a&gt;&lt;a name="_Toc32905575"&gt;&lt;/a&gt;&lt;a name="_Toc32197943"&gt;&lt;/a&gt;&lt;a name="_Toc32173934"&gt;&lt;/a&gt;&lt;a name="_Toc31558105"&gt;&lt;/a&gt;&lt;a name="_Toc30861724"&gt;&lt;/a&gt;&lt;a name="The_visudo_command1"&gt;The visudo Command&lt;/a&gt; &lt;/h3&gt;  &lt;p class="H3Bullets0"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;    &lt;/span&gt;&lt;/span&gt;"&lt;b&gt;visudo&lt;/b&gt;" is the command used to edit the &lt;b&gt;/etc/sudoers&lt;/b&gt; configuration file. It is not recommended that you use any other editor to modify your &lt;b&gt;sudo&lt;/b&gt; parameters. "&lt;b&gt;visudo&lt;/b&gt;" uses the same commands as the "&lt;b&gt;vi&lt;/b&gt;" text editor.&lt;/p&gt;  &lt;p class="H3Bullets0"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;    &lt;/span&gt;&lt;/span&gt;"&lt;b&gt;visudo&lt;/b&gt;" is best run as user "root"&lt;/p&gt;  &lt;p class="H35Linux0"&gt; &lt;/p&gt;  &lt;p class="H35Linux0"&gt;[root@aqua tmp]# visudo&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;h3&gt;&lt;a name="_Toc34879969"&gt;&lt;/a&gt;&lt;a name="_Toc33115572"&gt;&lt;/a&gt;&lt;a name="_Toc32905576"&gt;&lt;/a&gt;&lt;a name="_Toc32197944"&gt;&lt;/a&gt;&lt;a name="_Toc32173935"&gt;&lt;/a&gt;&lt;a name="_Toc31558106"&gt;&lt;/a&gt;&lt;a name="_Toc30861725"&gt;&lt;/a&gt;&lt;a name="The_/etc/ntp.conf_file1"&gt;The /etc/sudoers File&lt;/a&gt; &lt;/h3&gt;  &lt;h4&gt;&lt;a name="_Toc34879970"&gt;&lt;/a&gt;&lt;a name="_Toc33115573"&gt;&lt;/a&gt;&lt;a name="_Toc32197945"&gt;&lt;/a&gt;&lt;a name="_Toc32173936"&gt;&lt;/a&gt;&lt;a name="_Toc31558107"&gt;&lt;/a&gt;&lt;a name="_Toc30861726"&gt;General Guidelines&lt;/a&gt;&lt;/h4&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;The &lt;b&gt;/etc/sudoers&lt;/b&gt; file has the general format:&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 63pt;"&gt;&lt;tt&gt;&lt;i&gt;usernames/group  target-servername = command&lt;/i&gt;&lt;/tt&gt;&lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;Groups are the same as user groups and are differentiated from regular users by a % at the beginning&lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;The "#" at the beginning of a line signifies a comment line&lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;You can have multiple usernames per line separated by commas&lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;Multiple commands can be separated by commas too. Spaces are considered part of the command.&lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;The keyword "ALL" can mean all usernames, groups, commands and servers.&lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;If you run out of space on a line, you can end it with a "\" and continue on the next line.&lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;The NOPASSWD keyword provides access without you being prompted for your password&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;h4&gt;&lt;a name="_Toc34879971"&gt;&lt;/a&gt;&lt;a name="_Toc33115574"&gt;&lt;/a&gt;&lt;a name="_Toc32197946"&gt;&lt;/a&gt;&lt;a name="_Toc32173937"&gt;&lt;/a&gt;&lt;a name="_Toc31558108"&gt;&lt;/a&gt;&lt;a name="_Toc30861727"&gt;Simple sudoers Examples&lt;/a&gt;&lt;/h4&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;Users "paul" and "mary" have full access to all privileged commands&lt;/p&gt;  &lt;p class="H45Linux0"&gt; &lt;/p&gt;  &lt;p class="H45Linux0"&gt;paul, mary  ALL=(ALL) ALL&lt;/p&gt;  &lt;b&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;/b&gt;  &lt;p class="H45Linux0"&gt; &lt;/p&gt;  &lt;p class="H4Bullets0"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;Users with a groupid of "operator" has full access to all commands and won't be prompted for a password when doing so.&lt;/p&gt;  &lt;p class="H45Linux0"&gt; &lt;/p&gt;  &lt;p class="H45Linux0"&gt;%operator  ALL=(ALL) NOPASSWD: ALL &lt;/p&gt;  &lt;p class="H45Linux0"&gt; &lt;/p&gt;  &lt;h3&gt;&lt;a name="_Toc34879972"&gt;&lt;/a&gt;&lt;a name="_Toc33115575"&gt;&lt;/a&gt;&lt;a name="_Toc32905577"&gt;&lt;/a&gt;&lt;a name="_Toc32197947"&gt;&lt;/a&gt;&lt;a name="_Toc32173938"&gt;&lt;/a&gt;&lt;a name="_Toc31558109"&gt;&lt;/a&gt;&lt;a name="_Toc30861728"&gt;&lt;/a&gt;&lt;a name="How_to_use_sudo_as_a_non_privileged_us1"&gt;How To Use sudo&lt;/a&gt;&lt;/h3&gt;  &lt;p class="MsoNormal" style="margin: 6pt 0in 6pt 27pt; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;In this example, user "paul" attempts to view the contents of the &lt;b&gt;/etc/sudoers&lt;/b&gt; file&lt;/p&gt;  &lt;p class="H35Linux0"&gt; &lt;/p&gt;  &lt;p class="H35Linux0"&gt;[paul@bigboy paul]$ more /etc/sudoers&lt;br /&gt;/etc/sudoers: Permission denied&lt;/p&gt;  &lt;p class="H35Linux0"&gt;[paul@bigboy paul]$&lt;/p&gt;  &lt;p class="H35Linux0"&gt; &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 6pt 0in 6pt 27pt; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;Paul tries again using &lt;b&gt;sudo&lt;/b&gt; and his regular user password and is successful&lt;/p&gt;  &lt;p class="H35Linux0"&gt;&lt;br /&gt;[paul@bigboy paul]$ sudo more /etc/sudoers&lt;br /&gt;Password:&lt;/p&gt;  &lt;p class="H35Linux0"&gt;...&lt;/p&gt;  &lt;p class="H35Linux0"&gt;...&lt;/p&gt;  &lt;p class="H35Linux0"&gt;...&lt;/p&gt;  &lt;p class="H35Linux0"&gt;[paul@bigboy paul]$&lt;/p&gt;  &lt;p class="H35Linux0"&gt; &lt;/p&gt;  &lt;h3&gt;&lt;a name="_Toc34879973"&gt;&lt;/a&gt;&lt;a name="_Toc33115576"&gt;&lt;/a&gt;&lt;a name="_Toc32905578"&gt;&lt;/a&gt;&lt;a name="_Toc32197948"&gt;&lt;/a&gt;&lt;a name="_Toc32173939"&gt;&lt;/a&gt;&lt;a name="_Toc31558110"&gt;&lt;/a&gt;&lt;a name="_Toc30861729"&gt;&lt;/a&gt;&lt;a name="Using_syslog_to_track_all_sudo_command1"&gt;Using syslog To Track All sudo Commands&lt;/a&gt; &lt;/h3&gt;  &lt;p class="H3Body0"&gt;All &lt;b&gt;sudo&lt;/b&gt; commands are logged in the log file &lt;b&gt;/var/log/messages&lt;/b&gt;. Here is sample output from the above example.&lt;/p&gt;  &lt;p class="H3Linux0"&gt; &lt;/p&gt;  &lt;p class="H3Linux0"&gt;[root@bigboy tmp]# grep sudo /var/log/messages&lt;br /&gt;Nov 18 22:50:30 bigboy sudo(pam_unix)[26812]: authentication failure; logname=paul uid=0 euid=0 tty=pts/0 ruser= rhost= user=paul&lt;br /&gt;Nov 18 22:51:25 bigboy sudo: paul : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/more sudoers&lt;br /&gt;[root@bigboy tmp]#&lt;/p&gt;&lt;br /&gt;&lt;p class="H3Linux0"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="H3Linux0"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="H3Linux0"&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-weight: bold;"&gt;courtesy: &lt;/span&gt;http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/sudo.htm&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-8069583618668917118?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/8069583618668917118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=8069583618668917118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8069583618668917118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8069583618668917118'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2008/07/how-to-using-sudo.html' title='How to: Using Sudo'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-4928638708605361055</id><published>2008-06-17T23:21:00.002+08:00</published><updated>2008-06-17T23:24:39.846+08:00</updated><title type='text'>Fix IPC$ error - Windows 98 to Windows 2000 / XP security</title><content type='html'>&lt;div class="normalfont" align="center"&gt;&lt;img src="http://www.homenethelp.com/web/howto/images/dialog-ipc.gif" height="178" width="420" /&gt;&lt;/div&gt;       &lt;div class="normalfont" align="left"&gt;&lt;img src="http://www.homenethelp.com/images/transparent.gif" height="15" /&gt;&lt;/div&gt;       &lt;div class="normalfont" align="left"&gt;When trying to        access a network drive or printers share on a Windows 2000/XP computer        from a Windows 95/98/ME computer, you may receive an        &lt;strong&gt;IPC$ dialog box&lt;/strong&gt;                                         like the one above. If you do, then        you need to configure security on your Windows 2000/XP computer. &lt;/div&gt;       &lt;div class="normalfont" align="center"&gt;&lt;img src="http://www.homenethelp.com/images/transparent.gif" height="15" /&gt;&lt;/div&gt;  &lt;table align="right" border="0" cellpadding="2" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;       &lt;div class="normalfont" align="left"&gt;When Windows 95/98/ME tries browsing the        Windows 2000/XP computer, it first must log in. The username Windows tries        is the name that you logged into Microsoft networking with. When your        Windows 98/95/ME computer booted up, you saw a screen like this: &lt;/div&gt;       &lt;div class="normalfont" align="center"&gt; &lt;img src="http://www.homenethelp.com/web/howto/images/win98login.gif" height="159" width="489" /&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;&lt;img src="http://www.homenethelp.com/images/transparent.gif" height="15" /&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;You must create that name in        Windows 2000/XP security to allow that user access to the Windows 2000/XP        shares.&lt;/div&gt;       &lt;div class="normalfont"&gt;&lt;img src="http://www.homenethelp.com/images/transparent.gif" height="15" /&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;&lt;strong&gt;Creating a Windows        2000&lt;img src="http://www.homenethelp.com/web/howto/images/ico-compmanage.gif" align="right" height="64" width="72" /&gt;&lt;img src="http://www.homenethelp.com/web/howto/images/ico-admintools.gif" align="right" height="61" width="85" /&gt;&lt;/strong&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;From the control panel, double        click the admin tools icon.  Next, click the Computer management        icon.  This will bring up a screen like the one below.  From        here, open the Local Users and Groups tree and add a new user by right        clicking on the 'Users folder' and select 'Add new user'.&lt;/div&gt;       &lt;div class="normalfont" align="center"&gt; &lt;img src="http://www.homenethelp.com/web/howto/images/win2k-computermanagement.gif" height="202" width="330" /&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;&lt;br /&gt;Create a user name that MATCHES        the user name used to lon into your Windows 98/98/ME computer.  I        would sugges assigning a password to this ID.  I have sometimes had        trouble in the past using blank passwords.  You should also UNCHECK        the 'User must change password' line and CHECK 'password never        expires'.&lt;/div&gt;       &lt;div class="normalfont"&gt;&lt;img src="http://www.homenethelp.com/images/transparent.gif" height="15" /&gt;&lt;/div&gt;       &lt;div class="normalfont" align="center"&gt; &lt;img src="http://www.homenethelp.com/web/howto/images/win2k-createuser.gif" height="194" width="250" /&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;&lt;img src="http://www.homenethelp.com/images/transparent.gif" height="15" /&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;This ID will default into the        USERS group.  This should be enough security to access files and        print shares.&lt;/div&gt;       &lt;div class="normalfont"&gt;&lt;img src="http://www.homenethelp.com/images/transparent.gif" height="15" /&gt;&lt;/div&gt;       &lt;div class="normalfont"&gt;Now, the next time you see that        &lt;strong&gt;IPC$ / Enter network password&lt;/strong&gt;                   thing, you can use the password speficied in        the user profile you just created!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-4928638708605361055?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/4928638708605361055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=4928638708605361055' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4928638708605361055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/4928638708605361055'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2008/06/fix-ipc-error-windows-98-to-windows_17.html' title='Fix IPC$ error - Windows 98 to Windows 2000 / XP security'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-8599215228149836085</id><published>2007-07-24T13:45:00.000+08:00</published><updated>2007-07-24T13:47:13.202+08:00</updated><title type='text'>Keep your Web site online with a High Availability Linux Apache cluster</title><content type='html'>&lt;div class="xar-clearleft"&gt;                  Failover &lt;a href="http://en.wikipedia.org/wiki/Computer_cluster"&gt;clusters&lt;/a&gt; are used to ensure high availability of system services and applications even through crashes, hardware failures, and environmental mishaps. In this article, I'll show you how to implement a rock-solid two-node high availability &lt;a href="http://apache.org/"&gt;Apache&lt;/a&gt; cluster with the &lt;a href="http://linux-ha.org/GettingStartedWithHeartbeat"&gt;heartbeat&lt;/a&gt; application from &lt;a href="http://linux-ha.org/"&gt;The High-Availability Linux Project&lt;/a&gt;. I tested the cluster on &lt;a href="http://fedora.redhat.com/"&gt;Fedora Core 5&lt;/a&gt;, &lt;a href="http://centos.org/"&gt;CentOS 4.3&lt;/a&gt;, and &lt;a href="http://www.ubuntu.com/server"&gt;Ubuntu 6.06.1 LTS server&lt;/a&gt; distributions.             &lt;/div&gt;       &lt;div id="featurecontent" class="xar-align-left"&gt;                  &lt;p&gt;In a cluster environment, a high availability (HA) system is responsible for starting and stopping services, mounting and dismounting resources, monitoring the system availability in the cluster environment, and handling the ownership of the virtual IP address that's shared between cluster nodes. The heartbeat service provides the basic functions required for the HA system. &lt;/p&gt;   The most common cluster configuration is called &lt;i&gt;standby&lt;/i&gt; configuration, as described &lt;a href="http://www.linuxshowcase.org/2000/2000papers/papers/robertson/robertson_html/"&gt;here&lt;/a&gt;. In the standby cluster configuration, one node performs all the work while the other node is idle. Heartbeat monitors health of particular service(s) usually through a separate Ethernet interface used only for HA purposes using special ping. If a node fails for some reason, heartbeat transfers all the HA components to the healthy node. When the node recovers, it can resume its former status. &lt;p&gt; &lt;b&gt;Installation and configuration&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;To test High Availability Linux, you need a second Ethernet adapter on each node to devote to heartbeat. Install the Apache Web server and the heartbeat program on both nodes. If the heartbeat package is not in any repository of your favorite distribution, you can &lt;a href="http://linux-ha.org/download/index.html"&gt;download it&lt;/a&gt;. On my CentOS servers, I used yum to install the necessary software:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;yum install -y httpd heartbeat&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;The configuration files for heartbeat are not in place when the software is installed. You need to copy them from the documentation folder to the /etc/ha.d/ folder:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;cp /usr/share/doc/heartbeat*/ha.cf /etc/ha.d/&lt;br /&gt;cp /usr/share/doc/heartbeat*/haresources /etc/ha.d/&lt;br /&gt;cp /usr/share/doc/heartbeat*/authkeys /etc/ha.d/&lt;/code&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;&lt;table style="border: 0px none ; padding: 3px; margin-right: 0px; float: right;"&gt; &lt;tbody&gt;&lt;tr class="even"&gt; &lt;td style="text-align: right;"&gt;  &lt;img src="http://www.linux.com/var/slashimages/0e5bbdfe3fc7a74ee397869ef79fddc7.png" alt="Configuration diagram" /&gt; &lt;/td&gt; &lt;td style="width: 12px;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; In the /etc/hosts file you must add hostnames and IP addresses to let the two nodes see each other. In my case it looks like this: &lt;p&gt; &lt;code&gt;192.168.1.1 node1.example.com    node1&lt;br /&gt;192.168.1.2 node2.example.com    node2&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;Make sure you have the exact same /etc/hosts file on both nodes and that you're able to ping both nodes. You can just copy the file from one node to another using secure copy:&lt;/p&gt;  &lt;code&gt;scp /etc/hosts root@node2:/etc/&lt;/code&gt;  &lt;p&gt;Next, modify the configuration file /etc/ha.d/ha.cf. Edit the following entries in order to get heartbeat to work:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;logfile /var/log/ha-log #where to log everything from heartbeat&lt;br /&gt;logfacility     local0   #Facility to use for syslog/logger&lt;br /&gt;keepalive 2   # the time between the heartbeats&lt;br /&gt;deadtime 30   #how long until the host is declared dead&lt;br /&gt;warntime 10   #how long before issuing "late heartbeat" warning&lt;br /&gt;initdead 120   # Very first dead time (initdead)&lt;br /&gt;udpport 694   #udp port for the bcast/ucast communication&lt;br /&gt;bcast   eth1    #on what interface to broadcast&lt;br /&gt;ucast eth1 10.0.0.1   #this is a 2-node cluster, so no need to use multicast here&lt;br /&gt;auto_failback on   #we want the resources to automatically fail back to its primary node&lt;br /&gt;node    node1.example.com   #the name of the first node&lt;br /&gt;node    node2.example.com   #the name of the second node&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;This are the basic options necessary for heartbeat to work. The file has to be configured identically on both nodes, except for the "ucast" part where you define the IP address of peer to send packets to. &lt;/p&gt;  &lt;p&gt;The next file is /etc/ha.d/haresources. In this file you need to define the master node name, virtual IP address (cluster IP), and which resources to start. In our case, we're starting the Apache Web server.&lt;/p&gt;  &lt;p&gt;We need only one line of data here:&lt;/p&gt;  &lt;code&gt;node1.example.com 192.168.1.5 httpd&lt;/code&gt;  &lt;p&gt;Make sure the file is exactly the same on both nodes. Note that the resource name is the name of the init script located in the /etc/init.d folder. If the resource name is not exactly the same as in /etc/init.d/, heartbeat will not be able to find it when it tries to read it and both Apache and heartbeat will fail to start.&lt;/p&gt;  &lt;p&gt;The last heartbeat-related file is /etc/ha.d/authkeys. This file must also be the same on both nodes, and it needs to be readable and writable only by the root user. If the permissions are different from what heartbeat expects, heartbeat will refuse to start. Make sure you have the file configured like this:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;auth 1&lt;br /&gt;1 crc&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;And make sure it's readable and writable by root only:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;chmod 600 /etc/ha.d/authkeys&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;Now it's time to configure the Apache service. We want Apache to listen on the virtual IP address 192.168.1.5, and we need to point the Apache document root to the /data mount point where our Web files will be kept. Note that storage for Apache can be practically anything from the local filesystem folder to a storage area network. Of course, there is no point in a failover cluster if the same data is not available for both nodes. If you don't own an external network-attached storage device (such as a Fibre Channel storage unit) you can mount any SMB, NFS, iSCSI, or SAN filesystem as a local folder so that each node can access the data when it is active. This is done by modifying the following entries in the /etc/httpd/conf/httpd.conf file (at least for the CentOS distribution):&lt;/p&gt;  &lt;p&gt; &lt;code&gt;Listen 192.168.1.5:80&lt;br /&gt;DocumentRoot "/data"&lt;br /&gt;&lt;directory&gt;&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;It's important for the Apache service to not start automatically at boot time, since heartbeat will start and stop the service as needed. Disable the automatic start with the command (on a Red Hat-based system):&lt;/p&gt;  &lt;p&gt; &lt;code&gt;chkconfig httpd remove&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;Make sure you have the same Apache configuration on both nodes.&lt;/p&gt;  &lt;p&gt; &lt;b&gt;Now we test&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;At this point we're done with configuration. Now it's time to start the newly created cluster. Start the heartbeat service on both nodes:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;/etc/init.d/heartbeat start&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;Watch the /var/log/ha-log on both nodes. If everything is configured correctly, you should see something like this in your log files:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;Configuration validated. Starting heartbeat 1.2.3.cvs.20050927&lt;br /&gt;heartbeat: version 1.2.3.cvs.20050927&lt;br /&gt;Link node1.example.com:eth1 up.&lt;br /&gt;Link node2.example.com:eth1 up.&lt;br /&gt;Status update for node node2.example.com: status active&lt;br /&gt;Local status now set to: 'active'&lt;br /&gt;remote resource transition completed.&lt;br /&gt;Local Resource acquisition completed. (none)&lt;br /&gt;node2.example.com wants to go standby [foreign]&lt;br /&gt;acquire local HA resources (standby).&lt;br /&gt;local HA resource acquisition completed (standby).&lt;br /&gt;Standby resource acquisition done [foreign].&lt;br /&gt;Initial resource acquisition complete (auto_failback)&lt;br /&gt;remote resource transition completed.&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;Now test the failover. Reboot the master server. The slave should take over the Apache service. If everything works well, you should see something like this:&lt;/p&gt;  &lt;p&gt; &lt;code&gt;Received shutdown notice from 'node1.example.com'.&lt;br /&gt;Resources being acquired from node1.example.com.&lt;br /&gt;acquire local HA resources (standby).&lt;br /&gt;local HA resource acquisition completed (standby).&lt;br /&gt;Standby resource acquisition done [foreign].&lt;br /&gt;Running /etc/ha.d/rc.d/status status&lt;br /&gt;Taking over resource group 192.168.1.5&lt;br /&gt;Acquiring resource group: node1.example.com 192.168.1.5 httpd&lt;br /&gt;mach_down takeover complete for node node1.example.com.&lt;br /&gt;node node1.example.com: is dead&lt;br /&gt;Dead node node1.example.com gave up resources.&lt;br /&gt;Link node1.example.com:eth1 dead.&lt;/code&gt; &lt;/p&gt; &lt;p&gt;And when the master comes back online again, he should take over the Apache service:&lt;/p&gt; &lt;code&gt;Heartbeat restart on node node1.example.comheartbeat&lt;br /&gt;Link node1.example.com:eth1 up.&lt;br /&gt;node2.example.com wants to go standby [foreign]&lt;br /&gt;standby: node1.example.com can take our foreign resources&lt;br /&gt;give up foreign HA resources (standby).&lt;br /&gt;Releasing resource group: node1.example.com 192.168.1.5 httpd&lt;br /&gt;Local standby process completed [foreign].&lt;br /&gt;remote resource transition completed.&lt;br /&gt;Other node completed standby takeover of foreign resources. &lt;/code&gt;  &lt;p&gt; &lt;b&gt;Conclusion&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;That's all it takes to build a low-cost highly available Web server cluster. There are of course many commercial products that accomplish the same goal, but for the production needs for small business or any other institution, High Availability Linux and heartbeat are an excellent alternative.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;                             By &lt;a href="mailto:%61%6e%7a%65%76%69%40%67%6d%61%69%6c%2e%63%6f%6d"&gt;Anže Vidmar&lt;/a&gt;              on        October 02, 2006 (8:00:00 AM)&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-8599215228149836085?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/8599215228149836085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=8599215228149836085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8599215228149836085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8599215228149836085'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2007/07/keep-your-web-site-online-with-high.html' title='Keep your Web site online with a High Availability Linux Apache cluster'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-6188779161650238350</id><published>2007-06-20T08:08:00.000+08:00</published><updated>2007-06-20T08:16:30.782+08:00</updated><title type='text'>Simple HOW TO’s … How to setup a Passwordless SSH</title><content type='html'>Simple HOW TO’s …&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;How to setup a Passwordless SSH:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;from source:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Generate source key on root account...&lt;br /&gt;&lt;br /&gt;&lt;root@localhost&gt;# ssh-keygen -t dsa&lt;br /&gt;&lt;br /&gt;Generating public/private dsa key pair.&lt;br /&gt;Enter file in which to save the key (/root/.ssh/id_dsa):&lt;br /&gt;Enter passphrase (empty for no passphrase):&lt;br /&gt;Enter same passphrase again:&lt;br /&gt;key fingerprint is:&lt;br /&gt;6f:c5:86:c7:67:69:02:1a:e4:a9:20:e6:16:13:5d:e5 admin1@gohan&lt;br /&gt;&lt;br /&gt;2. vi /root/.ssh/id_dsa then copy all content to notepad (need to be one-liner only)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;from destination:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Do the following&lt;br /&gt;&lt;br /&gt;# cd&lt;br /&gt;# mkdir -p .ssh&lt;br /&gt;# chmod 700 .ssh&lt;br /&gt;# vi .ssh/authorized_keys  ;then paste key generated from source then save&lt;br /&gt;# chmod 600 .ssh/authorized_keys&lt;br /&gt;&lt;br /&gt;DONE!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Shortcut:&lt;br /&gt;cat ~/.ssh/id_dsa.pub | ssh user@remotebox "(mkdir .ssh&amp;&gt;/dev/null; chmod 700 .ssh &amp;&amp;amp; cat - &gt;&gt; .ssh/authorized_keys )&amp;&amp;amp;chmod 600 .ssh/authorized_keys"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-6188779161650238350?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/6188779161650238350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=6188779161650238350' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6188779161650238350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/6188779161650238350'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2007/06/simple-how-tos-how-to-setup.html' title='Simple HOW TO’s … How to setup a Passwordless SSH'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-8386346234750995209</id><published>2007-06-20T08:01:00.000+08:00</published><updated>2007-06-20T08:07:20.020+08:00</updated><title type='text'>Simple HOW TO’s …. How to redirect an URL</title><content type='html'>Simple HOW TO’s ….&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to redirect an URL:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IIS Redirect&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    * In internet services manager, right click on the file or folder you wish to redirect&lt;br /&gt;    * Select the radio titled "a redirection to a URL".&lt;br /&gt;    * Enter the redirection page&lt;br /&gt;    * Check "The exact url entered above" and the "A permanent redirection for this resource"&lt;br /&gt;    * Click on 'Apply'&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ColdFusion Redirect&lt;/span&gt;&lt;br /&gt;&lt;.cfheader statuscode="301" statustext="Moved permanently"&gt;&lt;br /&gt;&lt;.cfheader name="Location" value="http://www.new-url.com"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PHP Redirect&lt;/span&gt;&lt;br /&gt;&lt;?&lt;br /&gt;Header( "HTTP/1.1 301 Moved Permanently" );&lt;br /&gt;Header( "Location: http://www.new-url.com" );&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ASP Redirect&lt;/span&gt;&lt;br /&gt;&lt;%@ Language=VBScript %&gt;&lt;br /&gt;&lt;%&lt;br /&gt;Response.Status="301 Moved Permanently";&lt;br /&gt;Response.AddHeader("Location","http://www.new-url.com/");&lt;br /&gt;%&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ASP .NET Redirect&lt;/span&gt;&lt;br /&gt;&lt;script runat="server"&gt;&lt;br /&gt;private void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;Response.Status = "301 Moved Permanently";&lt;br /&gt;Response.AddHeader("Location","http://www.new-url.com");&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;JSP (Java) Redirect&lt;/span&gt;&lt;br /&gt;&lt;%&lt;br /&gt;response.setStatus(301);&lt;br /&gt;response.setHeader( "Location", "http://www.new-url.com/" );&lt;br /&gt;response.setHeader( "Connection", "close" );&lt;br /&gt;%&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CGI PERL Redirect&lt;/span&gt;&lt;br /&gt;$q = new CGI;&lt;br /&gt;print $q-&gt;redirect("http://www.new-url.com/");&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ruby on Rails Redirect&lt;/span&gt;&lt;br /&gt;def old_action&lt;br /&gt;headers["Status"] = "301 Moved Permanently"&lt;br /&gt;redirect_to "http://www.new-url.com/"&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Redirect Old domain to New domain (htaccess redirect)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.&lt;br /&gt;The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)&lt;br /&gt;&lt;br /&gt;Options +FollowSymLinks&lt;br /&gt;RewriteEngine on&lt;br /&gt;RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]&lt;br /&gt;&lt;br /&gt;Please REPLACE www.newdomain.com in the above code with your actual domain name.&lt;br /&gt;&lt;br /&gt;In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.&lt;br /&gt;&lt;br /&gt;Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Redirect to www (htaccess redirect)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com&lt;br /&gt;The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)&lt;br /&gt;&lt;br /&gt;Options +FollowSymlinks&lt;br /&gt;RewriteEngine on&lt;br /&gt;rewritecond %{http_host} ^domain.com [nc]&lt;br /&gt;rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]&lt;br /&gt;&lt;br /&gt;Please REPLACE domain.com and www.newdomain.com with your actual domain name.&lt;br /&gt;&lt;br /&gt;Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to Redirect HTML&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Please refer to section titled 'How to Redirect with htaccess', if your site is hosted on a Linux Server and 'IIS Redirect', if your site is hosted on a Windows Server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-8386346234750995209?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/8386346234750995209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=8386346234750995209' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8386346234750995209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/8386346234750995209'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2007/06/simple-how-tos-how-to-redirect-url.html' title='Simple HOW TO’s …. How to redirect an URL'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-5617574412905622713</id><published>2007-06-20T07:46:00.000+08:00</published><updated>2007-06-20T07:59:52.013+08:00</updated><title type='text'>Simple HOW TO’s …. How to setup a Syslog Server</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Arial;"&gt;Simple HOW TO’s ….&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-family: Arial;"&gt;How to setup a Syslog Server:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Step #1. Configuring the client machines logging facilities.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;The first step when setting up your log server is to configure your linux machines syslog daemon to send there log files to an alternate location, the logserver. /etc/syslogd.conf is the configuration file that controls how linux will log data and where it will log it. Use your favourite text editor (pico or vi for example) and add the following line:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;[root@localhost]# vi /etc/syslogd.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;*.*&lt;span style=""&gt;  &lt;/span&gt;[hit tab a few times] @logserver&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;NOTE: This will tell syslogd to send logs to a machine called "logserver"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Step #2. Restart syslogd on the client machine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;After making your changes, restart syslogd so it will start with its new configuration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt;  &lt;/span&gt;[root@localhost]# killall -HUP syslogd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Step #3. Configure your client machines firewall.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;If your client machine is running a firewall, then you need to add a rule that will allow outgoing udp packets from the client machine to the logserver.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;[root@localhost]# /sbin/ipchains -A output -p udp -i eth0 -s 192.168.0.1 -d 192.168.0.2 514 -j ACCEPT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;NOTE: this rule is only for users who are running a firewall on there machine. It allows outgoing udp packets on the client machine (192.168.0.1) on port 514 (syslog port) to the loghost (192.168.0.2). If your not running a firewall, disgard it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Step #4. Configure the logserver for "remote reception".&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;Now that we have configured the client's machine to send log files to a machine called "logserver", lets setup the log server so that it accepts incoming logs from other machines. To stop the syslog daemon, you can find its process ID (PID) and kill it, then restart syslogd with "remote reception" enabled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt; &lt;/span&gt;[root@logserver]# ps -aux | grep "syslogd"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;root&lt;span style=""&gt;      &lt;/span&gt;1292&lt;span style=""&gt;  &lt;/span&gt;0.0&lt;span style=""&gt;  &lt;/span&gt;0.2&lt;span style=""&gt;  &lt;/span&gt;1404&lt;span style=""&gt;  &lt;/span&gt;176 ?&lt;span style=""&gt;        &lt;/span&gt;&lt;st1:place st="on"&gt;S&lt;span style=""&gt;    &lt;/span&gt;Aug10&lt;/st1:place&gt;&lt;span style=""&gt;   &lt;/span&gt;0:00 /usr/sbin/syslogd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;The process ID of syslogd is "1292" so we need to stop syslogd, make the change and then restart it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt;  &lt;/span&gt;[root@logserver]# kill 1292 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(or try kill -9 1292 if the process did not terminate)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;Now that the syslog daemon has be shutdown, we can now start it again with "remote reception" enabled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt; &lt;/span&gt;[root@logserver]# /usr/sbin/syslogd -rm 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;NOTE: the -r means "remote reception" and the -m 0 turns of the annoying "--MARK--" timestamp.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Step #5. Verify the logserver's syslog daemon is correctly configured.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;br /&gt;Verify that syslogd has been restarted with remote reception enabled by checking /var/log/messages (or /var/log/secure on some systems)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt;  &lt;/span&gt;[root@logserver]# cat /var/log/messages&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;Near the bottom you should see..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;  &lt;/span&gt;Aug 11 21:20:30 logserver syslogd 1.3-3: restart. (remote reception)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;br /&gt;Yup it worked. The linux machine called "logserver" is now setup for remote reception of log files from other machines on the network.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Step #6. Configure your firewall.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;If your logserver is running a firewall, then you need to add a rule that will allow incoming udp packets from the client machine to the logserver.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;[root@logserver]# /sbin/ipchains -A input -p udp -i eth0 -s 192.168.0.1 -d 192.168.0.2 514 -j ACCEPT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;br /&gt;This rule is only for users who are running a firewall on their logserver. It allows incoming udp packets from the client machine (192.168.0.1) on port 514 (syslog port) to the logserver (192.168.0.2) If your not running a firewall, disgard it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Step #7. Verify everything works correctly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;The last step is to verify that everything is working correctly. To do that, log out of your client machine and log back in, then go to your log server and check /var/log/messages (or /var/log/secure on some systems) and you should see the login from the client machine. If something does go wrong, make sure your network is setup correctly (ie are you able to ping other machines on your network? and is /etc/hosts setup on each machine?) make sure you have your log servers syslog daemon setup for remote recetpion (/usr/sbin/syslogd -rm 0) and make sure after you edit /etc/syslog.conf on the client machine you restart the syslog daemon (killall -HUP syslogd).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt;  &lt;/span&gt;[root@localhost]# logout&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Login: root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Password: xxxxxxxx&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;Now check your logservers log file (/var/log/messages or /var/log/secure) and you should see something like this&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt;  &lt;/span&gt;[root@logserver]# cat /var/log/messages&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=""&gt;  &lt;/span&gt;Aug 14 18:36:19 slackware login[2893]: ROOT LOGIN on `tty2'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;NOTE: We are logged onto the logserver and root's login on the client machine showed up in our log files. So everything is working correctly. Congrats.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;***You may also try to edit your syslog script to automatically start your syslog daemon to enable remote reception:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;[root@logserver]# vi /etc/rc2.d/S12syslog&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;# Source config&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;if [ -f /etc/sysconfig/syslog ] ; then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;. /etc/sysconfig/syslog&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;SYSLOGD_OPTIONS="-rm 0"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;KLOGD_OPTIONS="-2"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-5617574412905622713?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/5617574412905622713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=5617574412905622713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5617574412905622713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/5617574412905622713'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2007/06/simple-how-tos-how-to-setup-syslog.html' title='Simple HOW TO’s …. How to setup a Syslog Server'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-117491375371571951</id><published>2007-03-26T20:55:00.000+08:00</published><updated>2007-03-26T20:55:53.730+08:00</updated><title type='text'>Booting Single-User Mode</title><content type='html'>&lt;div class="SECT1"&gt;&lt;h1 class="SECT1"&gt;&lt;a name="S1-RESCUEMODE-BOOTING-SINGLE"&gt;Booting Single-User Mode&lt;/a&gt;&lt;/h1&gt;&lt;p&gt; You may be able to boot single-user mode directly. If your system  boots, but does not allow you to log in when it has completed booting,  try single-user mode.       &lt;/p&gt;&lt;p&gt; If you are using GRUB, use the following steps to boot into  single-user mode:       &lt;/p&gt;&lt;ol type="1"&gt;&lt;li&gt;&lt;p&gt;If you have a GRUB password configured, type &lt;tt class="COMMAND"&gt;p&lt;/tt&gt;      and enter the password.    &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Select &lt;b class="GUILABEL"&gt;Red Hat Linux&lt;/b&gt; with the version of the kernel      that you wish to boot and type &lt;tt class="COMMAND"&gt;e&lt;/tt&gt; for edit. You      will be presented with a list of items in the configuration file      for the title you just selected.    &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Select the line that starts with      &lt;tt class="COMPUTEROUTPUT"&gt;kernel&lt;/tt&gt; and type      &lt;tt class="COMMAND"&gt;e&lt;/tt&gt; to edit the line.    &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Go to the end of the line and type &lt;tt class="USERINPUT"&gt;&lt;b&gt;single&lt;/b&gt;&lt;/tt&gt;      as a separate word (press the &lt;span class="KEYCAP"&gt;&lt;keycap&gt;[Spacebar]&lt;/keycap&gt;&lt;/span&gt; and then      type &lt;tt class="USERINPUT"&gt;&lt;b&gt;single&lt;/b&gt;&lt;/tt&gt;). Press &lt;span class="KEYCAP"&gt;&lt;keycap&gt;[Enter]&lt;/keycap&gt;&lt;/span&gt;      to exit edit mode.    &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Back at the GRUB screen, type &lt;tt class="COMMAND"&gt;b&lt;/tt&gt; to boot into      single user mode.    &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt; If you are using LILO, specify one of these options at the LILO boot  prompt (if you are using the graphical LILO, you must press  &lt;span class="KEYCAP"&gt;&lt;keycap&gt;[Ctrl]&lt;/keycap&gt;&lt;/span&gt;-&lt;span class="KEYCAP"&gt;&lt;keycap&gt;[x]&lt;/keycap&gt;&lt;/span&gt; to exit  the graphical screen and go to the  &lt;tt class="COMPUTEROUTPUT"&gt;boot:&lt;/tt&gt; prompt):       &lt;/p&gt;&lt;table bgcolor="#e0e0e0" border="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="PROMPT"&gt;boot:&lt;/tt&gt; &lt;tt class="USERINPUT"&gt;&lt;b&gt;linux single&lt;/b&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt class="PROMPT"&gt;boot:&lt;/tt&gt; &lt;tt class="USERINPUT"&gt;&lt;b&gt;linux emergency&lt;/b&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; In single-user mode, you computer boots to runlevel 1. Your local  filesystems will be mounted, but your network will not be  activated. You will have a usable system maintenance shell.       &lt;/p&gt;&lt;p&gt; In emergency mode, you are booted into the most minimal environment  possible. The root filesystem will be mounted read-only and almost  nothing will be set up. The main advantage of emergency mode over  &lt;tt class="COMMAND"&gt;linux single&lt;/tt&gt; is that your  &lt;b class="APPLICATION"&gt;init&lt;/b&gt; files are not loaded. If  &lt;b class="APPLICATION"&gt;init&lt;/b&gt; is corrupted or not working, you can  still mount filesystems to recover data that could be lost during a  re-installation.       &lt;/p&gt;&lt;p&gt; Have you ever rebuilt a kernel and, eager to try out your new  handiwork, rebooted before running &lt;tt class="COMMAND"&gt;/sbin/lilo&lt;/tt&gt;? If you did not have an  entry for an older kernel in &lt;tt class="FILENAME"&gt;lilo.conf&lt;/tt&gt;, you had a  problem.  If you would like to know a solution to this problem, read  this section.       &lt;/p&gt;&lt;p&gt; In many cases, you can boot your Red Hat Linux system from the Red Hat Linux boot  disk &lt;a href="http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-rescuemode-boot.html#FTN.BOOT-DISK"&gt;[1]&lt;/a&gt; with your root filesystem   mounted and ready to go. Here is how to do it:       &lt;/p&gt;&lt;p&gt; Enter the following command at the boot disk's &lt;tt class="PROMPT"&gt;boot:&lt;/tt&gt;  prompt:       &lt;/p&gt;&lt;table bgcolor="#e0e0e0" border="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="COMMAND"&gt;linux single root=&lt;tt class="FILENAME"&gt;/dev/hd&lt;tt class="REPLACEABLE"&gt;&lt;i&gt;XX&lt;/i&gt;&lt;/tt&gt;&lt;/tt&gt; initrd=&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; Replace the &lt;tt class="COMMAND"&gt;&lt;tt class="REPLACEABLE"&gt;&lt;i&gt;XX&lt;/i&gt;&lt;/tt&gt;&lt;/tt&gt; in  &lt;tt class="FILENAME"&gt;/dev/hd&lt;tt class="REPLACEABLE"&gt;&lt;i&gt;XX&lt;/i&gt;&lt;/tt&gt;&lt;/tt&gt; with the  appropriate letter and number for your root partition.       &lt;/p&gt;&lt;p&gt; What does this command do? First, it starts the boot process in  single-user mode, with the root partition set to your root  partition. The empty &lt;tt class="COMMAND"&gt;initrd&lt;/tt&gt; specification bypasses  the installation-related image on the boot disk, which will cause you  to enter single-user mode immediately.       &lt;/p&gt;&lt;p&gt; Is there a negative side to using this technique? Unfortunately,  yes. Because the kernel on the Red Hat Linux boot disk only has support for  IDE built-in, if your system is SCSI-based, you will not be able to do  this.  In that case, you will have to access rescue mode using the  &lt;tt class="USERINPUT"&gt;&lt;b&gt;linux rescue&lt;/b&gt;&lt;/tt&gt; command mentioned above.       &lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-117491375371571951?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/117491375371571951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=117491375371571951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/117491375371571951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/117491375371571951'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2007/03/booting-single-user-mode.html' title='Booting Single-User Mode'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-116558228324114796</id><published>2006-12-08T20:50:00.000+08:00</published><updated>2006-12-08T20:54:13.183+08:00</updated><title type='text'>Terminal Services - Remote Control your W2K Server</title><content type='html'>&lt;table style="width: 502px; height: 5016px;" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="17" valign="top" width="524"&gt;         &lt;hr color="#34b389" noshade="noshade"&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td colspan="2" height="37" valign="top" width="639"&gt;         &lt;h1&gt;&lt;span lang="en-us"&gt;Overview&lt;/span&gt;&lt;/h1&gt;          &lt;blockquote&gt;           &lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;img src="http://www.akadia.com/img/terminal-services.jpg" align="right" border="0" height="200" hspace="10" vspace="5" width="200" /&gt;&lt;span lang="en-us"&gt;Looking for a way to           remote control your Windows 2000 Server without actually sitting in front of it? If you           have one of the Server editions of Windows then you're in luck. You can use &lt;b&gt;Terminal           Services&lt;/b&gt; which works quite well and &lt;b&gt;it's free!&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;          &lt;p class="header"&gt;&lt;span lang="en-us"&gt;Terminal Services runs in two modes:&lt;/span&gt;&lt;/p&gt;          &lt;blockquote&gt;           &lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span lang="en-us"&gt;Remote Administration&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span lang="en-us"&gt;Application Server Mode&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;We're interested in the &lt;b&gt;Remote Administration&lt;/b&gt; mode because           it is what we want to do and because the Application Server mode requires additional           licensing.&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td colspan="2" height="37" valign="top" width="639"&gt;         &lt;blockquote&gt;           &lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;span lang="en-us"&gt;Here is an overview of how Terminal Services works.           You have Terminal Services run on your Server and it sits there and waits for a remote           computer to connect to it. This will be referred to as &lt;b&gt;"Terminal Services Server"&lt;/b&gt;.           How does a remote computer connect to Terminal Services? There are two           ways.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;          &lt;p class="header"&gt;&lt;span lang="en-us"&gt;How Terminal Services works&lt;/span&gt;&lt;/p&gt;          &lt;blockquote&gt;           &lt;p&gt;&lt;span lang="en-us"&gt;&lt;b&gt;The first way&lt;/b&gt; is to install a Terminal Services client on           each of the computers you will use to remotely administer the server. This will be           referred to as &lt;b&gt;"Terminal Services Client"&lt;/b&gt;. You will have to create client disks           using a built-in program. This method works well, but you have to install the Terminal           Services Client software on each computer you use to administer the server. This could be           a problem if you want to have the freedom to remotely control your server from a variety           of places such as school, the library, or from a friends computer. We don't think you           want to install the client in all of those places. However, this method is fairly secure           because the only people who can administer your server also need the Terminal Services           Client.&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;b&gt;The second way&lt;/b&gt; requires that you install a special module           called the Terminal Services Advanced Client which can be downloaded from Microsoft.com.           This will be called the &lt;b&gt;"Terminal Services Advanced Client"&lt;/b&gt;. We have no idea what           Microsoft decided to call it "Advanced Client" because there is really nothing advanced           about it. This module allows you to log into Terminal Services via any computer that has           a &lt;b&gt;web browser and Active X&lt;/b&gt;. Of course there are still passwords required, but you           get the convenience of administering your server from any computer connected to the           Internet.&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;These two methods of connecting to Terminal Services will be           covered in different articles. Which of the two methods you use to access Terminal           Services is your choice&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;          &lt;h1&gt;&lt;span lang="en-us"&gt;Terminal Services Server Configuration&lt;/span&gt;&lt;/h1&gt;          &lt;p class="big"&gt;&lt;span lang="en-us"&gt;Install Terminal Service&lt;/span&gt;&lt;/p&gt;          &lt;blockquote&gt;           &lt;p class="normal"&gt;&lt;span lang="en-us"&gt;Start -&gt; Settings -&gt; Control Panel -&gt;           Add/Remove Programs -&gt;&lt;br /&gt;         Add/Remove Windows Components.&lt;/span&gt;&lt;/p&gt;            &lt;p class="normal"&gt;&lt;span lang="en-us"&gt;Scroll down until you see the Terminal Services           listing.&lt;/span&gt;&lt;/p&gt;            &lt;p class="normal"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;&lt;span lang="en-us"&gt;Check the box           that is labeled "Terminal Services". For remote administration, you DO NOT need to check           the box labeled "Terminal Services Licensing".&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p class="big"&gt;&lt;span style="font-size:85%;"&gt;&lt;span lang="en-us"&gt;&lt;img src="http://www.akadia.com/img/terminal_services_server_1.gif" border="0" height="386" width="504" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;The next window allows you to choose between "Remote Administration           Mode" and "Application Server Mode". We are interested in the Remote Administration Mode           so that we can manage the server from across the Internet.&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;          &lt;p class="big"&gt;&lt;span lang="en-us"&gt;Configure Terminal Service&lt;/span&gt;&lt;/p&gt;          &lt;blockquote&gt;           &lt;p&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Start -&gt; Settings -&gt;           Control Panel -&gt; Administrative Tools&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Let's take a look at the           Terminal Services Manager. Double click on the "Terminal Services Manager"           icon.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;&lt;span lang="en-us"&gt;Here we can see who is           connected to the Terminal Services and other monitoring information. Nothing to really do           here. Just to keep tabs on who is remotely administering your server.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;img src="http://www.akadia.com/img/terminal_services_server_2.gif" border="0" height="371" width="544" /&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;&lt;span lang="en-us"&gt;Next, we'll look at the           Terminal Services Configuration. Double click on the "Terminal Services Configuration"           icon. Click on "Server Settings". Here you can change the settings of how Terminal           Services runs. Everything can be safely left at the default settings.&lt;/span&gt;&lt;/span&gt;           &lt;span lang="en-us"&gt;By default, Terminal Services Server and Client talk to each other           &lt;b&gt;over port 3389.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;img src="http://www.akadia.com/img/terminal_services_server_3.gif" border="0" height="440" width="542" /&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;Now, your Terminal Service is up and running and you are ready to           allow client devices to access a virtual Windows 2000 Professional desktop session and           Windows-based programs running on the Server.&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;img src="http://www.akadia.com/img/terminal_services_server_4.gif" border="0" height="354" width="538" /&gt;&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;          &lt;h1&gt;&lt;span lang="en-us"&gt; Terminal Services Client Configuration&lt;/span&gt;&lt;/h1&gt;          &lt;blockquote&gt;           &lt;p&gt;&lt;span lang="en-us"&gt;On your Terminal Services Server, there is an icon labeled           "Terminal Services Client Creator" which creates disks that are used to install the           Terminal Services Client program on the computer you plan to use to remote administer the           server. You must install this client program on each computer you plan on using to remote           administer the server.&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;Double click on the "Terminal Services Client Creator" icon. You           will see the following screen. You must choose which version of windows (16-bit or           32-bit) the client disks should support. As a gross simplification, windows 3.1 is 16-bit           while windows 95 and later are 32-bit. The 16 bit version of the Terminal Services Client           requires 4 disks while the 32 bit version of TS Client requires only 2 disks.&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;img src="http://www.akadia.com/img/terminal_services_client_1.gif" border="0" height="175" width="366" /&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;Choose which version of the client you require and follow the           directions. After you are done making the Terminal Services Client disks, you can now           install the Terminal Services Client on any computer you will use to remotely administer           your server.&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;          &lt;p class="header"&gt;&lt;span lang="en-us"&gt;Port Forwading&lt;/span&gt;&lt;/p&gt;          &lt;blockquote&gt;           &lt;p&gt;&lt;span lang="en-us"&gt;The client computer that you use to remote administer your server           can be on the external WAN or the internal LAN. If you are using a LAN computer to access           Terminal Services on your server, then you do not need to do anything with your router.           However, if you are planning on accessing Terminal Services from a computer across the           Internet, &lt;b&gt;you will need to forward port 3389 to your server&lt;/b&gt;. This is very           important since Terminal Services listens on port 3389.&lt;/span&gt;&lt;/p&gt;         &lt;/blockquote&gt;          &lt;p class="header"&gt;&lt;span lang="en-us"&gt;Install &lt;span style="font-family:Arial,Helvetica;"&gt;Terminal Services Client&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;          &lt;blockquote&gt;           &lt;p&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Let's install the Terminal           Services Client on a computer that you will use to remote administer your server.&lt;/span&gt;           &lt;span style="font-family:Arial,Helvetica;"&gt;Insert the first Terminal Services Client floppy           disk into your disk drive and click setup.exe. After this you are ready to connect using           Terminal Services Client.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;img src="http://www.akadia.com/img/terminal_services_client_2.gif" border="0" height="373" width="347" /&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Once you connect to you           server through Terminal Services, you have full control over the server.  However,           the desktop you see is not exactly the one that is open on the server itself.  The           Terminal Services logs in separately, so technically, it is a different session.            However, everything you do in the Terminal Services session will be executed on the           server.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Once you are done working           with terminal services, how do you get out?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Go to "Start -&gt; Shut           Down".  You'll see four options.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;            &lt;table style="border-collapse: collapse; color: rgb(17, 17, 17);" bg="" border="1" cellpadding="3" width="90%"&gt;             &lt;tbody&gt;&lt;tr&gt;               &lt;td&gt;&lt;span lang="en-us"&gt;&lt;span style="color: rgb(204, 0, 0);font-family:Arial,Helvetica;" &gt;Log               off &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;This shuts down all               applications and terminates your Terminal Services session.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;              &lt;tr&gt;               &lt;td valign="top"&gt;&lt;span lang="en-us"&gt;&lt;span style="color: rgb(204, 0, 0);font-family:Arial,Helvetica;" &gt;Shut down&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;This physically shuts               down the computer and does not give you a way to restart the computer.  Be               careful.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;              &lt;tr&gt;               &lt;td valign="top"&gt;&lt;span lang="en-us"&gt;&lt;span style="color: rgb(204, 0, 0);font-family:Arial,Helvetica;" &gt;Restart&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;This physically               restarts the computer and in the process breaks your Terminal Services               connection.  However, you will be able to reconnect once the server               reboots.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;              &lt;tr&gt;               &lt;td valign="top"&gt;&lt;span lang="en-us"&gt;&lt;span style="color: rgb(204, 0, 0);font-family:Arial,Helvetica;" &gt;Disconnect&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;This is like logging               off, but leaves your applications and open so you can reconnect and pick up work               where you left off.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;-----------&lt;br /&gt;frm: http://www.akadia.com/services/terminal_server.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-116558228324114796?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/116558228324114796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=116558228324114796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/116558228324114796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/116558228324114796'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/12/terminal-services-remote-control-your.html' title='Terminal Services - Remote Control your W2K Server'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115926905085820117</id><published>2006-09-26T19:07:00.001+08:00</published><updated>2006-09-26T19:10:50.873+08:00</updated><title type='text'>VI (and Clone) Editor Reference Manual</title><content type='html'>&lt;h1 align="center"&gt;VI (and Clone) Editor Reference Manual&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;a name="s1"&gt;1.&lt;/a&gt;  Introduction&lt;/h3&gt;  This  is a brief, introductory reference for vi.  It is supplemental to the VI Introductory Guide and your vendor documentation. The information here also applies to all the clones of vi, such as vim, elvis, and stevie.  &lt;p&gt; Vi is actually a very powerful editor, and is organized in a logical fashion.  It is different from other editors or word processors,  which  may  make  learning it just a little bit tricky for some people.  If you approach it analytically and fearlessly,  you should become proficient with it in a short period of time.  &lt;/p&gt;&lt;p&gt; I highly recommend experimentation.  For obvious reasons you should restrict early experimentation to test files.  &lt;/p&gt;&lt;p&gt; Some  non-display character keys and other keys have special functions.  These keys will be shown by placing  their  name (such as RETURN) in square brackets, like this: &lt;b&gt;[RETURN]&lt;/b&gt;.  &lt;/p&gt;&lt;p&gt; Unlike  most non UNIX&lt;sup&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;a href="http://www.netads.com/%7Emeo/useful/vi/vi.rm.html#fn1"&gt;1&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/sup&gt; products, vi is case-sensitive.  Be careful with the &lt;b&gt;[CAPS LOCK]&lt;/b&gt; key (except in input mode).  If things are acting strange, make sure &lt;b&gt;[CAPS LOCK]&lt;/b&gt; is off.  If you are unsure about this, a good test is to press  the  `j' key;  if it moves the cursor down a line, &lt;b&gt;[CAPS LOCK]&lt;/b&gt; is not on; if it joins the next line to  the  current  line, &lt;b&gt;[CAPS LOCK]&lt;/b&gt; is on.  &lt;/p&gt;&lt;p&gt; Not all of the commands mentioned here are covered in the VI Introductory Guide.  There are also far more commands available in  vi than are covered here - for further information check your system documentation or  get  one  of  the  books available on vi.   &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1" width="95%"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="3"&gt;Special Keys&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;th&gt;Key&lt;/th&gt;&lt;th&gt;Command Mode&lt;/th&gt;&lt;th&gt;Text Mode&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;Arrow Keys&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;cursor movement&lt;/td&gt;     &lt;td valign="top"&gt;N/A&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[CTRL]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;used with other keys for extra commands&lt;/td&gt;     &lt;td valign="top"&gt;insert control characters in text&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[ENTER]&lt;/b&gt; or &lt;b&gt;[RETURN]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;down 1 line&lt;/td&gt;     &lt;td valign="top"&gt;normal function&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[ESC]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;N/A&lt;/td&gt;     &lt;td valign="top"&gt;leave text mode&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;Space Bar&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;move right 1 character&lt;/td&gt;     &lt;td valign="top"&gt;normal function&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[TAB]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;N/A&lt;/td&gt;     &lt;td valign="top"&gt;normal function&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;p&gt; When  a command is shown as a combination of the `^' (caret) and another character, as in &lt;b&gt;^V&lt;/b&gt;, this means press the  &lt;b&gt;[CTRL]&lt;/b&gt; key  first, and hold it down while you press and release the other key.  &lt;/p&gt;&lt;h3&gt;&lt;a name="s2"&gt;2.&lt;/a&gt;  Command Mode vs Text Mode&lt;/h3&gt;  Vi is always either in command mode or  text  (input)  mode. In  text mode any character key pressed is enetered into the file.  Most other typewriter keys have their normal  effect. On  some  systems  to  enter  a &lt;b&gt;[CTRL]&lt;/b&gt; key sequence, you may first have to enter &lt;b&gt;^V&lt;/b&gt; before the sequence you want.  &lt;p&gt; In command mode nearly every key on  the  keyboard  performs some  command  or  modifies the next command.  Some of these commands may be difficult to recover from, so be careful  in command mode to enter only the commands you wish to enter.  &lt;/p&gt;&lt;p&gt; The  &lt;b&gt;[RETURN]&lt;/b&gt;  key is not needed in command mode except with commands that begin with a `:' (colon) and with  the  search comands.   &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Mode Change Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;a&lt;/b&gt;&lt;/td&gt;&lt;td&gt;append text after cursor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;i&lt;/b&gt;&lt;/td&gt;&lt;td&gt;insert text before cursor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;o&lt;/b&gt;&lt;/td&gt;&lt;td&gt;open new line after current line &amp; add text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;O&lt;/b&gt;&lt;/td&gt;&lt;td&gt;open new line before current line &amp;amp; add text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;[ESC]&lt;/b&gt;&lt;/td&gt;&lt;td&gt;leave text mode&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;    &lt;h3&gt;&lt;a name="s3"&gt;3.&lt;/a&gt;  Cursor Motion&lt;/h3&gt;  Cursor  motion  should  nominally  include use of the cursor keys.  If your terminal lacks or  has  problems  with  arrow keys  in  vi  command  mode, the `h', `j', `k', and `l' keys will perform the same functions, as noted below.    &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Cursor Motion Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;h&lt;/td&gt;&lt;td&gt;move back 1 character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;l&lt;/td&gt;&lt;td&gt;move forward 1 character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;j&lt;/td&gt;&lt;td&gt;move down 1 line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;k&lt;/td&gt;&lt;td&gt;move up 1 line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td colspan="2"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;b&lt;/td&gt;&lt;td&gt;back to beginning of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;e&lt;/td&gt;&lt;td&gt;forward to end of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;w&lt;/td&gt;&lt;td&gt;forward to beginning of next word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;^&lt;/td&gt;&lt;td&gt;go to first displayable character of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;go to beginning of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;$&lt;/td&gt;&lt;td&gt;go to end of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td colspan="2"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;F&lt;/ctrl&gt;&lt;/td&gt;&lt;td&gt;forward 1 screen&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;B&lt;/ctrl&gt;&lt;/td&gt;&lt;td&gt;backward 1 screen&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;D&lt;/ctrl&gt;&lt;/td&gt;&lt;td&gt;down (forward) 1/2 screen&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;U&lt;/ctrl&gt;&lt;/td&gt;&lt;td&gt;up (backward) 1/2 screen&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h3&gt;&lt;a name="s4"&gt;4.&lt;/a&gt;  Editing Commands&lt;/h3&gt;  These are the commands that actually manipulate  text.   the commands  listed  here  include those which delete, replace, search, cut, and paste text, as well as those used for saving  text  and  abandoning  an edit session.  Finally, a few miscellaneous commands are included which don't fit into the other categories.  &lt;h4&gt;&lt;a name="s41"&gt;4.1.&lt;/a&gt;  Delete (Cut) Commands&lt;/h4&gt;  In  some  editors the delete commands may be called cut commands.  The last item deleted is saved in a buffer  and  may be put (or pasted) elsewhere in the file as noted later.   &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Delete Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;x&lt;/td&gt;&lt;td&gt;delete character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;dw&lt;/td&gt;&lt;td&gt;delete rest of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;d$&lt;/td&gt;&lt;td&gt;delete rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;D&lt;/td&gt;&lt;td&gt;delete rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;dd&lt;/td&gt;&lt;td&gt;delete line&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h4&gt;&lt;a name="s42"&gt;4.2.&lt;/a&gt;  Replace, Change and Substitute Commands&lt;/h4&gt;  Some editors provide commands to substitute new text occurances of search strings; this is not the same thing.  These following vi commands allows you to replace some number of characters, words, lines or parts of lines with new text.  &lt;p&gt; The change and substitute commands, the editor puts you into insert mode until you press &lt;b&gt;[ESC]&lt;/b&gt;.  The replace command replaces 1 (or more) characters with the next character you type.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Replace Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;r&lt;/td&gt;&lt;td&gt;replace character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;cw&lt;/td&gt;&lt;td&gt;change rest of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;c$&lt;/td&gt;&lt;td&gt;change rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;C&lt;/td&gt;&lt;td&gt;change rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;Ns&lt;/td&gt;&lt;td&gt;substitute text for N characters&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;     &lt;h4&gt;&lt;a name="s43"&gt;4.3.&lt;/a&gt;  Search Commands&lt;/h4&gt;  These commands let you search for a text string, which may include regular expressions.  They must be followed by a &lt;b&gt;[RETURN]&lt;/b&gt;.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Search Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;/text&lt;/td&gt;&lt;td&gt;search forward for text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;?text&lt;/td&gt;&lt;td&gt;search backward for text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;n&lt;/td&gt;&lt;td&gt;search in same direction for next occurance     of last-searched-for text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;N&lt;/td&gt;&lt;td&gt;search in other direction for next occurance     of last-searched-for text&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h4&gt;&lt;a name="s44"&gt;4.4.&lt;/a&gt;  Undo Command&lt;/h4&gt;  IN the real vi, the undo command only undoes the last command, even if that is an undo command.  Repeated undo  commands  simply  toggle the  effect  of  the  last command before the series of undo commands.  &lt;p&gt; Some vi clones, such as &lt;b&gt;vim&lt;/b&gt;, allow multiple undo's. These usually offer a way to set the undo level to the standard vi mode.  See your editor's man page or reference manual for details.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Undo Command&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;u&lt;/td&gt;&lt;td&gt;undo last command (BE CAREFUL WITH THIS)&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;  &lt;h4&gt;&lt;a name="s45"&gt;4.5.&lt;/a&gt;  Saving &amp; Exiting Commands&lt;/h4&gt;  These commands must be followed by a &lt;b&gt;[RETURN]&lt;/b&gt;.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Saving &amp;amp; Exiting Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:w&lt;/td&gt;&lt;td&gt;write (save) the file&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:w NAME&lt;/td&gt;&lt;td&gt;write the file and name it NAME&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:w! NAME&lt;/td&gt;&lt;td&gt;rewrite the file named NAME&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:wq&lt;/td&gt;&lt;td&gt;write the file and quit the editor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:q&lt;/td&gt;&lt;td&gt;quit the editor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:q!&lt;/td&gt;&lt;td&gt;quit the editor (abandoning any changes)&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;    &lt;h4&gt;&lt;a name="s46"&gt;4.6.&lt;/a&gt;  Search &amp; Replace Command&lt;/h4&gt;  To find &amp;amp;  replace  all  occurances  of  a  particular  text string, use the command:  &lt;pre&gt;    :%s/text1/text2/g[RETURN]&lt;br /&gt;&lt;/pre&gt;  which replaces all occurances of text1 with text2.  &lt;h4&gt;&lt;a name="s47"&gt;4.7.&lt;/a&gt;  Yank (Copy) Commands&lt;/h4&gt;  The  vi  yank command is similar to the copy command in many editors.  It copies the text into a buffer.  The text may be put  (pasted)  elsewhere  in the file as described under the Put command.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Yank Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;yw&lt;/td&gt;&lt;td&gt;yank rest of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;y$&lt;/td&gt;&lt;td&gt;yank rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;yy&lt;/td&gt;&lt;td&gt;yank entire line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;Y&lt;/td&gt;&lt;td&gt;yank entire line&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h4&gt;&lt;a name="s48"&gt;4.8.&lt;/a&gt;  Put (Paste) Commands&lt;/h4&gt;  The vi put command is similar to the paste command  in  many other editors.  It will paste whatever is in the buffer from either the previous delete or yank command.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Put Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;p&lt;/td&gt;&lt;td&gt;put yanked/deleted text before cursor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;P&lt;/td&gt;&lt;td&gt;put yanked/deleted text after cursor&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;  &lt;p&gt; If you yanked/deleted a whole line (or group  of  lines),  p and  P  paste  the  text  before  or after the current line, respectively; otherwise, they paste the text before or after the cursor, respectively, on the current line.   &lt;/p&gt;&lt;h4&gt;&lt;a name="s49"&gt;4.9.&lt;/a&gt;  Miscellaneous Commands&lt;/h4&gt;  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Miscellaneous Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;.&lt;/td&gt;&lt;td&gt;repeat last command (BE CAREFUL WITH THIS)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;J&lt;/td&gt;&lt;td&gt;join next line to end of this line&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1" cellpadding="3" width="70%"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;td&gt; &lt;center&gt; &lt;b&gt;NOTE&lt;/b&gt; &lt;/center&gt;  &lt;p&gt; The period, or dot, command repeats most commands, but not quite all.  It should work with all of the commands  listed  in  this document; if you aren't sure of what you're doing, save your  work  before you try something. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h3&gt;&lt;a name="s5"&gt;5.&lt;/a&gt;  Miscellaneous Notes&lt;/h3&gt;  Most  commands  (other  than  those  beginning  with a colon (`:') may be preceded by a repeat count.  For example, &lt;pre&gt;    3dd&lt;br /&gt;&lt;/pre&gt; would delete 3 lines, starting with the current one.  &lt;p&gt; Vi will not let you delete more lines than are in the  file, so  the  above  example  would not work on the last line; vi would beep at you instead.  &lt;/p&gt;&lt;hr /&gt; &lt;b&gt;Notes:&lt;/b&gt;&lt;br /&gt;&lt;em&gt; &lt;/em&gt;&lt;ol&gt;&lt;li&gt;&lt;em&gt;&lt;a name="fn1"&gt;UNIX&lt;/a&gt; is a trademark of Western Electric,     AT&amp;T, SCO, or whoever bought it this week. &lt;/em&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Copyright  1988, 1989, 1991, 1993, 1994, &amp;amp; 1998 by Susan Liebeskind (Atlanta, GA) and Miles O'Neal (Austin, TX).   All  rights reserved.  Permission is hereby granted to redistribute this in either  source  or formatted  form,  so  long as this copyright &amp;amp; the author's names are included,  unmodified  in  content, and  so long as no charge beyond reasonable cost of reproduction is charged.  Notwithstanding, inclusion in any other work or collection which is sold, rented, or otherwise charged for, is prohibited without express consent of the authors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115926905085820117?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115926905085820117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115926905085820117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115926905085820117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115926905085820117'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/09/vi-and-clone-editor-reference-manual.html' title='VI (and Clone) Editor Reference Manual'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115926902783345721</id><published>2006-09-26T19:07:00.000+08:00</published><updated>2006-09-26T19:10:27.866+08:00</updated><title type='text'></title><content type='html'>&lt;h1 align="center"&gt;VI (and Clone) Editor Reference Manual&lt;/h1&gt; &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;a name="s1"&gt;1.&lt;/a&gt;  Introduction&lt;/h3&gt;  This  is a brief, introductory reference for vi.  It is supplemental to the VI Introductory Guide and your vendor documentation. The information here also applies to all the clones of vi, such as vim, elvis, and stevie.  &lt;p&gt; Vi is actually a very powerful editor, and is organized in a logical fashion.  It is different from other editors or word processors,  which  may  make  learning it just a little bit tricky for some people.  If you approach it analytically and fearlessly,  you should become proficient with it in a short period of time.  &lt;/p&gt;&lt;p&gt; I highly recommend experimentation.  For obvious reasons you should restrict early experimentation to test files.  &lt;/p&gt;&lt;p&gt; Some  non-display character keys and other keys have special functions.  These keys will be shown by placing  their  name (such as RETURN) in square brackets, like this: &lt;b&gt;[RETURN]&lt;/b&gt;.  &lt;/p&gt;&lt;p&gt; Unlike  most non UNIX&lt;sup&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;a href="http://www.netads.com/%7Emeo/useful/vi/vi.rm.html#fn1"&gt;1&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/sup&gt; products, vi is case-sensitive.  Be careful with the &lt;b&gt;[CAPS LOCK]&lt;/b&gt; key (except in input mode).  If things are acting strange, make sure &lt;b&gt;[CAPS LOCK]&lt;/b&gt; is off.  If you are unsure about this, a good test is to press  the  `j' key;  if it moves the cursor down a line, &lt;b&gt;[CAPS LOCK]&lt;/b&gt; is not on; if it joins the next line to  the  current  line, &lt;b&gt;[CAPS LOCK]&lt;/b&gt; is on.  &lt;/p&gt;&lt;p&gt; Not all of the commands mentioned here are covered in the VI Introductory Guide.  There are also far more commands available in  vi than are covered here - for further information check your system documentation or  get  one  of  the  books available on vi.   &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1" width="95%"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="3"&gt;Special Keys&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;th&gt;Key&lt;/th&gt;&lt;th&gt;Command Mode&lt;/th&gt;&lt;th&gt;Text Mode&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;Arrow Keys&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;cursor movement&lt;/td&gt;     &lt;td valign="top"&gt;N/A&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[CTRL]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;used with other keys for extra commands&lt;/td&gt;     &lt;td valign="top"&gt;insert control characters in text&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[ENTER]&lt;/b&gt; or &lt;b&gt;[RETURN]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;down 1 line&lt;/td&gt;     &lt;td valign="top"&gt;normal function&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[ESC]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;N/A&lt;/td&gt;     &lt;td valign="top"&gt;leave text mode&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;Space Bar&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;move right 1 character&lt;/td&gt;     &lt;td valign="top"&gt;normal function&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;[TAB]&lt;/b&gt;&lt;/td&gt;     &lt;td valign="top"&gt;N/A&lt;/td&gt;     &lt;td valign="top"&gt;normal function&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;p&gt; When  a command is shown as a combination of the `^' (caret) and another character, as in &lt;b&gt;^V&lt;/b&gt;, this means press the  &lt;b&gt;[CTRL]&lt;/b&gt; key  first, and hold it down while you press and release the other key.  &lt;/p&gt;&lt;h3&gt;&lt;a name="s2"&gt;2.&lt;/a&gt;  Command Mode vs Text Mode&lt;/h3&gt;  Vi is always either in command mode or  text  (input)  mode. In  text mode any character key pressed is enetered into the file.  Most other typewriter keys have their normal  effect. On  some  systems  to  enter  a &lt;b&gt;[CTRL]&lt;/b&gt; key sequence, you may first have to enter &lt;b&gt;^V&lt;/b&gt; before the sequence you want.  &lt;p&gt; In command mode nearly every key on  the  keyboard  performs some  command  or  modifies the next command.  Some of these commands may be difficult to recover from, so be careful  in command mode to enter only the commands you wish to enter.  &lt;/p&gt;&lt;p&gt; The  &lt;b&gt;[RETURN]&lt;/b&gt;  key is not needed in command mode except with commands that begin with a `:' (colon) and with  the  search comands.   &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Mode Change Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;a&lt;/b&gt;&lt;/td&gt;&lt;td&gt;append text after cursor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;i&lt;/b&gt;&lt;/td&gt;&lt;td&gt;insert text before cursor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;o&lt;/b&gt;&lt;/td&gt;&lt;td&gt;open new line after current line &amp; add text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;O&lt;/b&gt;&lt;/td&gt;&lt;td&gt;open new line before current line &amp;amp; add text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;b&gt;[ESC]&lt;/b&gt;&lt;/td&gt;&lt;td&gt;leave text mode&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;    &lt;h3&gt;&lt;a name="s3"&gt;3.&lt;/a&gt;  Cursor Motion&lt;/h3&gt;  Cursor  motion  should  nominally  include use of the cursor keys.  If your terminal lacks or  has  problems  with  arrow keys  in  vi  command  mode, the `h', `j', `k', and `l' keys will perform the same functions, as noted below.    &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Cursor Motion Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;h&lt;/td&gt;&lt;td&gt;move back 1 character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;l&lt;/td&gt;&lt;td&gt;move forward 1 character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;j&lt;/td&gt;&lt;td&gt;move down 1 line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;k&lt;/td&gt;&lt;td&gt;move up 1 line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td colspan="2"&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;b&lt;/td&gt;&lt;td&gt;back to beginning of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;e&lt;/td&gt;&lt;td&gt;forward to end of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;w&lt;/td&gt;&lt;td&gt;forward to beginning of next word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;^&lt;/td&gt;&lt;td&gt;go to first displayable character of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;go to beginning of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;$&lt;/td&gt;&lt;td&gt;go to end of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td colspan="2"&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;F&lt;/td&gt;&lt;td&gt;forward 1 screen&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;B&lt;/td&gt;&lt;td&gt;backward 1 screen&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;D&lt;/td&gt;&lt;td&gt;down (forward) 1/2 screen&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;ctrl&gt;U&lt;/td&gt;&lt;td&gt;up (backward) 1/2 screen&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h3&gt;&lt;a name="s4"&gt;4.&lt;/a&gt;  Editing Commands&lt;/h3&gt;  These are the commands that actually manipulate  text.   the commands  listed  here  include those which delete, replace, search, cut, and paste text, as well as those used for saving  text  and  abandoning  an edit session.  Finally, a few miscellaneous commands are included which don't fit into the other categories.  &lt;h4&gt;&lt;a name="s41"&gt;4.1.&lt;/a&gt;  Delete (Cut) Commands&lt;/h4&gt;  In  some  editors the delete commands may be called cut commands.  The last item deleted is saved in a buffer  and  may be put (or pasted) elsewhere in the file as noted later.   &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Delete Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;x&lt;/td&gt;&lt;td&gt;delete character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;dw&lt;/td&gt;&lt;td&gt;delete rest of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;d$&lt;/td&gt;&lt;td&gt;delete rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;D&lt;/td&gt;&lt;td&gt;delete rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;dd&lt;/td&gt;&lt;td&gt;delete line&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h4&gt;&lt;a name="s42"&gt;4.2.&lt;/a&gt;  Replace, Change and Substitute Commands&lt;/h4&gt;  Some editors provide commands to substitute new text occurances of search strings; this is not the same thing.  These following vi commands allows you to replace some number of characters, words, lines or parts of lines with new text.  &lt;p&gt; The change and substitute commands, the editor puts you into insert mode until you press &lt;b&gt;[ESC]&lt;/b&gt;.  The replace command replaces 1 (or more) characters with the next character you type.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Replace Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;r&lt;/td&gt;&lt;td&gt;replace character&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;cw&lt;/td&gt;&lt;td&gt;change rest of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;c$&lt;/td&gt;&lt;td&gt;change rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;C&lt;/td&gt;&lt;td&gt;change rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;Ns&lt;/td&gt;&lt;td&gt;substitute text for N characters&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;     &lt;h4&gt;&lt;a name="s43"&gt;4.3.&lt;/a&gt;  Search Commands&lt;/h4&gt;  These commands let you search for a text string, which may include regular expressions.  They must be followed by a &lt;b&gt;[RETURN]&lt;/b&gt;.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Search Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;/text&lt;/td&gt;&lt;td&gt;search forward for text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;?text&lt;/td&gt;&lt;td&gt;search backward for text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;n&lt;/td&gt;&lt;td&gt;search in same direction for next occurance     of last-searched-for text&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;N&lt;/td&gt;&lt;td&gt;search in other direction for next occurance     of last-searched-for text&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h4&gt;&lt;a name="s44"&gt;4.4.&lt;/a&gt;  Undo Command&lt;/h4&gt;  IN the real vi, the undo command only undoes the last command, even if that is an undo command.  Repeated undo  commands  simply  toggle the  effect  of  the  last command before the series of undo commands.  &lt;p&gt; Some vi clones, such as &lt;b&gt;vim&lt;/b&gt;, allow multiple undo's. These usually offer a way to set the undo level to the standard vi mode.  See your editor's man page or reference manual for details.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Undo Command&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;u&lt;/td&gt;&lt;td&gt;undo last command (BE CAREFUL WITH THIS)&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;  &lt;h4&gt;&lt;a name="s45"&gt;4.5.&lt;/a&gt;  Saving &amp; Exiting Commands&lt;/h4&gt;  These commands must be followed by a &lt;b&gt;[RETURN]&lt;/b&gt;.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Saving &amp;amp; Exiting Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:w&lt;/td&gt;&lt;td&gt;write (save) the file&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:w NAME&lt;/td&gt;&lt;td&gt;write the file and name it NAME&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:w! NAME&lt;/td&gt;&lt;td&gt;rewrite the file named NAME&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:wq&lt;/td&gt;&lt;td&gt;write the file and quit the editor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:q&lt;/td&gt;&lt;td&gt;quit the editor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;:q!&lt;/td&gt;&lt;td&gt;quit the editor (abandoning any changes)&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;    &lt;h4&gt;&lt;a name="s46"&gt;4.6.&lt;/a&gt;  Search &amp; Replace Command&lt;/h4&gt;  To find &amp;amp;  replace  all  occurances  of  a  particular  text string, use the command:  &lt;pre&gt;    :%s/text1/text2/g[RETURN]&lt;br /&gt;&lt;/pre&gt;  which replaces all occurances of text1 with text2.  &lt;h4&gt;&lt;a name="s47"&gt;4.7.&lt;/a&gt;  Yank (Copy) Commands&lt;/h4&gt;  The  vi  yank command is similar to the copy command in many editors.  It copies the text into a buffer.  The text may be put  (pasted)  elsewhere  in the file as described under the Put command.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Yank Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;yw&lt;/td&gt;&lt;td&gt;yank rest of word&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;y$&lt;/td&gt;&lt;td&gt;yank rest of line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;yy&lt;/td&gt;&lt;td&gt;yank entire line&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;Y&lt;/td&gt;&lt;td&gt;yank entire line&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h4&gt;&lt;a name="s48"&gt;4.8.&lt;/a&gt;  Put (Paste) Commands&lt;/h4&gt;  The vi put command is similar to the paste command  in  many other editors.  It will paste whatever is in the buffer from either the previous delete or yank command.  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Put Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;p&lt;/td&gt;&lt;td&gt;put yanked/deleted text before cursor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;P&lt;/td&gt;&lt;td&gt;put yanked/deleted text after cursor&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;  &lt;p&gt; If you yanked/deleted a whole line (or group  of  lines),  p and  P  paste  the  text  before  or after the current line, respectively; otherwise, they paste the text before or after the cursor, respectively, on the current line.   &lt;/p&gt;&lt;h4&gt;&lt;a name="s49"&gt;4.9.&lt;/a&gt;  Miscellaneous Commands&lt;/h4&gt;  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;th colspan="2"&gt;Miscellaneous Commands&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;.&lt;/td&gt;&lt;td&gt;repeat last command (BE CAREFUL WITH THIS)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;J&lt;/td&gt;&lt;td&gt;join next line to end of this line&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;table border="1" cellpadding="3" width="70%"&gt; &lt;tbody&gt;&lt;tr&gt;&lt;td&gt; &lt;center&gt; &lt;b&gt;NOTE&lt;/b&gt; &lt;/center&gt;  &lt;p&gt; The period, or dot, command repeats most commands, but not quite all.  It should work with all of the commands  listed  in  this document; if you aren't sure of what you're doing, save your  work  before you try something. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/center&gt;   &lt;h3&gt;&lt;a name="s5"&gt;5.&lt;/a&gt;  Miscellaneous Notes&lt;/h3&gt;  Most  commands  (other  than  those  beginning  with a colon (`:') may be preceded by a repeat count.  For example, &lt;pre&gt;    3dd&lt;br /&gt;&lt;/pre&gt; would delete 3 lines, starting with the current one.  &lt;p&gt; Vi will not let you delete more lines than are in the  file, so  the  above  example  would not work on the last line; vi would beep at you instead.  &lt;/p&gt;&lt;hr /&gt; &lt;b&gt;Notes:&lt;/b&gt;&lt;br /&gt;&lt;em&gt; &lt;/em&gt;&lt;ol&gt;&lt;li&gt;&lt;em&gt;&lt;a name="fn1"&gt;UNIX&lt;/a&gt; is a trademark of Western Electric,     AT&amp;T, SCO, or whoever bought it this week. &lt;/em&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Copyright  1988, 1989, 1991, 1993, 1994, &amp; 1998 by Susan Liebeskind (Atlanta, GA) and Miles O'Neal (Austin, TX).   All  rights reserved.  Permission is hereby granted to redistribute this in either  source  or formatted  form,  so  long as this copyright &amp;amp; the author's names are included,  unmodified  in  content, and  so long as no charge beyond reasonable cost of reproduction is charged.  Notwithstanding, inclusion in any other work or collection which is sold, rented, or otherwise charged for, is prohibited without express consent of the authors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115926902783345721?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115926902783345721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115926902783345721' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115926902783345721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115926902783345721'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/09/vi-and-clone-editor-reference-manual-1.html' title=''/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115830552036343133</id><published>2006-09-15T15:31:00.000+08:00</published><updated>2006-09-15T15:32:00.380+08:00</updated><title type='text'>Booting Linux into Rescue Mode</title><content type='html'>&lt;h1 class="SECT1"&gt;&lt;a name="S1-RESCUEMODE-BOOT"&gt;Booting into Rescue Mode&lt;/a&gt;&lt;/h1&gt;&lt;p&gt; Rescue mode provides the ability to boot a small Red Hat Enterprise Linux environment  entirely from CD-ROM, or some other boot method, instead of the system's  hard drive.       &lt;/p&gt;&lt;p&gt; As the name implies, rescue mode is provided to rescue you from  something.  During normal operation, your Red Hat Enterprise Linux system uses files  located on your system's hard drive to do everything — run  programs, store your files, and more.       &lt;/p&gt;&lt;p&gt; However, there may be times when you are unable to get Red Hat Enterprise Linux running  completely enough to access files on your system's hard drive.  Using rescue mode, you can access the files stored on your system's hard  drive, even if you cannot actually run Red Hat Enterprise Linux from that hard drive.       &lt;/p&gt;&lt;p&gt; To boot into rescue mode, you must be able to boot the system using one  of the following methods&lt;a name="BOOT-MEDIA" href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-rescuemode-boot.html#FTN.BOOT-MEDIA"&gt;&lt;span class="footnote"&gt;[1]&lt;/span&gt;&lt;/a&gt;:       &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;By booting the system from an installation boot      CD-ROM.    &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;By booting the system from other installation boot media, such      as USB flash devices.    &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;By booting the system from the Red Hat Enterprise Linux CD-ROM #1.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; Once you have booted using one of the described methods, add the keyword  &lt;kbd class="USERINPUT"&gt;rescue&lt;/kbd&gt; as a kernel parameter. For example, for an  x86 system, type the following command at the installation boot prompt:       &lt;/p&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;kbd class="USERINPUT"&gt;linux rescue&lt;/kbd&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; You are prompted to answer a few basic questions, including which  language to use. It also prompts you to select where a valid rescue  image is located. Select from &lt;b class="GUILABEL"&gt;Local CD-ROM&lt;/b&gt;,  &lt;b class="GUILABEL"&gt;Hard Drive&lt;/b&gt;, &lt;b class="GUILABEL"&gt;NFS image&lt;/b&gt;,  &lt;b class="GUILABEL"&gt;FTP&lt;/b&gt;, or &lt;b class="GUILABEL"&gt;HTTP&lt;/b&gt;. The location  selected must contain a valid installation tree, and the installation  tree must be for the same version of Red Hat Enterprise Linux as the Red Hat Enterprise Linux CD-ROM #1 from  which you booted. If you used a boot CD-ROM or other media to start rescue  mode, the installation tree must be from the same tree from which the  media was created. For more information about how to setup an  installation tree on a hard drive, NFS server, FTP server, or HTTP  server, refer to the &lt;i class="CITETITLE"&gt;Red Hat Enterprise Linux Installation Guide&lt;/i&gt;.       &lt;/p&gt;&lt;p&gt; If you select a rescue image that does not require a network connection,  you are asked whether or not you want to establish a network  connection. A network connection is useful if you need to backup files  to a different computer or install some RPM packages from a shared  network location, for example.       &lt;/p&gt;&lt;p&gt; The following message is displayed:       &lt;/p&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;samp class="COMPUTEROUTPUT"&gt;The rescue environment will now attempt to find&lt;br /&gt;your Linux installation and mount it under the&lt;br /&gt;directory /mnt/sysimage.  You can then make any&lt;br /&gt;changes required to your system.  If you want&lt;br /&gt;to proceed with this step choose 'Continue'.&lt;br /&gt;You can also choose to mount your file systems&lt;br /&gt;read-only instead of read-write by choosing&lt;br /&gt;'Read-only'.&lt;br /&gt;&lt;br /&gt;If for some reason this process fails you can&lt;br /&gt;choose 'Skip' and this step will be skipped and&lt;br /&gt;you will go directly to a command shell.&lt;/samp&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; If you select &lt;b class="GUIBUTTON"&gt;Continue&lt;/b&gt;, it attempts to mount your  file system under the directory &lt;tt class="FILENAME"&gt;/mnt/sysimage/&lt;/tt&gt;. If  it fails to mount a partition, it notifies you. If you select  &lt;b class="GUIBUTTON"&gt;Read-Only&lt;/b&gt;, it attempts to mount your file system  under the directory &lt;tt class="FILENAME"&gt;/mnt/sysimage/&lt;/tt&gt;, but in  read-only mode.  If you select &lt;b class="GUIBUTTON"&gt;Skip&lt;/b&gt;, your file  system is not mounted. Choose &lt;b class="GUIBUTTON"&gt;Skip&lt;/b&gt; if you think  your file system is corrupted.       &lt;/p&gt;&lt;p&gt; Once you have your system in rescue mode, a prompt appears on VC  (virtual console) 1 and VC 2 (use the  &lt;span class="KEYCAP"&gt;&lt;keycap&gt;[Ctrl]&lt;/keycap&gt;&lt;/span&gt;-&lt;span class="KEYCAP"&gt;&lt;keycap&gt;[Alt]&lt;/keycap&gt;&lt;/span&gt;-&lt;span class="KEYCAP"&gt;&lt;keycap&gt;[F1]&lt;/keycap&gt;&lt;/span&gt; key  combination to access VC 1 and  &lt;span class="KEYCAP"&gt;&lt;keycap&gt;[Ctrl]&lt;/keycap&gt;&lt;/span&gt;-&lt;span class="KEYCAP"&gt;&lt;keycap&gt;[Alt]&lt;/keycap&gt;&lt;/span&gt;-&lt;span class="KEYCAP"&gt;&lt;keycap&gt;[F2]&lt;/keycap&gt;&lt;/span&gt;  to access VC 2):       &lt;/p&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="PROMPT"&gt;sh-3.00b#&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; If you selected &lt;b class="GUIBUTTON"&gt;Continue&lt;/b&gt; to mount your  partitions automatically and they were mounted successfully, you are  in single-user mode.        &lt;/p&gt;&lt;p&gt;        Even if your file system is mounted, the default root partition while in  rescue mode is a temporary root partition, not the root partition of the  file system used during normal user mode (runlevel 3 or 5). If you  selected to mount your file system and it mounted successfully, you can  change the root partition of the rescue mode environment to the root  partition of your file system by executing the following command:       &lt;/p&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="COMMAND"&gt;chroot /mnt/sysimage&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; This is useful if you need to run commands such as  &lt;tt class="COMMAND"&gt;rpm&lt;/tt&gt; that require your root partition to be mounted as  &lt;tt class="FILENAME"&gt;/&lt;/tt&gt;. To exit the &lt;tt class="COMMAND"&gt;chroot&lt;/tt&gt;  environment, type &lt;tt class="COMMAND"&gt;exit&lt;/tt&gt; to return to the prompt.       &lt;/p&gt;&lt;p&gt; If you selected &lt;b class="GUIBUTTON"&gt;Skip&lt;/b&gt;, you can still try to mount  a partition or LVM2 logical volume manually inside rescue mode by  creating a directory such as  &lt;tt class="FILENAME"&gt;&lt;var class="REPLACEABLE"&gt;/foo&lt;/var&gt;&lt;/tt&gt;, and typing the  following command:       &lt;/p&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="COMMAND"&gt;mount -t ext3 &lt;var class="REPLACEABLE"&gt;/dev/mapper/VolGroup00-LogVol02&lt;/var&gt; &lt;var class="REPLACEABLE"&gt;/foo&lt;/var&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; In the above command,  &lt;tt class="FILENAME"&gt;&lt;var class="REPLACEABLE"&gt;/foo&lt;/var&gt;&lt;/tt&gt; is a directory that  you have created and  &lt;tt class="COMMAND"&gt;&lt;var class="REPLACEABLE"&gt;/dev/mapper/VolGroup00-LogVol02&lt;/var&gt;&lt;/tt&gt;  is the LVM2 logical volume you want to mount. If the partition is of  type &lt;tt class="COMMAND"&gt;ext2&lt;/tt&gt;, replace &lt;tt class="COMMAND"&gt;ext3&lt;/tt&gt; with  &lt;tt class="COMMAND"&gt;ext2&lt;/tt&gt;.       &lt;/p&gt;&lt;p&gt; If you do not know the names of all physical partitions, use the following  command to list them:       &lt;/p&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="COMMAND"&gt;fdisk -l&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; If you do not know the names of all LVM2 physical volumes, volume  groups, or logical volumes, use the following commands to list them:       &lt;/p&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="COMMAND"&gt;pvdisplay&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="COMMAND"&gt;vgdisplay&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table class="SCREEN" bgcolor="#dcdcdc" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class="SCREEN"&gt;&lt;tt class="COMMAND"&gt;lvdisplay&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; From the prompt, you can run many useful commands, such as:       &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;tt class="COMMAND"&gt;ssh&lt;/tt&gt;, &lt;tt class="COMMAND"&gt;scp&lt;/tt&gt;, and      &lt;tt class="COMMAND"&gt;ping&lt;/tt&gt; if the network is started&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;tt class="COMMAND"&gt;dump&lt;/tt&gt; and &lt;tt class="COMMAND"&gt;restore&lt;/tt&gt; for users with      tape drives&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;tt class="COMMAND"&gt;parted&lt;/tt&gt; and &lt;tt class="COMMAND"&gt;fdisk&lt;/tt&gt; for      managing partitions&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;tt class="COMMAND"&gt;rpm&lt;/tt&gt; for installing or upgrading      software&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;tt class="COMMAND"&gt;joe&lt;/tt&gt; for editing configuration files    &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115830552036343133?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115830552036343133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115830552036343133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115830552036343133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115830552036343133'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/09/booting-linux-into-rescue-mode.html' title='Booting Linux into Rescue Mode'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115096416535564600</id><published>2006-06-22T16:13:00.002+08:00</published><updated>2009-01-26T14:54:44.181+08:00</updated><title type='text'>How to harden your Unix Server</title><content type='html'>Mask Apache Server Information&lt;br /&gt;&lt;br /&gt;Server headers and directory defaults usually show Apache server information. This information can be used by hackers to learn about vulnerabilities on your server if the system is not updated. You can mask server information as follows:&lt;br /&gt;&lt;br /&gt;1. Log into server as root.&lt;br /&gt;&lt;br /&gt;2. Open /etc/httpd/conf/httpd.conf with an editor.&lt;br /&gt;&lt;br /&gt;3. Change the line ServerSignature on to&lt;br /&gt;ServerSignature Off&lt;br /&gt;&lt;br /&gt;4. Find the line "HostnameLookups off"&lt;br /&gt;After that line, add "ServerTokens Prod"&lt;br /&gt;&lt;br /&gt;RewriteEngine On&lt;br /&gt;RewriteCond %{REQUEST_METHOD} ^TRACE&lt;br /&gt;RewriteRule .* - [F]&lt;br /&gt;RewriteCond %{REQUEST_METHOD} ^TRACK&lt;br /&gt;RewriteRule .* - [F]&lt;br /&gt;&lt;br /&gt;5. Save and exit.&lt;br /&gt;&lt;br /&gt;6. Restart Apache with /etc/rc.d/init.d/httpd restart&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Install System Integrity Monitor&lt;br /&gt;&lt;br /&gt;System Integrity Monitor (SIM) monitors system services and provides a clean and information representation of system status. It is an essential tool for server admins to monitor servers. SIM has several modules that can be installed to help admin with common system processes. SIM will verify that system and services are online, check load averages, and maintain log files.&lt;br /&gt;&lt;br /&gt;1. Login to server and su to root.&lt;br /&gt;&lt;br /&gt;2. go to /usr/local 3. Get source file wget http://www.r-fx.org/downloads/sim-current.tar.gz&lt;br /&gt;&lt;br /&gt;4. Untar file with tar -xzvf sim-current.tar.gz&lt;br /&gt;&lt;br /&gt;5. cd sim-2.5-3 (or latest version of SIM)&lt;br /&gt;&lt;br /&gt;6. Type ./setup -i&lt;br /&gt;&lt;br /&gt;7. Enter and spacebar to continue.&lt;br /&gt;&lt;br /&gt;8. Finally, get to auto-configuration script for SIM. Select options you want to install.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Security: Use SSH protocol 2&lt;br /&gt;&lt;br /&gt;The old SSH Protocol 1 has several security leaks and faces many automated "root kits". Protocol 2 is an improvement to plug the holes. All servers with SSH 1 should use SSH 2.&lt;br /&gt;&lt;br /&gt;1. Open /etc/ssh/sshd_config with an editor.&lt;br /&gt;&lt;br /&gt;2. Find the line "#Protocol 2, 1".&lt;br /&gt;&lt;br /&gt;3. Uncomment (remove #).&lt;br /&gt;&lt;br /&gt;4. Save and exit.&lt;br /&gt;&lt;br /&gt;5. Restart SSH with /etc/rc.d/init.d/sshd restart&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;: Disable direct root login&lt;br /&gt;&lt;br /&gt;Root user is the most important account on a server. The root user has access to any file/program/application running on a server. By default, terminal services would allow the root user to login. This is a major threat to security as hackers can try to guess at the root password to gain access.&lt;br /&gt;&lt;br /&gt;Disabling direct root login will create an extra user account before changing to root user. This will force a hacker to have try and guess 2 seperate passwords to become root user.&lt;br /&gt;&lt;br /&gt;cPanel users/servers must add the user to 'wheel' group so that the user is allowed to su to root. Failure to do so would cause a lock out of the root account.&lt;br /&gt;&lt;br /&gt;* A user with SSH access must already be created.&lt;br /&gt;&lt;br /&gt;1. SSH into server as user and gain root access by 'su -'&lt;br /&gt;&lt;br /&gt;2. Open /etc/ssh/sshd_config with an editor.&lt;br /&gt;&lt;br /&gt;3. Find line PermitRootLogin yes&lt;br /&gt;&lt;br /&gt;4. Uncomment it. Put no so thatPermitRootLogin no&lt;br /&gt;&lt;br /&gt;5. Save the file and exit.&lt;br /&gt;&lt;br /&gt;6. Restart SSH with "/etc/rc.d/init.d/sshd restart"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Security: Disabling Telnet&lt;br /&gt;&lt;br /&gt;Telnet is a threat to server security. The protocol communicates on port 23 for both incoming and outgoing messages. Passwords and usernames are sent as clear text during logins, giving hackers the chance to tap the traffic between client and server and then gaining access. Telnet should always be disabled on web servers and replaced with a more secure platform like SSH.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To disable telnet on your server, follow these steps:&lt;br /&gt;&lt;br /&gt;1. Login as root.&lt;br /&gt;&lt;br /&gt;2. Open the file /etc/xinetd.d/telnet with your editor (pico/vi).&lt;br /&gt;&lt;br /&gt;3. Find the line "disable = no" ,&lt;br /&gt;replace with "disable = yes".&lt;br /&gt;&lt;br /&gt;4. Restart the inetd service with command /etc/rc.d/init.d/xinetd restart&lt;br /&gt;&lt;br /&gt;5. Do a quick scan to make sure port 23 telnet is closed.&lt;br /&gt;nmap -sT -O localhost&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Our server-side &lt;a href="http://www.investintech.com/"&gt; PDF to Word converter&lt;/a&gt;  and &lt;a href="http://docmorph.nlm.nih.gov/docmorph/tiffinstructions.htm"&gt;PDF to DOC converter&lt;/a&gt; will help you edit your PDF's. Wehave a &lt;a href="http://www.investintech.com/resources/articles/#PDF%20Conversion"&gt;PDF to Excel&lt;/a&gt;  converter too. Try our &lt;a href="http://www.utexas.edu/ogs/etd/pdf/converters.html"&gt;PDF converters&lt;/a&gt; at Investintech.com.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115096416535564600?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115096416535564600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115096416535564600' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115096416535564600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115096416535564600'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/how-to-harden-your-unix-server.html' title='How to harden your Unix Server'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115094987430732784</id><published>2006-06-22T12:17:00.000+08:00</published><updated>2006-06-22T12:17:54.306+08:00</updated><title type='text'>Install the Microsoft Loopback Adapter in Windows Server 2003</title><content type='html'>A loopback adapter can be very useful for testing networking features on a server that doesn't have a network adapter already installed, and Microsoft provides this feature in Windows Server 2003.&lt;br /&gt;&lt;br /&gt;To install the Microsoft Loopback Adapter, follow these steps:&lt;br /&gt;&lt;br /&gt;   1. Go to Start | Control Panel | Add Hardware.&lt;br /&gt;   2. In the introductory dialog box, click Next.&lt;br /&gt;   3. Select Yes, I Have Already Connected The Hardware, and click Next.&lt;br /&gt;   4. Scroll to the bottom of the Installed Hardware list box, select Add A New Hardware Device, and click Next.&lt;br /&gt;   5. Select the Install The Hardware That I Manually Select From A List (Advanced) option, and click Next.&lt;br /&gt;   6. Under Hardware Types, select Network Adapters, and click Next.&lt;br /&gt;   7. Under Manufacturer, select Microsoft.&lt;br /&gt;   8. Under Network Adapter, select Microsoft Loopback Adapter.&lt;br /&gt;   9. Click Next twice, and click Finish.&lt;br /&gt;&lt;br /&gt;Unless there are already existing adapters, Windows will install the loopback adapter with the name Local Area Connection. If other adapters exist, Windows will name it Local Area Connection &lt;next number&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115094987430732784?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115094987430732784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115094987430732784' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115094987430732784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115094987430732784'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/install-microsoft-loopback-adapter-in.html' title='Install the Microsoft Loopback Adapter in Windows Server 2003'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115094959860912664</id><published>2006-06-22T12:12:00.000+08:00</published><updated>2006-06-22T12:15:24.156+08:00</updated><title type='text'>How To Install Microsoft Loopback Adapter in Windows 2000</title><content type='html'>The Microsoft Loopback adapter is a tool for testing in a virtual network environment where access to a network is not feasible. Also, the Loopback adapter is essential if there are conflicts with a network adapter or a network adapter driver. Network clients, protocols, and so on, can be bound to the Loopback adapter, and the network adapter driver or network adapter can be installed at a later time while retaining the network configuration information. The Loopback adapter can also be installed during the unattended installation process.&lt;br /&gt;&lt;br /&gt;&lt;h3 id="tocHeadRef"&gt;Manual Installation&lt;/h3&gt;&lt;table class="list ol"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="text"&gt;Click &lt;b&gt;Start&lt;/b&gt;, point to &lt;b&gt;Settings&lt;/b&gt;, click &lt;b&gt;Control Panel&lt;/b&gt;, and then double-click &lt;b&gt;Add/Remove Hardware&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;2.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Add/Troubleshoot a device&lt;/strong&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;3.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Add a new device&lt;/strong&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;4.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;No, I want to select the hardware from a list&lt;/strong&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;5.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Network adapters&lt;/strong&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;6.&lt;/td&gt;&lt;td class="text"&gt;In the &lt;b&gt;Manufacturers&lt;/b&gt; box, click &lt;b&gt;Microsoft&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;7.&lt;/td&gt;&lt;td class="text"&gt;In the &lt;b&gt;Network Adapter&lt;/b&gt; box, click &lt;b&gt;Microsoft Loopback Adapter&lt;/b&gt;, and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;8.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;b&gt;Finish&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; After the adapter is installed successfully, you can configure its options manually, as with any other adapter. Note that if the TCP/IP properties are configured to use DHCP (the default), the adapter will eventually use an autonet address (169.254.x.x/16) because it is not actually connected to any physical media.&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;APPLIES TO&lt;/h5&gt;&lt;table class="list"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="bullet"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="text"&gt;Microsoft Windows 2000 Server&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="bullet"&gt;•&lt;/td&gt;&lt;td class="text"&gt;Microsoft Windows 2000 Advanced Server&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="bullet"&gt;•&lt;/td&gt;&lt;td class="text"&gt;Microsoft Windows 2000 Professional Edition&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="bullet"&gt;•&lt;/td&gt;&lt;td class="text"&gt;Microsoft Windows 2000 Datacenter Server&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115094959860912664?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115094959860912664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115094959860912664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115094959860912664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115094959860912664'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/how-to-install-microsoft-loopback_22.html' title='How To Install Microsoft Loopback Adapter in Windows 2000'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115094941798255343</id><published>2006-06-22T12:09:00.000+08:00</published><updated>2006-06-22T12:12:02.013+08:00</updated><title type='text'>How to install the Microsoft Loopback adapter in Windows XP</title><content type='html'>The Microsoft Loopback adapter is a testing tool for a virtual network environment where network access is not available. Also, you must use the Loopback adapter if there are conflicts with a network adapter or with a network adapter driver. You can bind network clients, protocols, and other network configuration items to the Loopback adapter, and you can install the network adapter driver or network adapter later while retaining the network configuration information. You can also install the Loopback adapter during the unattended installation process.&lt;br /&gt;&lt;br /&gt;&lt;h3 id="tocHeadRef"&gt; Manual installation &lt;/h3&gt;To manually install the Microsoft Loopback adapter in Windows XP, follow these steps: &lt;table class="list ol"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;1.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Start&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Control Panel&lt;/strong&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;2.&lt;/td&gt;&lt;td class="text"&gt;If you are in Classic view, click &lt;strong class="uiterm"&gt;Switch to Category View&lt;/strong&gt; under &lt;strong class="uiterm"&gt;Control Panel&lt;/strong&gt; in the left pane.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;3.&lt;/td&gt;&lt;td class="text"&gt;Double-click &lt;strong class="uiterm"&gt;Printers and Other Hardware&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Next&lt;/strong&gt;. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;4.&lt;/td&gt;&lt;td class="text"&gt; Under &lt;strong class="uiterm"&gt;See Also&lt;/strong&gt; in the left pane, click &lt;strong class="uiterm"&gt;Add Hardware&lt;/strong&gt;,and then click &lt;strong class="uiterm"&gt;Next&lt;/strong&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;5.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Yes, I have already connected the hardware&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Next&lt;/strong&gt;. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;6.&lt;/td&gt;&lt;td class="text"&gt;At the bottom of the list, click &lt;strong class="uiterm"&gt;Add a new hardware device&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Next&lt;/strong&gt;. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;7.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Install the hardware that I manually select from a list&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Next&lt;/strong&gt;. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;8.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Network adapters&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Next&lt;/strong&gt;. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;9.&lt;/td&gt;&lt;td class="text"&gt;In the &lt;strong class="uiterm"&gt;Manufacturer&lt;/strong&gt; box, click &lt;strong class="uiterm"&gt;Microsoft&lt;/strong&gt;. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;10.&lt;/td&gt;&lt;td class="text"&gt;In the &lt;strong class="uiterm"&gt;Network Adapter&lt;/strong&gt; box, click &lt;strong class="uiterm"&gt;Microsoft Loopback Adapter&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Next&lt;/strong&gt;. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;11.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Finish&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;After the adapter is installed successfully, you can manually configure its options, as with any other adapter. If the TCP/IP properties are configured to use DHCP, the adapter will eventually use an autonet address (169.254.x.x/16) because the adapter is not actually connected to any physical media.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note  &lt;/b&gt;By default, TCP/IP properties are configured to use DHCP.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115094941798255343?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115094941798255343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115094941798255343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115094941798255343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115094941798255343'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/how-to-install-microsoft-loopback.html' title='How to install the Microsoft Loopback adapter in Windows XP'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115086587863382081</id><published>2006-06-21T12:56:00.000+08:00</published><updated>2006-06-21T12:57:58.636+08:00</updated><title type='text'>Microsoft Unveils Robotics Studio</title><content type='html'>&lt;p&gt; Microsoft Corp. on Tuesday launched a technology preview of Robotics Studio, a Windows-based development environment for creating robotic applications. &lt;/p&gt;&lt;p&gt;The early release targets academic, hobbyist and commercial developers with a toolset for building applications that can run on a variety of robotics computing platforms, the company said. Early partners include the LEGO Group. &lt;/p&gt;&lt;p&gt; "We've reached out to a broad range of leading robotics companies and academics early on in the development process and are thrilled with the positive response from the community," Tandy Trower, general manager of the Microsoft Robotics Group, said in a statement. &lt;/p&gt;&lt;p&gt; Key features in Robotics Studio include a visual programming tool that makes it easy to create and debug &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=robot&amp;x=&amp;amp;y="&gt;robot&lt;/a&gt; applications, the company said. The tools also allow users to interact with robots through Web-based or Windows-based interfaces, or simulate robotic applications using realistic 3-D models. The latter feature is powered with technology licensed from AGEIA. &lt;/p&gt;&lt;p&gt;Robotics Studio's programming model can be applied for a variety of robot hardware platforms, and third parties can also extend the functionality of the product by providing additional libraries and services. &lt;/p&gt;&lt;p&gt;Both remote PC-based and autonomous robot-based execution scenarios can be developed using programming languages found in Microsoft Visual Studio and Microsoft Visual Studio Express, JScript and Microsoft IronPython 1.0 Beta 1. Third party languages can also be used if they conform to the toolset's services-oriented, message-based architecture. &lt;/p&gt;&lt;p&gt;Joe Wilcox, analyst for JupiterResearch, said Microsoft appears to be interested in the growing market for robotics devices in the home, which is driving the need for &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=operating%20systems&amp;x=&amp;amp;y="&gt;operating systems&lt;/a&gt; and development tools. &lt;/p&gt;&lt;p&gt; "It's just too bad that, like other Microsoft stuff, to get there you've got to go the Windows way or the highway," Wilcox said in &lt;a href="http://weblogs.jupiterresearch.com/msft/" target="_blank"&gt; his blog.&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt; Microsoft unveiled the development environment at the RoboBusiness Conference and Exposition in Pittsburgh, Penn. The toolset is available for &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=download&amp;x=&amp;amp;y="&gt;download&lt;/a&gt; through the company's &lt;a href="http://msdn.microsoft.com/robotics" target="_blank"&gt; developer Web site.&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-size:78%;" &gt;http://www.informationweek.com&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115086587863382081?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115086587863382081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115086587863382081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115086587863382081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115086587863382081'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/microsoft-unveils-robotics-studio.html' title='Microsoft Unveils Robotics Studio'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115086544503173290</id><published>2006-06-21T12:49:00.000+08:00</published><updated>2006-06-21T12:50:45.040+08:00</updated><title type='text'>IBM runs frozen chip at 500GHz</title><content type='html'>IBM researchers have pushed a silicon-based microprocessor to speeds of 500GHz, more than 250 times faster than a typical commercial chip in a cell phone. &lt;p&gt;The research shows that chip makers can reach high speeds with low-cost manufacturing techniques and commercial silicon-based chip technology, said John D. Cressler, a professor at Georgia Tech’s School of Electrical and Computer Engineering.&lt;/p&gt; &lt;p&gt;The new research, announced Tuesday by IBM, could also lead to more efficient chips, opening up new markets. Running at extremely high speeds, these chips could now find new applications in commercial communications systems, defense electronics, space exploration and remote sensing, according to IBM.&lt;/p&gt; &lt;p&gt;A team of scientists from IBM and Georgia Tech used an old hacker’s technique to avoid melting the chip at such high speeds.&lt;/p&gt; &lt;p&gt;Extreme video gamers chill their chips with refrigerated mineral oil stored in the garage, but this team was able to make the chip much colder.&lt;/p&gt; &lt;p&gt;First, the researchers built a prototype silicon-germanium (SiGe) chip that ran at 350GHz at room temperature. IBM, in Armonk, New York, has been mixing germanium with silicon since 1998, using the mixture to make chips for cell phones and other mobile devices that demand reduced power consumption. &lt;/p&gt; &lt;p&gt;Then they used liquid helium to freeze their microprocessor to 451 degrees below zero Fahrenheit. Nature’s coldest temperature, known as absolute zero, is just a few degrees lower, at minus 459.67 degrees Fahrenheit. With no risk of melting the chip, they pushed it to 500GHz.&lt;/p&gt; &lt;p&gt;By contrast, the latest commercial dual-core server chips from Intel and Advanced Micro Devices run at speeds between 2.5GHz to 3.5GHz.&lt;/p&gt; &lt;p&gt;The researchers now plan to return to their lab and find a way to push the chip even faster. IBM’s computer simulations show that their chip could reach speeds of 1,000GHz, known as 1 Terahertz.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:78%;" &gt;http://www.macworld.com/news/2006/06/20/500ghz/index.php&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115086544503173290?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115086544503173290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115086544503173290' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115086544503173290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115086544503173290'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/ibm-runs-frozen-chip-at-500ghz.html' title='IBM runs frozen chip at 500GHz'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115044287736084508</id><published>2006-06-16T15:12:00.000+08:00</published><updated>2006-06-16T15:27:57.380+08:00</updated><title type='text'>How to secure windows 2000 server</title><content type='html'>&lt;strong&gt;Windows 2000 Security Checklist&lt;/strong&gt; &lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;&lt;strong&gt;Basic Security Considerations&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Provide Physical Security for the machine&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;Most security breaches in corporate environments occur from the inside. Culprits can be well meaning "power users" who configure their co-workers PCs, to disgruntled employees, or they can be full blown corporate spies that are working at your company. It may not be practical to physically secure every workstation in your environment, but your servers need to be in a locked room with monitored access. Consider placing surveillance cameras in your server rooms and keeping the tapes for 30 days. For desktops, install a lock on the CPU case, keep it locked, and store the key safely away from the computer at a secure location. (i.e. a locked cabinet in the server room)&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Disable the Guest Account&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Windows 2000 finally disables the guest account by default, but if you didn't build the image yourself, always double check to make sure the guest account is not enabled. For additional security assign a complex password to the account anyway, and restrict its logon 24x7.&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Limit the number of unnecessary accounts&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Eliminate any duplicate user accounts, test accounts, shared accounts, general department accounts, etc., Use group policies to assign permissions as needed, and audit your accounts regularly. These generic accounts are famous for having weak passwords (and lots of access) and are at the top of every hacker's list of accounts to crack first. This can be a big problem at larger companies with understaffed IT departments. An audit at a Fortune 10 company I worked for revealed that 3,000 of their 15,000 active user accounts were assigned to employees who no longer worked for the company. To make matters worse, we were able to crack the passwords on more than half of those inactive accounts.&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Create 2 accounts for Administrators&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;I know this goes against the previous caveat, but this is the exception to the rule. Create one regular user account for your Administrators for reading mail and other common tasks, and a separate account (with a more aggressive password policy) for tasks requiring administrator privileges. Have your Administrators use the &lt;a href="http://labmice.techtarget.com/windows2000/Administration/runas.htm"&gt;"Run As"&lt;/a&gt; command available with Windows 2000 to enable the access they need. This prevents malicious code from spreading through your network with admin privileges.&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Rename the Administrator Account&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Many hackers will argue that this won't stop them, because they will use the SID to find the name of the account and hack that. Our view is, why make it easy for them. Renaming the Administrator account will stop some amateur hackers cold, and will annoy the more determined ones. Remember that hackers won't know what the inherit or group permissions are for an account, so they'll try to hack any local account they find and then try to hack other accounts as they go to improve their access. If you rename the account, try not to use the word 'Admin" in its name. Pick something that won't sound like it has rights to anything.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Consider creating a dummy Administrator account&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Another strategy is to create a local account named "Administrator", then giving that account no privileges and impossible to guess +10 digit complex password. This should keep the script kiddies busy for a while. If you create a dummy Administrative account, enabled auditing so you'll know when it is being tampered with.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Replace the "Everyone" Group with "Authenticated Users" on file shares&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;"Everyone" in the context of Windows 2000 security, means anyone who gains access to your network can access the data. Never assign the "Everyone" Group to have access to a file share on your network, use "Authenticated Users" instead. This is especially important for printers, who have the "Everyone" Group assigned by default.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Password Security&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;A good password policy is essential to your network security, but is often overlooked. In large organizations there is a huge temptation for lazy administrators to create all local Administrator accounts (or worse, a common domain level administrator account) that uses a variation of the company name, computer name, or advertising tag line. i.e. %companyname%#1, win2k%companyname%, etc. Even worse are new user accounts with simple passwords such as "welcome", "letmein", "new2you", that aren't required to changed the password after the first logon. Use complex passwords that are changed at least every 60 -90 days. Passwords should contain at least eight characters, and preferably nine (recent security information reports that many cracking programs are using the eight character standard as a starting point). Also, each password must follow the standards set for strong passwords .&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Password protect the screensaver&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Once again this is a basic security step that is often circumvented by users. Make sure all of your workstations and servers have this feature enabled to prevent an internal threat from taking advantage of an unlocked console. For best results, choose the blank screensaver or logon screensaver. Avoid the OpenGL and graphic intensive program that eat CPU cycles and memory. Make sure the wait setting is appropriate for your business. If you can get your users in the habit of manually locking their workstations when they walk away from their desks, you can probably get away with an idle time of 15 minutes or more. You can keep users from changing this setting via Group Policy. &lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Use NTFS on all partitions&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;FAT and FAT32 File systems don't support file level security and give hackers a big wide open door to your system. Make sure all of your system partitions are formatted using NTFS.&lt;br /&gt;Always run Anti-Virus softwareAgain, this is something that is considered a basic tenet of security, but you would be surprised at how many companies don't run Anti-Virus software, or run it but don't update it. Today's AV software does more than just check for known viruses, many scan for other types of malicious code as well.&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Secure your Backup tapes&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;It's amazing how many organizations implement excellent platform security, and then don't encrypt and/or lock up their backup tapes containing the same data. It's also a good idea to keep your Emergency Repair Disks locked up and stored away from your servers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Mid Level Security Measures&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;u&gt;Use the Security Configuration Toolset included with Windows 2000 to configure policies.&lt;/u&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Microsoft provides a Security Configuration Toolset which provides plug in templates for the MMC that allow you to easily configure your policies based on the level of security you require. The template includes a long list of configurable options (many of which appear on this checklist) and also includes a useful security analysis tool. For more information, download the documentation &lt;a href="http://www.microsoft.com/windows2000/techinfo/howitworks/security/sctoolset.asp"&gt;here.&lt;/a&gt;  If your workstation is not part of a domain, you can still enable policies by using the Poledit.exe file from the Windows 2000 Server CD-ROM. For more information, check out &lt;a href="http://support.microsoft.com/?kbid=269799"&gt;Microsoft Knowledge Base Article: &lt;/a&gt;&lt;a href="http://support.microsoft.com/?kbid=269799"&gt;269799 - How to Secure Windows 2000 Professional in a Non-Domain Environment.&lt;/a&gt;&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Don't allow unmonitored modems in your environment&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;One of the easiest hacks in the world is finding a company's phone number prefix and suffix range and wardialing for a modem that picks up. After weeding through the fax machines, you can either look for an unsecured workstation with RAS enabled, or one with Symantec's PC Anywhere loaded on it. If either one is configured incorrectly, you can easily gain access to the local machine and work up from there. If you have a digital phone system, get a list of every analog line that comes into your workplace and find out where it goes! Every PC hooked to a modem is a security risk. Make sure they're configured correctly and audited regularly.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Shut down unnecessary services&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Unnecessary services take up system resources and can open holes into your operating system. IIS, RAS, and Terminal Services have security and configuration issues of their own, and should be implemented carefully if required. There are also several malicious programs that can run quietly as services without anyone knowing. You should be aware of all the services that all run on your servers and audit them periodically. The default services allowed in a Windows NT 4.0 &lt;a href="http://www.winnetmag.com/Articles/Index.cfm?ArticleID=2293"&gt;C2 certified&lt;/a&gt; installation are:&lt;br /&gt;&lt;br /&gt;Computer Browser&lt;br /&gt;Microsoft DNS Server&lt;br /&gt;Netlogon&lt;br /&gt;NTLM SSP&lt;br /&gt;RPC Locator&lt;br /&gt;RPC Service&lt;br /&gt;TCP/IP NetBIOS Helper&lt;br /&gt;Spooler&lt;br /&gt;Server&lt;br /&gt;WINS&lt;br /&gt;Workstation&lt;br /&gt;Event Log&lt;br /&gt;&lt;br /&gt;Windows 2000 has not been submitted for C2 certification by Microsoft, so an updated list of services is not available. What services are deemed unnecessary may vary based on the function of your server and/or workstations. Please test your specific configuration in a lab environment before enabling it in your production network. A list of services available in Windows 2000 Server (as well as their default settings) can be found &lt;a href="http://labmice.techtarget.com/articles/win2000services.htm"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Shut down unnecessary ports&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This is a judgment call based on your needs and risks. Workstations aren't normally at risk behind a firewall, but never assume your servers are safe!  A hackers first attempt at rattling the doors and windows usually involves using a port scanner. You can find out a list of open ports on your local system by opening the file located at %systemroot%\drivers\etc\services. You can configure your ports via the TCP/IP Security console located in the TCP/IP properties (Control Panel &gt; Network and Dial Up Connections &gt; Local Area Connection &gt; Internet Protocol (TCP/IP) &gt; Properties &gt; Advanced &gt; Options &gt; TCP/IP Filtering) To allow only TCP and ICMP connections, configure the UDP and IP Protocol check boxes to "Permit Only" and leave the fields blank. A list of default ports for Windows 2000 Domain Controllers can be found &lt;a href="http://support.microsoft.com/?kbid=289241"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;Enable Auditing&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;The most basic form of Intrusion Detection for Windows 2000 is to enable auditing. This will alert you to changes in account policies, attempted password hacks, unauthorized file access, etc.,  Most users are unaware of the types of doors they have unknowingly left open on their local workstation, and these risks are often discovered only after a serious security breach has occurred. At the very minimum, consider auditing the following events:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Event&lt;/u&gt; &gt;&gt; &lt;u&gt;Level of Auditing&lt;/u&gt;&lt;br /&gt;Account logon events &gt;&gt; Success, failure&lt;br /&gt;Account management &gt;&gt; Success, failure&lt;br /&gt;Logon events &gt;&gt; Success, failure&lt;br /&gt;Object access &gt;&gt; Success&lt;br /&gt;Policy change &gt;&gt; Success, failure&lt;br /&gt;Privilege use &gt;&gt; Success, failure&lt;br /&gt;System events &gt;&gt; Success, failure&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Set permissions on the security event log&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;The event log files are not protected by default, so permissions should be set on the event log files to allow access to Administrator and System accounts only.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Store all sensitive documents on file servers&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;Although most new workstations come with some very large drives, you should consider storing all of a users data (documents, spreadsheets, project files, etc.,) on a secured server, where the data is backed up regularly. Modify the parameters for the "My Documents" folder to always point to the users network share on a secured server. For laptop users, enable the "Make available offline" capabilities to synchronize the folder's content.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Prevent the last logged-in user name from being displayed&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;When you press Ctrl-Alt-Del, a login dialog box appears which displays the name of the last user who logged in to the computer, and makes it easier to discover a user name that can later be used in a password-guessing attack. This can be disabled using the security templates provided on the installation CD, or via Group Policy snap in. For more information, see &lt;a href="http://support.microsoft.com/?kbid=310125"&gt;Microsoft KB Article Q310125&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Check Microsoft's web site for the latest hotfixes&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Nobody writes 30 million lines of code and is going to have it perfect the first time, so updating service packs and hotfixes can go a long way to plug security holes. The problem is that hotfixes and service packs aren't regression-tested as thoroughly as service packs and can come with bugs of their own. You should always test them on a comparable, non production system before deploying them. Check &lt;a href="http://www.microsoft.com/TechNet/security/default.asp"&gt;Microsoft's TechNet Security Page&lt;/a&gt; frequently for the latest hotfixes and decide which ones you need to roll out. Tip: Our home page at &lt;a href="http://www.labmice.net/"&gt;LabMice.net&lt;/a&gt; always features&lt;br /&gt;Microsoft's latest hotfix to save you time.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Advanced Security Settings&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Set a power on password&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;This should be mandatory for all laptop users, but is rarely done in most environments for servers and workstations because it doesn't allow you to remotely log on and reboot a machine to the point that the Operating System will restart. Keep in mind that an intruder who can physically open your computer's central processing unit (CPU) can adjust hardware switches to disable the power-on password, and could also temporarily install a drive and boot another OS, bypassing all of your security settings. If this is a concern for your company, consider locking the case (if the model permits it) or using removable hard drives that are locked up every night.&lt;br /&gt;Disable DirectDrawThis prevents direct access to video hardware and memory which is required to meet the basic C2 security standards. Disabling DirectDraw may impact some programs that require DirectX (games), but most business applications should be unaffected. To disable it edit the Registry HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\DCI and set the value for Timeout (REG_DWORD) to 0&lt;br /&gt;Disable the default sharesWindows NT and Windows 2000 open hidden shares on each installation for use by the system account. (Tip: You can view all of the shared folders on your computer by typing NET SHARE from a command prompt.) You can disable the default Administrative shares two ways. One is to stop or disable the Server service, which removes the ability to share folders on your computer. (However, you can still access shared folders on other computers.) When you disable the Server service (via Control Panel &gt; Administration Tools &gt; Services), be sure to click Manual or Disabled or else the service will start the next time the computer is restarted. The other way is via the Registry by editing HKeyLocal Machine\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters. For Servers edit AutoShareServer with a REG_DWORD Value of 0. For Workstations, the edit AutoShareWks. Keep in mind that disabling these shares provide an extra measure of security, but may cause problems with applications. Test your changes in a lab before disabling these in a production environment. The default hidden shares are:&lt;br /&gt;  Share&lt;br /&gt;Path and Function&lt;br /&gt;C$ D$ E$&lt;br /&gt;Root of each partition. For a Windows 2000 Professional computer, only members of the Administrators or Backup Operators group can connect to these shared folders. For a Windows 2000 Server computer, members of the Server Operators group can also connect to these shared folders&lt;br /&gt;ADMIN$&lt;br /&gt;%SYSTEMROOT%  This share is used by the system during remote administration of a computer. The path of this resource is always the path to the Windows 2000 system root (the directory in which Windows 2000 is installed: for example, C:\Winnt).&lt;br /&gt;FAX$&lt;br /&gt;On Windows 2000 server, this used by fax clients in the process of sending a fax. The shared folder temporarily caches files and accesses cover pages stored on the server.&lt;br /&gt;IPC$&lt;br /&gt;Temporary connections between servers using named pipes essential for communication between programs. It is used during remote administration of a computer and when viewing a computer's shared resources&lt;br /&gt;NetLogon&lt;br /&gt;This share is used by the Net Logon service of a Windows 2000 Server computer while processing domain logon requests.&lt;br /&gt;PRINT$&lt;br /&gt;%SYSTEMROOT%\SYSTEM32\SPOOL\DRIVERS  Used during remote administration of printers.&lt;br /&gt;Disable Dump File CreationA dump file can be a useful troubleshooting tool when either the system or application crashes and causes the infamous "Blue Screen of Death". However, they also can provide a hacker with potentially sensitive information such as application passwords. You can disable the dump file by going to the Control Panel &gt; System Properties &gt; Advanced &gt; Startup and Recovery and change the options for 'Write Debugging Information" to None. If you need to troubleshoot unexplained crashes at a later date, you can re-enable this option until the issue is resolved but be sure to disable it again later and delete any stored dump files.&lt;br /&gt;Enable EFS (Encrypting File System)Windows 2000 ships with a powerful encryption system that adds an extra layer of security for drives, folders, or files. This will help prevent a hacker from accessing your files by physically mounting the hard drive on another PC and taking ownership of files. Be sure to enable encryption on Folders, not just files. All files that are placed in that folder will be encrypted. For more information check out our &lt;a href="http://labmice.techtarget.com/windows2000/FileMgmt/EFS.htm"&gt;EFS Resource Center&lt;/a&gt;&lt;br /&gt;Encrypt the Temp FolderApplications use the temp folder to store copies of files while they are being updated or modified, but they don't always clean the folder when you close the program. Encrypting the temp folder provides an extra layer of security for your files.&lt;br /&gt;Lock down the RegistryIn Windows 2000, only Administrators and Backup Operators have default network access to the registry, however you may wish to tighten this down even further. To restrict network access to the registry, follow the steps listed in &lt;a href="http://support.microsoft.com/?kbid=153183"&gt;TechNet Article Q153183&lt;/a&gt;&lt;br /&gt;Clear the Paging File at shutdownThe Pagefile is the temporary swap file Windows NT/2000 uses to manage memory and improve performance. However, some 3rd party programs may store store unencrypted passwords in memory, and there may be other sensitive data cache as well. You can clear the pagefile at shutdown by editing the Registry Key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management and changing the data value of the ClearPageFileAtShutdown value to 1&lt;br /&gt;Disable the ability to boot from a floppy or CD ROM on physically unsecured systems.There are a number of 3rd party utilities that pose a security risk if used via a boot disk (including resetting the local administrator password.) If your security needs are more extreme, consider removing the floppy and CD drives entirely.  As an alternative, store the CPU in a locked external case that still provides adequate ventilation.&lt;br /&gt;Disable AutoRun for CD-ROM drives on physically unsecured systems.One of the easiest ways for a hacker with physical access to a company's PC's to distribute malicious code is via the CD-ROM. By creating a custom CD with a payload set to launch from the autorun feature in any machine, a hacker can affect any number of unlocked systems without ever leaving a fingerprint or touching a keyboard. Or he/she can simply leave a few of these lying around the office marked "MP3's", or "Payroll Data" and wait for an unsuspecting user to simply pick it up and insert it into their machine. You can disable this function by editing the Registry and changing the HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services Cdrom subkey and set the AutoRun value to 0&lt;br /&gt;Remove the OS/2 and POSIX SubsystemsIf you are not using these subsystems (and people rarely do), removing them may improve performance and also closes a potential security risk.To remove the OS/2 and POSIX subsystems:1. Delete the \winnt\system32\os2 directory and all of its subdirectories.2. Use the Registry Editor to remove the following registry entries:&lt;br /&gt;Key:&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE&lt;br /&gt;Subkey:&lt;br /&gt;Microsoft\OS/2 Subsystem for NT&lt;br /&gt;Entry:&lt;br /&gt;delete all subkeys&lt;br /&gt;Key:&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM&lt;br /&gt;Subkey:&lt;br /&gt;CurrentControlSet\Control\Session Manager\Environment&lt;br /&gt;Entry:&lt;br /&gt;Os2LibPath&lt;br /&gt;Value:&lt;br /&gt;delete entry&lt;br /&gt;Key:&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM&lt;br /&gt;Subkey:&lt;br /&gt;CurrentControlSet\Control\Session Manager\SubSystems&lt;br /&gt;Entry:&lt;br /&gt;Optional&lt;br /&gt;Values:&lt;br /&gt;delete entry&lt;br /&gt;Key:&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM&lt;br /&gt;Subkey:&lt;br /&gt;CurrentControlSet\Control\Session Manager\SubSystems&lt;br /&gt;Entry:&lt;br /&gt;delete entries for OS2 and POSIX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The changes take effect the next time the computer is started. You might want to update the emergency repair disk to reflect these changes.&lt;br /&gt;Consider using SmartCard or Biometric devices instead of passwords.The more stringent your password policy is, the more likely your users will begin keeping paper password lists in their desk drawers, or taped to the bottom of their keyboard. Windows 2000 supports these devices, so consider the costs vs. risks of your most sensitive data.&lt;br /&gt;Consider implementing IPSecBasically, IPSec provides encryption for network sessions using the Internet Protocol (IP) and promises to offer transparent and automatic encryption of network connections. For more information, click &lt;a href="http://labmice.techtarget.com/networking/ipsec.htm"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115044287736084508?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115044287736084508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115044287736084508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115044287736084508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115044287736084508'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/how-to-secure-windows-2000-server.html' title='How to secure windows 2000 server'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-115002912692950309</id><published>2006-06-11T20:31:00.000+08:00</published><updated>2006-06-11T20:32:06.936+08:00</updated><title type='text'>'Spy' revealed in Microsoft security tool</title><content type='html'>&lt;p&gt;Microsoft has acknowledged that it needs to better inform users that its tool for determining whether a computer is running a pirated copy of Windows also quietly checks in daily with the software maker.&lt;/p&gt;  &lt;p&gt;The company said the undisclosed daily check is a safety measure designed to allow the tool, called Windows Genuine Advantage, to quickly shut down in case of a malfunction.&lt;/p&gt;  &lt;p&gt;For example, if the company suddenly started seeing a rash of reports that Windows copies were pirated, it might want to shut down the program to make sure it wasn't delivering false results.&lt;/p&gt;  &lt;p&gt;"It's kind of a safety switch," said David Lazar, who directs the Windows Genuine Advantage program.&lt;/p&gt;  &lt;p&gt;Lazar said the company added the safety measure because the piracy check, despite widespread distribution, is still a pilot program. He said the company was worried that it might have an unforeseen emergency that would require the program to terminate quickly.&lt;/p&gt;  &lt;p&gt;But he acknowledged that Microsoft should have given users more information about the daily interactions.&lt;/p&gt;  &lt;p&gt;"We're looking at ways to communicate that in a more forward manner," he said.&lt;/p&gt;  &lt;p&gt;Lazar also said the company plans to tweak the program soon so that it will only check in with Microsoft every two weeks, rather than daily.&lt;/p&gt;  &lt;p&gt;The tool, part of the company's bid to thwart widespread piracy, is being distributed gradually to people who have signed up to receive Windows security updates. The company expects to have offered it to all users worldwide by the end of the year.&lt;/p&gt;  &lt;p&gt;Lazar said that so far, about 60 per cent of users who were offered the piracy check decided to install it. Once installed, the program checks to make sure the version of Windows a user is running is legitimate, and gathers information such as the computer's manufacturer and the language and locale it is set for.&lt;/p&gt;  &lt;p&gt;That information-gathering is disclosed in a licensing agreement. But the agreement does not make clear that the program also is designed to "call home" to Microsoft's servers, to make sure that it should keep running.&lt;/p&gt;  &lt;p&gt;At least every 90 days, the tool also checks again to see if the copy of Windows is legitimate. Lazar said that's because the company sometimes discovers that a copy of Windows that it thought was legitimate is actually pirated.&lt;/p&gt;  &lt;p&gt;When Microsoft believes a copy of Windows is pirated, the user begins to get a series of reminders that the copy isn't genuine. Such users also are barred from downloading noncritical updates, such as the new version of its Internet Explorer browser. But anyone who has signed up to automatically receive security updates, which repair flaws to prevent Internet attacks, will still get those fixes.&lt;/p&gt;  &lt;p&gt;Lauren Weinstein, who is co-founder of People for Internet Responsibility and was one of the first people to notice the daily communications to Microsoft, said he understands and sympathises with Microsoft's desire to control piracy. But he said it's problematic that Microsoft did not disclose all the program's communications with the company.&lt;/p&gt;  &lt;p&gt;Weinstein said he also was surprised that Microsoft decided to release so widely a tool that it says is in a "pilot" mode and might need to be suddenly shut down.&lt;/p&gt;  &lt;p&gt;"Really what you're talking about is someone saying, 'Look we've put something on your computer and it might go screwy, so we're going to kind of check in every day,'" he said.&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:85%;"&gt;http://www.smh.com.au/news/&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-115002912692950309?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/115002912692950309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=115002912692950309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115002912692950309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/115002912692950309'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/spy-revealed-in-microsoft-security.html' title='&apos;Spy&apos; revealed in Microsoft security tool'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114960824674013576</id><published>2006-06-06T23:35:00.000+08:00</published><updated>2006-06-06T23:37:26.740+08:00</updated><title type='text'>Fujitsu spins 1.8 inch monster</title><content type='html'>Fujitsu will launch its first 1.8-inch hard-disk drive in the middle of next year, a company engineer said at the Computex trade show Tuesday.&lt;br /&gt;&lt;p&gt; The Japanese company already makes 3.5-inch drives for desktop computers and servers and 2.5-inch drives for laptops and is getting into the market for smaller drives because it anticipates strong growth over the next few years. &lt;/p&gt;  &lt;p&gt;In January Fujitsu said that it expected worldwide demand for 2.5-inch mobile PC drives to rise from 81 million in 2005 to 210 million units in 2010, and for 1.8-inch drives to rise from 16 million units to 90 million units over the same period. &lt;/p&gt;  &lt;p&gt;The sector is expected to see strong growth because 1.8-inch drives are small enough to be used in portable consumer electronic devices. Notable uses of such drives at present include Apple's iPod music players. &lt;/p&gt;  &lt;p&gt;Fujitsu's first drive will likely be launched in June or July 2007, said Kenji Nakajima, a senior marketing engineer with Fujitsu's hard-disk business division. The drive will have a capacity of around 60G bytes per platter and a prototype will be available to customers in the April to June period, he said. &lt;/p&gt;  &lt;p&gt;That's right in line with the April to September launch date Fujitsu predicted earlier this year when it disclosed its 1.8-inch drive development. &lt;/p&gt;  &lt;p&gt;Fujitsu already has a prototype 1.8-inch drive, which Nakajima carefully removed from a box in his pocket to show a reporter. The prototype has a 30G byte capacity and uses a controller chip from a 2.5-inch drive. Development of a smaller chip for the new drive is one of the tasks still in front of the engineering team. &lt;/p&gt;  &lt;p&gt;The prototype shown Tuesday has a parallel ATA interface but Fujitsu's first two commercial drives will come with Serial ATA and CE-ATA, the latter for the consumer electronics industry. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114960824674013576?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114960824674013576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114960824674013576' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114960824674013576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114960824674013576'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/fujitsu-spins-18-inch-monster.html' title='Fujitsu spins 1.8 inch monster'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114941557069528494</id><published>2006-06-04T18:02:00.000+08:00</published><updated>2006-06-04T18:06:10.703+08:00</updated><title type='text'>Australia's meteoric rise from Gondwana</title><content type='html'>&lt;p&gt;&lt;em&gt;&lt;img alt="Giant 300-mile wide crater in Antarctica shown encircled" src="http://www.axcessnews.com/images/giant_crater_antarctica.jpg" align="left" border="1" hspace="3" /&gt;&lt;/em&gt;A METEOR believed to have caused the biggest mass extinction in Earth's history, long before dinosaurs roamed the planet, may have also spawned the Australian continent, US scientists have revealed.&lt;/p&gt;  &lt;p&gt;A geological team from Ohio State University, which collaborated with NASA, said it was likely the impact of the meteor about 250 million years ago jump-started the break-up of the Gondwana supercontinent that led to the creation of modern Australia.&lt;/p&gt;  &lt;p&gt;Australia separated from Gondwana about 100 million years ago and began drifting northward, pushed away by the expansion of a rift valley into the eastern Indian Ocean.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;"Its size and location — (of the impact) in the Wilkes Land region of East Antarctica, south of Australia — suggest that it could have begun the break-up of Gondwana supercontinent by creating the tectonic rift that pushed Australia northward," the team's leader Ralph von Frese said in a statement.&lt;/p&gt;  &lt;p&gt;"The rift cuts directly through the crater, so the impact may have helped the rift to form."&lt;/p&gt;  &lt;p&gt;The crater, which is about 483 kilometres wide and hidden more than 1.6 kilometres beneath the East Antarctic ice sheet, is twice the size of the Chicxulub crater in Mexico's Yucatan peninsula that marks the impact that scientists say may have ultimately killed the dinosaurs 65 million years ago.&lt;/p&gt;  &lt;p&gt;"The Wilkes Land impact is much bigger than the impact that killed the dinosaurs, and probably would have caused catastrophic damage at the time," Professor von Frese said.&lt;/p&gt;  &lt;p&gt;The scientists presented their preliminary findings at a recent American Geophysical Union Joint Assembly meeting. They used gravity fluctuations measured by NASA's satellites to peer beneath Antarctica's icy surface, finding a 321-kilometre-wide plug of mantle material — a mass concentration, or "mascon" in geological parlance — that had risen up into the Earth's crust.&lt;/p&gt;  &lt;p&gt;Mascons are the planetary equivalent of a bump on the head. They form where large objects slam into a planet's surface. Upon impact, the denser mantle layer bounces up into the overlying crust, which holds it in place beneath the crater.&lt;/p&gt;  &lt;p&gt;When the scientists overlaid their gravity image with airborne radar images of the ground beneath the ice, they found the mascon perfectly centred inside a circular ridge some 483 kilometres wide — large enough to hold Tasmania.&lt;/p&gt;  &lt;p&gt;Taken alone, the ridge structure wouldn't prove anything. But to Professor von Frese, the addition of the mascon means "impact".&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;http://www.theage.com.au/&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114941557069528494?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114941557069528494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114941557069528494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114941557069528494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114941557069528494'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/06/australias-meteoric-rise-from-gondwana.html' title='Australia&apos;s meteoric rise from Gondwana'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114862558609170600</id><published>2006-05-26T14:35:00.000+08:00</published><updated>2006-05-26T14:39:46.096+08:00</updated><title type='text'>3G Embedded Modems the Latest Craze in Wireless</title><content type='html'>&lt;strong&gt;3G vendors started to develop these services before the advent of WiFi and widespread availability of broadband connections. Consequently, they envisioned a bevy of users who would need high speed data services. The market seems much smaller today.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;At one time, users had to buy Ethernet adapters, install them in their desktop computers, and then upgrade them as they moved to a faster version of the networking option. Now when users buy a desktop system, it comes with an integrated adapter that supports a variety of transmission speeds. A similar transition is beginning with 3G &lt;a href="http://www.technewsworld.com/perl/search.pl?query=3G&amp;scope=network"&gt;&lt;/a&gt;wireless data services.&lt;br /&gt;"Laptop vendors are interested in embedded 3G modems because it offers them the potential to differentiate their products and cellular carriers think it may encourage a few more users to rely on their services," noted Allen Nogee, a principal analyst with market research firm In-Stat/MDR.&lt;br /&gt;&lt;br /&gt;Whether or not their hopes will become reality is uncertain. Prices for these devices are high, and currently, the modems lock customers into specific carriers' services, an unappealing option. Since cellular services have not been as functional as alternatives, such as broadband and WiFi &lt;a href="http://www.technewsworld.com/perl/search.pl?query=WiFi&amp;scope=network"&gt;&lt;/a&gt;, they have not garnered widespread acceptance.&lt;br /&gt;&lt;br /&gt;To address the last problem, 3G carriers have been upgrading their networks, so they support faster transmission speeds. Many have made the transition from GPRS, which works at 115K bps, to EDGE, which operates 384K bps. On the docket are upgrades to HSDPA and UMTS (W-CDMA), which have the potential to support multi-M bps transmission rates.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Trying to Spur Sales&lt;br /&gt;&lt;/strong&gt;As speeds increase, &lt;a class="iAs" style="FONT-WEIGHT: normal; FONT-SIZE: 100%; PADDING-BOTTOM: 1px; COLOR: darkgreen; BORDER-BOTTOM: darkgreen 0.07em solid; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline" href="http://www.technewsworld.com/story/JpldAikT3bOnOc/3G-Embedded-Modems-the-Latest-Craze-in-Wireless.xhtml#" target="_blank"&gt;cellular&lt;/a&gt; data services should become a more viable option for laptop users. Bundling the modems with the system is designed to make it entice enterprises to provide their users with 3G connectivity. "The uptick with cellular data services has not been as significant as carriers had hoped, so they have been looking for different ways to market their services," said Ken Dulaney, an industry analyst with market research firm &lt;a onclick="window.open('http://www4.gartner.com/Init'); return false;" href="http://www4.gartner.com/Init"&gt;Gartner&lt;/a&gt; &lt;a href="http://www.technewsworld.com/perl/search.pl?query=%22Gartner%22&amp;scope=network"&gt;&lt;/a&gt;. Bundling has been so successful with WiFi links that now almost all laptops come with an embedded WiFi modem.&lt;br /&gt;Simpler &lt;a class="iAs" style="FONT-WEIGHT: normal; FONT-SIZE: 100%; PADDING-BOTTOM: 1px; COLOR: darkgreen; BORDER-BOTTOM: darkgreen 0.07em solid; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline" href="http://www.technewsworld.com/story/JpldAikT3bOnOc/3G-Embedded-Modems-the-Latest-Craze-in-Wireless.xhtml#" target="_blank"&gt;management&lt;/a&gt; may be another benefit. Since employees are working with the same modem and same cellular carrier, corporate IT staff should have less trouble pinpointing problems.&lt;br /&gt;&lt;br /&gt;In addition, the built-in WAN connections could lead to lower costs for the cards. "3G modem cards have been expensive, ranging in price from US$200 to $300," stated Jack Gold, president of consultancy J. Gold Associates. Users who often pay less than $1,000 for the laptop can find it difficult to justify such purchases. Theoretically, the integrated modems reduce the number of needed components, which cuts pricing, and should appeal to a wider range of users, thus driving up shipment volume.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Notebook Vendors Pick Partners&lt;br /&gt;&lt;/strong&gt;Consequently, there has been a lot of activity in this space. &lt;a href="http://www.lenovo.com/us/en" target="_blank"&gt;Lenovo&lt;/a&gt; has begun shipping &lt;a onmouseover="status='http://ad.doubleclick.net/clk;29816935;12994858;g'; return true;" onclick=" { window.open('http://www.ectnews.com/adsys/link/?creative=3265&amp;ENN_rnd=11486252216816'); return false; }" onmouseout="status=''; return true;" href=""&gt;&lt;/a&gt;its Z, T and X Series ThinkPads with &lt;a href="http://www.verizon.com/" target="_blank"&gt;Verizon Wireless&lt;/a&gt; data connections. &lt;a onclick="window.open('http://www.hp.com'); return false;" href="http://www.hp.com/"&gt;Hewlett-Packard's&lt;/a&gt; (NYSE: HPQ) &lt;a href="http://www.technewsworld.com/perl/search.pl?query=Hewlett-Packard&amp;scope=network"&gt;&lt;/a&gt;nc6140 Notebook PC also has a Verizon link, and in April, the computer company said it plans to develop an embedded modem for &lt;a onclick="window.open('http://www.cingular.com'); return false;" href="http://www.cingular.com/"&gt;Cingular's&lt;/a&gt; &lt;a href="http://www.technewsworld.com/perl/search.pl?query=Cingular&amp;scope=network"&gt;&lt;/a&gt;cellular networks. &lt;a onclick="window.open('http://www.dell.com'); return false;" href="http://www.dell.com/"&gt;Dell&lt;/a&gt; (Nasdaq: DELL) &lt;a href="http://www.technewsworld.com/perl/search.pl?query=Dell&amp;scope=network"&gt;&lt;/a&gt;integrated Cingular Wireless UMTS/HSDPA and Verizon Wireless EV-DO mobile WAN connections into its Latitude notebooks.&lt;br /&gt;&lt;br /&gt;While there has been plenty of activity among laptop vendors and cellular carriers, however, user interest does not seem as keen for a variety of reasons. One problem with the current cards is they are tied to specific vendors. Switching from one service to another now requires a hardware alternation. The upgrade would require that users turn their systems in for at least a brief period as the new equipment is installed.&lt;br /&gt;&lt;br /&gt;External modems can simply be unplugged. Even sticking with the same carrier does not solve the problem: many are moving to higher speed networks, which require new cards. "Since most users plan to keep their laptops for two to three years, they would have to upgrade their computers a couple of times, so we are recommending that they avoid the internal cards at this time," J. Gold Associates' Gold told TechNewsWorld.&lt;br /&gt;&lt;br /&gt;Vendors are working to make the upgrade process simpler. Embedded modems that work with a variety of networks and support a range of speeds are on the drawing board, but they probably won't arrive for a few years.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Short Lived Differentiation &lt;/strong&gt;&lt;br /&gt;Once the multifunctional internal modems are shipped, hardware vendors will no longer have a feature to differentiate their hardware from competitors' products. "I don't think the imbedded modems will lead to many additional sales for hardware vendors," In-Stat/MDR's Nogee told TechNewsWorld.&lt;br /&gt;&lt;br /&gt;Also, cellular data services tend to be expensive, costing at least $50 per month. "If you think about it, how often would most users work with a cellular data service: maybe an hour or two when they are sitting at an airport," noted Gartner's Dulaney. "There are faster, less expensive options available to them, such as WiFi and broadband, if they really need to access to data.'"&lt;br /&gt;3G vendors started to develop these services before the advent of WiFi and widespread availability of broadband connections. Consequently, they envisioned a bevy of users who would need high speed data services.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Securing the Niche&lt;br /&gt;&lt;/strong&gt;The market seems much smaller today. The embedded modems will likely appeal to highly mobile employees, those in sales, field service &lt;a href="http://www.technewsworld.com/perl/search.pl?query=%22field%20service%22&amp;amp;scope=network"&gt;&lt;/a&gt;, real estate, or public safety. If the number of users is small, the promised savings from increases in shipment volumes may not materialize. so vendors remain caught in a chicken-and-egg scenario: prices are high because shipments are low and shipments are low because pricing is high.&lt;br /&gt;&lt;br /&gt;Consequently, analysts expect only limited use of these new modem in the next few years. "Eventually, the embedded modems will become more common, but in the short term, there does not seem to be many compelling reasons to buy them," concluded In-Stat/MDR's Nogee.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.technewsworld.com/"&gt;http://www.technewsworld.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114862558609170600?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114862558609170600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114862558609170600' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114862558609170600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114862558609170600'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/3g-embedded-modems-latest-craze-in.html' title='3G Embedded Modems the Latest Craze in Wireless'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114862528557453746</id><published>2006-05-26T14:30:00.001+08:00</published><updated>2006-05-26T14:34:45.576+08:00</updated><title type='text'>Hi-tech bid for joggers to reboot</title><content type='html'>THESE shoes are made for walking – and so much more.Sports giant Nike and computer titan Apple have joined forces to unveil a running shoe that tells runners the distance they've covered, their pace, time and how many calories they've burned.&lt;br /&gt;But fitness fanatics and part-time plodders will have to wait until October for the Nike+iPod system.&lt;br /&gt;They will also have to be prepared to fork out some big bucks, with the entire set-up expected to cost at least $370.&lt;br /&gt;The system consists of a sensor kit, a special Nike shoe and an iPod nano.&lt;br /&gt;The sensor is slipped into the shoe and measures a runner's activity, sending the information wirelessly to a receiver attached to the iPod.&lt;br /&gt;The information can then be displayed on the iPod screen and audio progress reports given through the headphones at the touch of a button.&lt;br /&gt;Runners can also call up a pre-programmed motivational song to give them a boost when their energy starts to flag.&lt;br /&gt;"The result is like having a personal coach or training partner motivating you every step of your workout," Apple chief executive Steve Jobs said at the slick New York launch of the system yesterday.&lt;br /&gt;After the workout, the iPod can be plugged into a home computer so the information can be downloaded and stored for performance comparisons.&lt;br /&gt;A Nike spokeswoman in Australia said the first of the iPod compatible shoes, the Air Zoom Moire, was expected to reach our stores in October.&lt;br /&gt;She said price had not been decided but the shoe was expected to retail for $100 in the US.&lt;br /&gt;An iPod nano costs between $219 and $359, depending on memory space and the sensor kit, which is expected to be available from the Apple website within 60 days, costs $49.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.heraldsun.news.com.au/"&gt;http://www.heraldsun.news.com.au&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114862528557453746?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114862528557453746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114862528557453746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114862528557453746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114862528557453746'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/hi-tech-bid-for-joggers-to-reboot.html' title='Hi-tech bid for joggers to reboot'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114862521881155591</id><published>2006-05-26T14:30:00.000+08:00</published><updated>2006-05-26T14:33:38.820+08:00</updated><title type='text'></title><content type='html'>Hi-tech: Nike and Apple have joined forces to unveil a running shoe that tells runners the distance they've covered, their pace, time and how many calories they've burned.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114862521881155591?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114862521881155591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114862521881155591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114862521881155591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114862521881155591'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/hi-tech-nike-and-apple-have-joined.html' title=''/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114846648351813851</id><published>2006-05-24T18:26:00.000+08:00</published><updated>2006-05-24T18:28:03.526+08:00</updated><title type='text'>Secrets of US spying revealed on Web site</title><content type='html'>A technology news Web site has published documents that it said appear to have been filed under seal in a lawsuit accusing AT&amp;T of taking part in a secret government program to track Americans' phone and Internet communications.&lt;br /&gt;&lt;br /&gt;The site, Wired.com, said the documents included a statement by former AT&amp;amp;T technician Mark Klein claiming that the telecommunications company built a "secret room" at one of its buildings in San Francisco that he believes housed equipment that allowed the federal government to monitor Internet traffic flowing on its network.&lt;br /&gt;The documents that Wired posted online also include eight pages of technical drawings and tables, most of which are marked "AT&amp;T Proprietary" that Klein said describe how to "spy on fiber-optic circuits."&lt;br /&gt;&lt;br /&gt;A former chief technologist at the Federal Communications Commission, Dale Hatfield, said the documents posted on the Wired site appeared to be authentic and to describe a way to monitor traffic on a high-speed fiber-optic circuit.&lt;br /&gt;&lt;br /&gt;A class-action lawsuit filed this year by the nonprofit Electronic Frontier Foundation and others claims AT&amp;amp;T took part "in a secret and illegal government program to intercept and analyze vast quantities of Americans' telephone and Internet communications, surveillance done without the authorization of a court."&lt;br /&gt;&lt;br /&gt;In court filings, AT&amp;T has argued, without confirming or denying it carried out any of the activities alleged, that Congress and the courts have given blanket immunity to telephone firms that "respond to apparently lawful requests for national security assistance" from the government. The company has argued the lawsuit should be immediately dismissed.&lt;br /&gt;The judge last week refused AT&amp;amp;T's request that certain documents filed under seal in the case be returned to the company, and he ordered the plaintiffs and their lawyers not to disclose those documents to anyone.&lt;br /&gt;&lt;br /&gt;THE WASHINGTON POST&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114846648351813851?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114846648351813851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114846648351813851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114846648351813851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114846648351813851'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/secrets-of-us-spying-revealed-on-web.html' title='Secrets of US spying revealed on Web site'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114807903183306008</id><published>2006-05-20T06:48:00.000+08:00</published><updated>2006-05-20T08:46:15.083+08:00</updated><title type='text'>MacBook: What you need to know</title><content type='html'>&lt;h2&gt;The inside scoop on Apple's low-cost Intel laptop&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;The &lt;a href="http://www.macworld.com/news/2006/01/10/macbookpro/index.php"&gt;release of the MacBook Pro&lt;/a&gt; was big news: It was Apple’s first laptop with two processing cores, the first to use Intel chips, and had the feature set and price tag professional users are accustomed to. &lt;a href="http://www.macworld.com/news/2006/05/16/macbook/index.php"&gt;The new MacBook&lt;/a&gt;, on the other hand, replaces both the iBook and the 12-inch PowerBook G4 in Apple’s product line. As you might expect from a product that replaces both a consumer and professional system, the MacBook is a fascinating hybrid of high-end features and cost-conscious engineering. Now that we’ve spent several days with these new laptops, here are some answers to several burning MacBook questions.&lt;/p&gt; &lt;h2&gt;How does the MacBook fit into Apple’s portable lineup?&lt;/h2&gt;    &lt;!-- AD --&gt;  &lt;p&gt;With the release of the MacBook, Apple has discontinued its last two PowerPC-based laptop models: the 12-inch PowerBook G4 and both sizes (12.1-inch and 14.1-inch) of iBook. The 12-inch PowerBook was in many ways a souped-up iBook with a metal skin, so merging the two products together wasn’t that much of a stretch.&lt;/p&gt; &lt;h2&gt;So only one size for the MacBook?&lt;/h2&gt; &lt;p&gt;Currently, yes. There’s no word on if Apple will ever consider making a larger-screened version of the MacBook. For now, if you want a screen larger than 13 inches diagonal in a Mac laptop, you’ll need to move up to the MacBook Pro.&lt;/p&gt; &lt;h2&gt;The MacBook is quite a bit bigger than the 12-inch PowerBook. What if I want a truly tiny Apple laptop?&lt;/h2&gt; &lt;p&gt;We can imagine a day when Apple will come out with an ultra-small subnotebook. In fact, we daydream about it on a regular basis. Historically, Apple has shown very little interest in designing very small laptops. But things change, and the transition to Intel has opened up a new world of possibilities in terms of what parts Apple can use to assemble its computers. So you never know.&lt;/p&gt; &lt;h2&gt;Why did Apple raise the price of the entry-level laptop? I used to be able to buy one for under $1000.&lt;/h2&gt; &lt;p&gt;It’s true that Apple no longer has a $999 laptop, a fact that &lt;a href="http://www.macworld.com/weblogs/editors/2006/05/macbook/index.php" target="blank"&gt;some have lamented&lt;/a&gt; already, as much for the psychological aspect as any other. But if you ignore everything else, this is a consumer-level laptop with a dual-core processor—a feature that can probably justify the price increase all by itself. &lt;/p&gt; &lt;p&gt;Apple could have chosen to release a cheap, underpowered MacBook with an underpowered Intel Core Solo processor—the same approach it took with its Intel-based Mac mini models—but it didn’t go down that path. (Apple’s MacBook product manager told us that the company wanted to simplify its portable product line, and tossing in one model that ran a different chip would have complicated matters.) As a result, even the lowest-priced MacBook is a &lt;a href="http://www.macworld.com/2006/05/firstlooks/macbookbench/index.php"&gt;remarkably powerful system&lt;/a&gt;.&lt;/p&gt; &lt;h2&gt;So there’s a black MacBook model—what’s it like? &lt;/h2&gt; &lt;p&gt;If you’re an old Mac hand, you’ll find the black MacBook quite reminiscent of the “Wall Street” generation of G3 PowerBooks. Unlike the white MacBook (or previous iBooks), the black MacBook has a matte finish. After less than a day of use, the trackpad on the black model was smudged with fingerprints, although the rest of the case remained in pretty good shape.&lt;/p&gt; &lt;h2&gt;Other than the color, is there anything special about the black model?&lt;/h2&gt; &lt;p&gt;When you get beyond the sheer blackness, the only difference between it and the 2.0GHz white model is a slightly bigger hard drive (80GB versus 60GB)—and a $200 price increase.&lt;/p&gt; &lt;h2&gt;Wait, the hard drive upgrade is a $50 option, so does that mean Apple is charging $150 just for the color?&lt;/h2&gt; &lt;p&gt;You subtracted correctly. If price is your main concern, then the black model is not a good deal. But with the &lt;a href="http://playlistmag.com/products/complete/106-detail.php"&gt;U2 Special Edition iPod&lt;/a&gt;, Apple proved that it could charge more for a tweaked design. And people were ready to storm the Cupertino campus and throw cash at Steve Jobs’ feet when Apple released the &lt;a href="http://playlistmag.com/reviews/2005/02/review2gmini/index.php"&gt;iPod mini&lt;/a&gt;, which cost nearly as much as a full-size iPod, but with only a fraction of the storage space. Of course, the iPod mini went on to become the most popular iPod model ever. Since it also replaces the 12-inch PowerBook, Apple says the MacBook’s new and different look will appeal to the more professional customer who prefers the MacBook’s small size. Clearly, Apple is banking on the fact that its customers are &lt;a href="http://www.macworld.com/weblogs/editors/2006/05/blackmacbook/index.php"&gt;still willing to pay a premium&lt;/a&gt; for a different design. &lt;/p&gt; &lt;h2&gt;I hear Apple is using a glossy screen on the MacBook—isn’t that a bad thing? Won’t I just see my reflection all the time?&lt;/h2&gt; &lt;p&gt;If you’ve ever walked past a PC laptop (or your TV, for that matter) and noticed that its screen was incredibly reflective, you’ve seen the same type of screen that’s been incorporated in the MacBook. In the right conditions the glossy screen looks absolutely gorgeous; blacks are blacker, whites are whiter, and colors are more intense. However, the screen is also remarkably reflective when compared to Apple’s previous laptop displays. If you frequently work in glare-filled environments, the MacBook might not be for you. It’s safe to say that some people will love it, and others will hate it.&lt;/p&gt; &lt;h2&gt;But I liked the old screen—why did Apple change it?&lt;/h2&gt; &lt;p&gt;According to Apple, iBook customers have been asking for a glossy screens for about as long as they’ve been available for PC laptops—and that’s been quite some time. But Apple says that it’s only now that the glossy-screen technology has advanced enough so that the company was comfortable adding the feature to its laptops. Apple’s MacBook product manager told us that the two big improvements in the glossy screens were a reduction in reflection levels and the elimination of color-distortion problems. When you consider that the screen is also 79 percent brighter than the one on the iBooks and 12-inch PowerBook, this new screen type might end up pleasing a whole lot of people.&lt;/p&gt; &lt;h2&gt;How is the MacBook’s keyboard not like other keyboards?&lt;/h2&gt; &lt;p&gt;The MacBook features an entirely new keyboard style for Apple. The biggest change is with its look. Previous Apple laptops have featured keyboards with keys that are wide at the base, but narrower at the top. As a result, even though there are fairly large spaces between the square areas where your fingers contact the keys, there are only tiny gaps down at the base of the keys.&lt;/p&gt; &lt;p&gt;This new MacBook keyboard does away with that approach. The MacBook’s keys don’t get wider at their base. Instead, they’re short, perfectly square key caps—although you can still pop them off if you want to, Apple says it’ll be harder for kids to do so, which is a good news for schools. &lt;/p&gt; &lt;p&gt;Although the feel of the MacBook’s keyboard is hard to describe, it’s definitely &lt;i&gt;different&lt;/i&gt;. However, it’s quite usable, and we adapted to the new keyboard almost immediately. It doesn’t feel cheap at all—just different.&lt;/p&gt; &lt;h2&gt;I see the MacBook uses the same GMA 950 integrated graphics as the Mac mini—should I be worried?&lt;/h2&gt; &lt;p&gt;This is a consumer laptop, and as a result Apple has made some technological sacrifices. One is the MacBook’s lack of a graphics chip with dedicated video RAM. It’s the same graphics as you’ll find in the Mac mini. For most tasks, you probably won’t notice the lack of a video card at all—but if you &lt;a href="http://www.macworld.com/weblogs/gameroom/2006/05/macbookgames/index.php"&gt;try to play a 3-D game&lt;/a&gt;, you’ll see the difference. And the MacBook’s Core Duo processor can overcome many of the limitations of its graphics system. For example, we played back numerous 1080p high-definition videos with nary a hiccup on both the 1.83GHz and 2.0GHz models. And don’t forget that the MacBook improves on the resolution of the models it replaces.&lt;/p&gt; &lt;h2&gt;Why does Apple only sell MacBooks with RAM in pairs that use up both RAM slots? The MacBook Pro ships with one RAM module instead of two.&lt;/h2&gt; &lt;p&gt;Like the other Intel-based Macs, the MacBook uses dual-channel memory. Although you can put RAM in just one slot, when installed in matched pairs, the RAM can achieve its maximum throughput. According to Apple, you probably wouldn’t notice much of a difference on the MacBook Pro, which has a discrete graphics card. But on the MacBook, which shares up to 80MB of its main memory with the onboard graphics system, the extra speed you pick up by interleaving two separate RAM modules is vital.&lt;/p&gt; &lt;h2&gt;Sounds like the 512MB of include RAM isn’t enough—should I custom-order a MacBook with more RAM?&lt;/h2&gt; &lt;p&gt;We wouldn’t use a Mac with 512MB of RAM, so take that as a strong recommendation to upgrade. Apple usually charges a lot more for RAM than you can buy it for by searching a site such as &lt;a href="http://www.ramseeker.com/" target="blank"&gt;Ramseeker&lt;/a&gt;. In the case of the upgrade to 1GB, however, Apple’s prices are pretty much in line with the industry. If that’s all you need, it’s probably best to let Apple do it. But if you want a MacBook stocked with 2GB of RAM, you could save as much as $300 by ordering your system with the stock 512MB, pulling those RAM modules out, and replacing it with modules you bought elsewhere.&lt;/p&gt; &lt;h2&gt;How difficult is it to upgrade the RAM myself?&lt;/h2&gt; &lt;p&gt;Not very hard at all. If you’re comfortable with a screwdriver and pushing and pulling RAM modules with a little force, you shouldn’t have any trouble. Just flip over the MacBook, remove the battery, unscrew the three screws holding the L-shaped aluminum strip in place, and you have access to the two RAM slots. Push the levers to pop out the modules, and put new modules in their places. (Want to see it in action? Check out &lt;a href="http://www.macworld.com/weblogs/macword/2006/05/macbookvideo/index.php"&gt;our video&lt;/a&gt;.)&lt;/p&gt; &lt;h2&gt;How about the hard drive?&lt;/h2&gt; &lt;p&gt;The hard drive’s just about as easy. Once you’ve removed the same L-shaped aluminum strip that you need to remove to access the RAM, you’ve also exposed the front of the hard drive, tucked away on the left side of the battery bay. Just untuck out the white plastic tab that’s looped under the drive and then use it to slide the drive out into the bay. You can then unscrew the special metal drive enclosure, remove the drive, and attach the enclosure to a different Serial ATA laptop drive. (&lt;a href="http://www.macworld.com/weblogs/macword/2006/05/macbookvideo/index.php"&gt;Our video&lt;/a&gt; covers this process too.)&lt;/p&gt; &lt;h2&gt;What other goodies are inside the MacBook?&lt;/h2&gt; &lt;p&gt;All models include a built-in iSight video camera, Front Row software with an Apple Remote, a MagSafe Power Adapter, AirPort Extreme and Bluetooth 2.0 wireless networking, Gigabit Ethernet, and analog and digital audio input and output.&lt;/p&gt; &lt;h2&gt;Speaking of wireless networking, I’ve heard the MacBook has greater AirPort range than previous Apple laptops, and also sees more networks?&lt;/h2&gt; &lt;p&gt;In our testing, both of those have been true. We’ve been able to stretch an AirPort Base Station signal a bit farther, and have noticed more networks popping up when clicking on the AirPort icon in the menu bar. Apple says the MacBook’s antennae (there are two, both located by the MacBook’s display: one placed horizontally on the left side and another placed vertically on the right) were designed specifically for the MacBook, and it definitely appeared to have better reception than older models. Although Apple officially supports connections only to 802.11b and 802.11g networks, the MacBook can actually connect to 802.11a networks, too.&lt;/p&gt; &lt;h2&gt;I probably sound like a broken record, but there’s no modem, right?&lt;/h2&gt; &lt;p&gt;Correct. As with all other Intel-based Macs, Apple has dropped the internal modem, and offers a $49 external USB version for those who need one.&lt;/p&gt; &lt;h2&gt;What if I want to attach the MacBook to an external monitor?&lt;/h2&gt; &lt;p&gt;You can do it, but you’ll need to buy one (or both) of two $19 video adapters. The MacBook’s video-out port is the same mini-DVI port found on the old 12-inch PowerBook G4. Apple sells a mini DVI-to-DVI adapter, as well as a mini DVI-to-VGA adapter. You’ll need one of those to hook it up to the external monitor of your choice (up to 1,920-by-1,200 pixels).&lt;/p&gt; &lt;h2&gt;Won’t hooking the MacBook up to an external monitor just display the same thing that I’m seeing on my MacBook screen?&lt;/h2&gt; &lt;p&gt;No. Although the MacBook can do video mirroring (where both monitors display the same thing), it also supports desktop extension—in other words, it can drive two monitors at once, no problem. You can even boot the MacBook with its lid closed, attached to an external monitor, if you want. Although the 12-inch PowerBook has the same capabilities, this is all new ground for iBook users.&lt;/p&gt; &lt;h2&gt;I already own a MacBook Pro—can I use the power supply that came with it on a MacBook?&lt;/h2&gt; &lt;p&gt;If you hold the two power supplies side by side, you’ll notice that the MacBook Pro’s is larger. That’s because the MacBook Pro uses an 85-watt power supply, while the MacBook uses a 60-watt power supply. Apple says you can use the more powerful, 85-watt power supply with a MacBook without any problems, and that in 80 percent to 90 percent of situations, you can use the MacBook’s power supply with the more-demanding MacBook Pro as well. If you’re really taxing the MacBook Pro’s processor with some heavy-duty work, the MacBook’s adapter will still be able to power the MacBook Pro—but it may not have any power left over to charge its battery.&lt;/p&gt; &lt;h2&gt;Speaking of batteries, what’s the battery life like on the MacBook?&lt;/h2&gt; &lt;p&gt;We haven’t had a chance to let it run dry yet, but Apple told us that the battery life is close to that of the iBook. Apple claims that in light use, the MacBook can run up to six hours on one charge. With more normal use, you could expect between three and three-and-three-quarters hours.&lt;br /&gt;&lt;/p&gt; &lt;p style="text-align: right;"&gt;courtesy of: macworld.com&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114807903183306008?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114807903183306008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114807903183306008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114807903183306008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114807903183306008'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/macbook-what-you-need-to-know.html' title='MacBook: What you need to know'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114779034553307232</id><published>2006-05-16T22:37:00.000+08:00</published><updated>2006-05-16T22:39:05.546+08:00</updated><title type='text'>Apple Mac back in black!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.t3.co.uk/__data/assets/fp_auto_layout_image/525971/varieties/4.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px;" src="http://www.t3.co.uk/__data/assets/fp_auto_layout_image/525971/varieties/4.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="introduction"&gt;Apple officially ditches iBook in favour of a slinky new MacBook, that’s also available in panther black. Grrr…&lt;/div&gt;     &lt;div class="news_main_image_caption" style="width: 250px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.t3.co.uk/nested_content/gallery_assetlisting_navigation?root=525946&amp;result_page=1" target="_new" title="Now you can colour coordinate your black video iPod or nano with your notebook. Which is the most important thing, of course..."&gt;&lt;/a&gt;  &lt;div class="caption"&gt;Now you can colour coordinate your black video iPod or nano with your notebook. Which is the most important thing, of course... [&lt;a href="http://www.t3.co.uk/nested_content/gallery_assetlisting_navigation?root=525946&amp;amp;result_page=1" target="_new"&gt;more images&lt;/a&gt;]&lt;/div&gt; &lt;/div&gt;     &lt;div id="content_div_525948"&gt; &lt;p&gt;Slap yer thighs and yell “come ’ere boy!” because Apple has just launched the MacBook. Replacing the trusty iBook, MacBook swaggers onto the notebook scene packing a 13-inch widescreen, Intel Core Duo chip, iSight webcam, Wi-Fi and the all important new MagSafe power cable as standard.&lt;/p&gt; &lt;p&gt;But if like us you’ve fallen for the black version, this sultry shade is only available if you go for the ultimate model which comes with a 2.0GHz Intel Core Duo, 80GB hard drive and SuperDrive for DVD burning. Bit cheeky, nonetheless we’re there with bells on. This version will set you back a modest £1,029. Whereas if you go for the white entry-level beauty with its 1.83GHz Intel Core Duo chip, 60GB HDD and standard CD Combo drive you’ll only have to shell out £749. A genuine grade-A steal, bargain hunters.&lt;/p&gt; &lt;p&gt;We’ll be bringing you the first hands-on verdict tomorrow, so be sure to check back.&lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114779034553307232?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114779034553307232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114779034553307232' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114779034553307232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114779034553307232'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/apple-mac-back-in-black.html' title='Apple Mac back in black!'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114770968187652789</id><published>2006-05-16T00:11:00.000+08:00</published><updated>2006-05-16T00:14:41.903+08:00</updated><title type='text'>Xbox 360: Feel the Power</title><content type='html'>&lt;p&gt;We all know that Xbox 360™ blows the doors off today's consoles in the power department. But just how much power does Xbox 360 have, and why do developers and gamers agree that it's the system to beat? Glad you asked!&lt;/p&gt; &lt;p&gt;By now you've already heard how Xbox 360 puts you at the center of the most powerful games on the planet—hence the "360," as in 360 degrees (geometry students will recognize that as the number of degrees in a circle). To accomplish this feat, Microsoft® has brought together a full circle of powerful factors.&lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;&lt;img alt="Behold your future—Xbox 360 has the power!" src="http://www.xbox.com/NR/rdonlyres/1AD9F8E4-2002-4900-A286-B386C260336D/0/ilmconsolewcontroller001.jpg" height="300" width="445" /&gt;&lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;&lt;span class="XbcImageCaption"&gt;Behold your future—Xbox 360 has the power!&lt;/span&gt;&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;Processing Powerhouse&lt;/strong&gt; &lt;/h6&gt; &lt;p&gt;The custom-designed Xbox 360 central processing unit (CPU) runs at a breakneck speed, thanks to its three separate core processors that clock in at 3.2 GHz &lt;em&gt;each&lt;/em&gt;. &lt;/p&gt; &lt;p&gt;Xbox 360 boasts a custom ATI graphics processor that clocks in at a blistering 500 MHz. If you want to get even more technical (and who doesn't?) Xbox 360 can take advantage of more than four times as many polygons as the original Xbox® console, and more than four times (seeing a pattern here?) the number of pixels per second.&lt;/p&gt; &lt;hr style="color: green;"&gt; &lt;h4 style="text-align: center; color: green;"&gt;"Xbox 360 is the best. So we should &lt;/h4&gt; &lt;h4 style="text-align: center; color: green;"&gt;wait with a great anticipation."&lt;/h4&gt; &lt;h4 style="text-align: center; color: green;"&gt;—&lt;em&gt;Ninja Gaiden&lt;/em&gt; creator Tomonuba Itagaki&lt;/h4&gt; &lt;hr style="color: green;"&gt; &lt;p&gt;The 512 MB of RAM in Xbox 360 is eight times more powerful than the original Xbox, in terms of simple arithmetic. The system RAM gives developers a unified memory architecture. Game creators decide how to partition it, and all of the hardware components (like the CPU and GPU) can access the memory.&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;The HD Era&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;High definition is upon us, and Xbox 360 is ready. Games are required to be authored for 720p and 1080i, and all games are optimized for the 16:9 widescreen viewing ratio. That doesn't mean you have to have an HDTV to play Xbox 360 games. Xbox 360 games always look good, but they look spectacular on your high-definition display.&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;Hard Drive&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;The elegantly styled hard drive is physically very small and detachable, but it still boasts a whopping 20 GB of space. The sheer amount of downloadable content that fits on such a hard drive is staggering, and now you can rip more music onto your hard drive and play your own tunes as a soundtrack in any Xbox 360 game.&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;Smart Power&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;Xbox 360 utilizes 48 parallel shader pipelines in the GPU that developers can optimize to get the performance they want.. A huge battlefield in &lt;span class="XbcGameTitle"&gt;&lt;a href="http://www.xbox.com/en-US/games/k/kameo/default.htm"&gt;Kameo™: Elements of Power™&lt;/a&gt;&lt;/span&gt; and a shadow-laden firefight in &lt;span class="XbcGameTitle"&gt;&lt;a href="http://www.xbox.com/en-US/games/p/perfectdarkzero/default.htm"&gt;Perfect Dark Zero™&lt;/a&gt;&lt;/span&gt; look completely different and show the diverse ways just one developer, Rare®, took advantage of the GPU's flexibility.&lt;/p&gt; &lt;hr style="color: green;"&gt; &lt;h4 style="text-align: center; color: green;"&gt;"You know if you have a 360 it will look&lt;/h4&gt; &lt;h4 style="text-align: center; color: green;"&gt;as good as it can possibly look."&lt;/h4&gt; &lt;h4 style="text-align: center; color: green;"&gt;—Pete Hines from developer Bethesda&lt;/h4&gt; &lt;hr style="color: green;"&gt; &lt;p&gt;Developers tell the smart Xbox 360 which graphics engines to use to make visuals as sharp as they can be. The console depicts the vastness of a space fleet engaged in a battle hundreds of miles across or a single human face with equal aplomb.&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;More than Games&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;Xbox 360 is first and foremost a gaming machine, and the number of amazing launch games and the intense focus on the gamer's experience cannot be denied. But Xbox 360 is also the center of your digital entertainment world. Not only will it play DVDs, but the system supports CDs, DVD-ROMs, DVD-R/RW, MP3s, JPEGs, and more.&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;Xbox 360 Online&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;Xbox Live®, the premier console online gaming service with more than two million members, is getting even better, with a huge new center of online commerce called Xbox Live Marketplace, and best of all, Xbox 360 is &lt;em&gt;always&lt;/em&gt; online with your high-speed Internet connection. &lt;/p&gt; &lt;hr style="color: green;"&gt; &lt;h4 style="text-align: center; color: green;"&gt;"It's the best development environment&lt;/h4&gt; &lt;h4 style="text-align: center; color: green;"&gt;I've seen on a console."&lt;/h4&gt; &lt;h4 style="text-align: center; color: green;"&gt;—id Software's John Carmack&lt;/h4&gt; &lt;hr style="color: green;"&gt; &lt;p&gt;Xbox Live Silver, available to anyone with an Xbox 360 or Xbox 360 Core System console, a hard drive or a memory unit, and a broadband connection, provides many free features, including messaging and downloads. The second level of service—Xbox Live Gold, with the option to play multiplayer games online—costs the same as your original Xbox Live subscription. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;USB? U Bet!&lt;/strong&gt;&lt;br /&gt;Xbox 360 boasts three multi-purpose USB ports (two in front, one in back), so there is almost no end to the various accessories and other pieces of hardware that will connect to the console and interact with it. The keyword here is versatility. &lt;/p&gt; &lt;p&gt;You can connect and stream media from a wide range of portable music players and digital cameras, or stream your digital music, photos, and more from your connected PC with Microsoft Windows XP or Windows XP Media Center 2005 Edition. For more information go to &lt;a href="http://www.xbox.com/en-US/media/"&gt;www.xbox.com/media&lt;/a&gt;. &lt;/p&gt; &lt;h6&gt;&lt;strong&gt;No More Wires&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;Wireless integration is one of the most important aspects of Xbox 360. Right out of the box, the lightweight wireless controller—in fact, up to four lightweight wireless controllers—connect instantly to the console with no other peripherals needed. &lt;/p&gt; &lt;p&gt;Thanks to a cycling signal that avoids other wireless hardware in your house (such as telephones), there is never any delay between your thumb and the game. &lt;/p&gt; &lt;p&gt;The dedication to versatility even carries over to recharging your controller—with the Play &amp; Charge Kit, you not only have a rechargeable controller battery, but a charge cable that actually recharges your battery pack while you're playing, or while Xbox 360 is in standby mode.&lt;/p&gt; &lt;p&gt;The wireless Xbox 360 controller is actually lighter than the wired Xbox Controller-S. Carry the wireless experience over to Xbox Live by plugging in the pocket-sized Wireless Networking Adapter.&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;Gamers First&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;Lest there be any doubt, one of the sharpest aspects of Xbox 360 power is somewhat unquantifiable—and that is the slate of fantastic games you play on the system and the way the inner workings of the console are all dedicated to making Xbox 360 the ultimate gaming experience. In addition to eagerly anticipated Microsoft titles like &lt;em&gt;Kameo: Elements of Power&lt;/em&gt;, &lt;em&gt;&lt;a href="http://www.xbox.com/en-US/games/p/projectgothamracing3/"&gt;Project Gotham Racing® 3&lt;/a&gt;&lt;/em&gt;, and &lt;em&gt;Perfect Dark Zero&lt;/em&gt;, you can also anticipate the exclusive &lt;em&gt;&lt;a href="http://www.xbox.com/en-US/games/q/quake4/"&gt;QUAKE™ 4&lt;/a&gt;&lt;/em&gt;, &lt;a href="http://www.xbox.com/en-US/games/t/theelderscrollsIVoblivion/"&gt;&lt;em&gt;&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&lt;a href="http://www.xbox.com/en-US/games/t/theelderscrollsIVoblivion/"&gt;The Elder Scrolls IV: Oblivion™&lt;/a&gt;&lt;/em&gt;, and &lt;em&gt;&lt;a href="http://www.xbox.com/en-US/games/c/callofduty2/"&gt;Call of Duty® 2&lt;/a&gt;&lt;/em&gt;, to name a few—and that's just the beginning. &lt;/p&gt; &lt;p&gt;Xbox 360 with the hard drive is backward-compatible for an array of original Xbox titles too, which means both original and Xbox 360 gamers will be able to play in the same matches online with Xbox Live.&lt;/p&gt; &lt;h6&gt;The Competition? Meh.&lt;/h6&gt; &lt;p&gt;Don't want to take our word for it? Check out the GameSpot.com "Tech Head-to-Head" &lt;a href="http://hardware.gamespot.com/Story-ST-x-1985-x-x-x?tag=boxcar_all_features_image"&gt;article&lt;/a&gt; published during E3, where they said, "The real power of the 360 is in its networking ability. We can't forget that Bill Gates's new system can also reach across the network to access media from local, Windows-based PCs."&lt;/p&gt; &lt;p&gt;Then there's &lt;a target="_blank" href="http://www.majornelson.com/2005/05/20/xbox-360-vs-ps3-part-1-of-4/"&gt;Major Nelson&lt;/a&gt;, who did a nifty comparison (with charts and everything) where he concludes, "When you break down the numbers, Xbox 360 has provably more performance than PS3."&lt;/p&gt; &lt;h6&gt;What the Developers Say&lt;/h6&gt; &lt;p&gt;Who could be better judges of hardware than the game developers themselves?&lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;&lt;em&gt;"It's a wonderful machine to work with. I never lied about my impression of the hardware. It's definitely software-friendly hardware. From a developer's perspective, it's exactly the kind of hardware you want to work with."&lt;/em&gt;&lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;—Tomonobu Itagaki, leader of Team Ninja and creator of &lt;em&gt;&lt;a href="http://www.xbox.com/en-US/games/n/ninjagaiden/default.htm"&gt;Ninja Gaiden®&lt;/a&gt;&lt;/em&gt; and the &lt;a href="http://www.xbox.com/en-US/games/d/deadoralive4/default.htm"&gt;&lt;em&gt;Dead or Alive®&lt;/em&gt;&lt;/a&gt; series, quoted at E3 2005.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;&lt;em&gt;"It's the best development environment I've seen on a console."&lt;/em&gt;&lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;—id Software's John Carmack on Xbox 360, quoted at QuakeCon 2005 (reported on &lt;a target="_blank" href="http://www.gamespy.com/articles/641/641662p2.html"&gt;GameSpy&lt;/a&gt;).&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;&lt;em&gt;"The advantage of the Xbox 360 is that it's designed to run our game, period. You know if you have a 360 it will look as good as it can possibly look."&lt;/em&gt;&lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;—Pete Hines from developer Bethesda, quoted on &lt;a target="_blank" href="http://www.1up.com/do/newsStory?cId=3143083"&gt;1up.com&lt;/a&gt;.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;&lt;em&gt;"I can't speak much for Sony right now—yeah, we're working on stuff for the PS3 but honestly I'm so busy with&lt;/em&gt; Gears [of War] &lt;em&gt;that it's all I'm seeing and I can tell you—Microsoft is giving you a hell of a system. This thing is a BEAST and is capable of MUCH GREATNESS."&lt;/em&gt;&lt;/p&gt; &lt;p class="XbcAlignCenter"&gt;—Cliff "Cliffy B" Bleszinski, creator of the Xbox 360 shooter &lt;em&gt;&lt;a href="http://www.xbox.com/en-US/games/g/gearsofwar/default.htm"&gt;Gears of War™&lt;/a&gt;&lt;/em&gt;, on his &lt;a target="_blank" href="http://cliffyb.1up.com/"&gt;1up.com blog&lt;/a&gt;.&lt;/p&gt; &lt;h6&gt;&lt;strong&gt;That Indefinable Quality&lt;/strong&gt;&lt;/h6&gt; &lt;p&gt;Talk about numbers all day—and without a doubt, the numbers on Xbox 360 show how powerful the new console is. But beyond simple numbers, there's the power of having one system that serves as the center of your entertainment lifestyle. &lt;/p&gt; &lt;p&gt;Xbox 360 isn't just about swinging its stats around like a club, it's about bringing you &lt;em&gt;into&lt;/em&gt; the club. The Media Center Extender, wireless adaptability, an endless variety of USB-compatible hardware, and of course the greatest games in the world make the power of Xbox 360 crystal clear. &lt;/p&gt; &lt;p&gt;Welcome to the next generation of gaming with Xbox 360.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114770968187652789?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114770968187652789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114770968187652789' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114770968187652789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114770968187652789'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/xbox-360-feel-power.html' title='Xbox 360: Feel the Power'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114770367731528351</id><published>2006-05-15T22:33:00.000+08:00</published><updated>2006-05-15T22:34:37.320+08:00</updated><title type='text'>Windows Media Player 11</title><content type='html'>&lt;p&gt;Apple has been amazingly successful at winning over PC users and infiltrating their machines via iTunes, but with Windows Media Player 11 (WMP 11), Microsoft says "No more." &lt;/p&gt;    &lt;p&gt; The new release, launched today as a beta download, beats Apple iTunes in many aspects. It acts as a repository and player for all your music, video, and images, unlike Apple's popular player. And while WMP 11 doesn't integrate with the iTunes Music Store, it also doesn't lock you in to one purchasing source. In fact, it integrates numerous stores including Napster, audible.com, Movielink, and MTV's new Urge service. &lt;/p&gt;  &lt;p&gt;This release represents a major departure from the feel and navigation styles of WMP 10 and iTunes. With many other media players, you scroll through a list of files; WMP 11 lets you browse your library by cover. Some other players, like Yahoo! Music include the capability, but none do it as well. Bringing art to navigation makes the process much more appealing visually—your music collection no longer looks like a spreadsheet. &lt;/p&gt;  &lt;p&gt;You'll also find the Word Wheel search technology Microsoft has implemented with Vista. Its speed is stunning—start to enter the first few letters of a track, album, or artist into the search bar, and the appropriate music will be waiting for you before you stop typing. Although iTunes has the same basic feature, seeing album art pop up is much more compelling than getting a list of tracks.—&lt;i&gt;Continue reading&lt;/i&gt;  &lt;/p&gt;  &lt;p&gt;&lt;b&gt;All Together Now&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;Navigation is also more unified than with iTunes, which still hasn't found a smooth way to integrate video files and podcasts into a general media library. With the Apple player, you use entirely different interfaces for the different media types. In WMP 11, though, the interface looks the same for all content types in all locations, so you browse, search, add, and delete photos no differently than music or videos. Searching for and editing content on portable devices works the same way as well. Windows Media Player 10 has a poorly integrated navigation system, so I'm pleased to see such a consistent one now. &lt;/p&gt;  &lt;p&gt;During setup, the new media player searches your entire PC for compatible files and adds them to your library. If you're like me, though, you've got all kinds of cruddy audio files on your drive, and as happened with me, they'll end up in your library. I cleared out the whole list and started over, but on the second try, I specified the folders to be searched. The process wasn't as intuitive as iTunes' Add Folder command but was easy enough. &lt;/p&gt;  &lt;p&gt;Once the player has built your library, the default view divides your music by album, with the artwork and artist info on the left, followed by track information. I love being able to browse by artwork, but in these days of Bit Torrents, indie music, and downloaded singles, large chunks of your collection will probably be missing such images. No worries: Half of my collection had no art, but when I started WMP the next day, Presto! It was magically there. Of course, if you don't want to browse by artwork, you can always use a simple List view. &lt;/p&gt;  &lt;p&gt;In a few instances, WMP didn't find album art or had incomplete ID3 info, forcing me to search the database myself—a bit cumbersome, as I had to associate tracks to the album one by one. But as I did so, the software kept updating metadata, so most albums worked themselves out on their own. I was surprised by the depth of the ID3 catalog, supplied by All Music Guide. An album by my own band, Mere, automatically retrieved album art and ID3 info, despite having sold only 3,000 copies or so. &lt;/p&gt;  &lt;p&gt;There was a hubbub a few months ago concerning privacy with the iTunes Mini Store because it phones home to transmit info about your listening (as do several of the popular players). For those with such concerns, the WMP 11 setup asks you if you'd like to disable the auto-connect capabilities, which are set on by default. At any time, you can turn off features that require connecting to the Internet. &lt;/p&gt;  &lt;p&gt;The window layout is fairly straightforward. The familiar tree navigation, reminiscent of WMP 10 and iTunes, sits on the far left side and lets you select among views: Album, Artist, Song,, and others. Back and Forward buttons that look like those in Internet Explorer 7 reside at the top left and greatly simplify navigation.—&lt;i&gt;Continue reading&lt;/i&gt;  &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Cheese and Other Features&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;The cheesy visualizations of the previous version remain—why, I don't know—and the equalizer is still just as hard to find. I was intrigued by the Display Lyrics and Captions option but wasn't able to get it to work, even when I chose ultra-poppy songs like The Beach Boys' "Surfin' USA," Michael Jackson's "Beat It," and Kelly Clarkson's "Since U Been Gone." &lt;/p&gt;  &lt;p&gt;Windows Media Player 11 also includes easy-to-use ripping and burning features. You can compile and burn either audio or data CDs—you can even burn collections that span several discs. Very cool. I found the ripping options to be fairly extensive. You can rip to MP3, WAV, WMA (with several bit-rate options—full quality, variable bit rate, or up to 192 kbps). MP3 ripping maxes out at 320 kbps. &lt;/p&gt;  &lt;p&gt;Syncing and loading portable players is much, much, much easier than with WMP 10, and is as smooth as what any of the other services, including iTunes, offer. Surprised? So was I. Getting music onto a portable player using the previous version was a truly awful experience, but this one lets you hook up your player, then simply drag files and drop them into the right-hand pane. As the media player scans your library, a meter lets you know how much room the device will have left when the files are copied onto it. When you get close to the limit, just hit sync to actually transfer the files. &lt;/p&gt;  &lt;p&gt;The iTunes transfer feature has one advantage—it loads your device as you drag and drop, but that's the only way it's better. And there's a trade-off —WMP 11 lets you see what you're loading without switching views; iTunes doesn't. And with WMP 11's reverse sync you can easily get pictures or voice recordings off of your portable device and into your library. Still no iPod compatibility, though. If you've been holding your breath waiting for it, I'd exhale. It'll never happen. &lt;/p&gt;  &lt;p&gt;As with music album covers, the folder view of photos shows the pictures in each folder in the form a virtual stack, with the top image visible. Clicking on a folder takes you inside. Clicking on an individual image blows it up to full size and starts a slide show of all the folder's images. &lt;/p&gt;  &lt;p&gt;Microsoft still has some work to do before it launches Windows Media Player 11 for real. Metadata lookup could be faster, and the interface, while good, needs tweaking—for example, some of the buttons you use most often are too small. But this media player is a lot more fun to use than any other, and just as powerful. To check it out for yourself, go to http://www.microsoft.com/windowsmedia/player/11 (the link will be live on Wednesday, May 17th). &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114770367731528351?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114770367731528351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114770367731528351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114770367731528351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114770367731528351'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/windows-media-player-11.html' title='Windows Media Player 11'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114770358385172888</id><published>2006-05-15T22:32:00.000+08:00</published><updated>2006-05-15T22:33:03.860+08:00</updated><title type='text'>U.S. Dismisses Google Complaint, Says IE 7 Plays Fair</title><content type='html'>&lt;span class="copy"&gt; Government regulators on Friday dismissed claims that Microsoft's newest browser, Internet Explorer 7, gives the Redmond, Wash. company's own &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=search%20engine&amp;x=&amp;amp;y="&gt;search engine&lt;/a&gt; an unfair advantage, knocking aside objections that Google recently raised. &lt;p&gt; The Justice Department has evaluated the &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=search&amp;x=&amp;amp;y="&gt;search&lt;/a&gt; box -- a new feature in IE 7 that lets users initiate searches -- and concluded it "respects users' choices" and "is easily changed," according to a &lt;a href="http://www.techweb.com/wire/software/187202809"&gt; status report released Friday&lt;/a&gt; by federal and state officials. &lt;/p&gt;&lt;p&gt; &lt;a href="http://www.techweb.com/wire/software/187002330"&gt; Earlier this month Google complained&lt;/a&gt; that IE 7, which will ship later this year for &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=Windows%20XP&amp;x=&amp;amp;y="&gt;Windows XP&lt;/a&gt; and within Microsoft's new operating system, Windows Vista, in January 2007, wasn't letting users pick a &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=default&amp;x=&amp;amp;y="&gt;default&lt;/a&gt; search engine when it was installed. &lt;/p&gt;&lt;p&gt; "We don't think it's right for Microsoft to just set the default to MSN on install," Marissa Mayer, vice president for search products and user experience at Google, said then. &lt;/p&gt;&lt;p&gt;Microsoft's counterattack charged that Google wanted the default spot, and last week chief executive Steve Ballmer dismissed Google's complaint as sour grapes. &lt;/p&gt;&lt;p&gt;The Justice Department report said that although IE 7 may default to MSN's search service in some cases, it concluded the feature didn't violate the terms of Microsoft's antitrust agreement with the federal and state governments. &lt;/p&gt;&lt;p&gt;"OEMs are allowed to set the default search engine when the machine is first sold to a user, and Internet Explorer 7 itself includes a relatively straightforward method for the user to select a different search engine from the initial system default," the report read. &lt;/p&gt;&lt;p&gt; The number of steps to change the default search engine in IE 7 and Firefox, the open-source &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=browser&amp;x=&amp;amp;y="&gt;browser&lt;/a&gt; supported by Google with advertising revenue, are in fact identical: five. &lt;/p&gt;&lt;p&gt;Google has also raised the issue with European Union's antitrust regulators, who remain locked in a long-running case about Windows XP that recently went to appeal. The EU's Competition Commission has said it is &lt;a href="http://www.techweb.com/wire/software/180200626"&gt; looking into concerns that Windows Vista&lt;/a&gt; might also violate antitrust laws when it's released in 2007. &lt;/p&gt;&lt;p&gt; In the U.S., however, the matter appears closed. "Plaintiffs have concluded their work on this matter," Friday's report said. &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114770358385172888?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114770358385172888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114770358385172888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114770358385172888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114770358385172888'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/us-dismisses-google-complaint-says-ie.html' title='U.S. Dismisses Google Complaint, Says IE 7 Plays Fair'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114761454357080693</id><published>2006-05-14T21:48:00.000+08:00</published><updated>2006-05-14T21:49:03.580+08:00</updated><title type='text'>Apple Computer wins apple logo lawsuit</title><content type='html'>&lt;p&gt; &lt;table style="width: 216px; height: 207px;" align="left" border="0" cellpadding="0" cellspacing="0" height="207" width="216"&gt;   &lt;tbody&gt;   &lt;tr&gt;     &lt;td&gt;&lt;img src="http://news.xinhuanet.com/english/2006-05/14/xinsrc_4020503142120125227693.jpg" border="0" /&gt;&lt;/td&gt;&lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;&lt;span style="font-size:85%;color:#000080;"&gt;Apple Computer has a cartoon-like apple        with a neat bite taken out.Apple Corps uses a shiny green apple as its        logo.(file photo)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;    BEIJING,  May 14 (Xinhuanet) -- A U.S. judge ruled on Monday in favor of Apple  Computer Inc. in the latter's right to use the apple logo on its iTunes  Music Store. &lt;/p&gt; &lt;p&gt;    Early on Apple Corps Ltd., the  guardian of  the Beatles' commercial interests, filed a lawsuit, charging the  U.S. company of having broken a 1991 agreement in which each agreed not to  infringe on the other's field of business. &lt;/p&gt; &lt;p&gt;    Judge Edward Mann ruled that Apple Computer used the  apple logo in association with the store, not the music, and thus did not  breach the agreement.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;    "I conclude that the use of the apple logo ... does not  suggest a relevant connection with the creative work," Mann said in his written  judgment. "I think that the use of the apple logo is a fair and reasonable use  of the mark in connection with the service, which does not go further and  unfairly or unreasonably suggest an additional association with the creative  works themselves."  &lt;/p&gt;&lt;p&gt;    While Apple Computer CEO Steve Jobs was pleased  with the turnout, Neil Aspinall, the manager of Apple Corps, vowed that his  company would immediately appeal.  &lt;/p&gt;&lt;p&gt;    "We felt that during the course of the trial we clearly  demonstrated just how extensively Apple Computer has broken the agreement,"  Aspinall said in a statement.  &lt;/p&gt;&lt;p&gt;     Lawyers for U.S.-based Apple Computer had argued  that the logos used by the two Apples are different. While Apple Corps uses  a shiny green apple as its logo, Apple Computer has a cartoon-like apple with a  neat bite taken out, the lawyers said.  &lt;/p&gt;&lt;p&gt;    The two Apples have been in dispute for the past 25 years.  The 1991 agreement ended previous lengthy litigation over the logo.  &lt;/p&gt;&lt;p&gt;    Apple Corps was started by the Beatles in 1968  and the Cupertino, California-based Apple Computer was formed in 1976 by  two college dropouts Steve Jobs and Steve Wozniak on April Fools'  Day.Enditem  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114761454357080693?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114761454357080693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114761454357080693' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114761454357080693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114761454357080693'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/apple-computer-wins-apple-logo-lawsuit.html' title='Apple Computer wins apple logo lawsuit'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114761334105971928</id><published>2006-05-14T21:28:00.000+08:00</published><updated>2006-05-14T21:29:01.060+08:00</updated><title type='text'>Softbank and Apple to develop iPod phones</title><content type='html'>&lt;h5&gt;The Japanese Internet service company and the U.S. computer company are expected to launch handsets with the iPod functions as early as this year in Japan.&lt;/h5&gt;  &lt;p&gt;Softbank Corp. and Apple Computer Inc. are planning to jointly develop mobile phones that have built-in iPod digital music players and can download songs directly from Apple's iTunes Music Store, news reports said Saturday.&lt;/p&gt;&lt;p&gt;The Japanese Internet service company and the U.S. computer company are expected to launch handsets with the iPod functions as early as this year in Japan, Japanese business daily Nihon Keizai reported, citing unnamed sources.&lt;/p&gt;&lt;p&gt;The two companies also plan to develop a phone that can download songs using Softbank's wireless communication network next year, the paper said. Kyodo News agency had a similar report.&lt;/p&gt;&lt;p&gt;Officials of the two companies were not available for comment Saturday.&lt;/p&gt;&lt;p&gt;Softbank entered the mobile phone business in April after it acquired British mobile phone company Vodafone's struggling Japan unit. The acquisition allows Softbank to take over the more than 15 million Japanese uses who have signed on to the carrier, as well as its mobile network, instead of building it from scratch.&lt;/p&gt;&lt;p&gt;The reported plan comes amid intensifying competition in the mobile phone business.&lt;/p&gt;On Thursday, NTT DoCoMo, Japan's biggest mobile carrier, and Microsoft Corp. announced to jointly provide music services for mobile phones this summer. The second largest mobile phone company KDDI Corp. has drawn users through its music download feature.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114761334105971928?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114761334105971928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114761334105971928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114761334105971928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114761334105971928'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/softbank-and-apple-to-develop-ipod.html' title='Softbank and Apple to develop iPod phones'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114750081630742762</id><published>2006-05-13T14:13:00.000+08:00</published><updated>2006-05-13T14:13:36.313+08:00</updated><title type='text'>Nokia to add Google Talk to tablet device</title><content type='html'>Nokia Corp. is adding the Google Talk application to a Nokia handheld Internet browsing device, in a move that could help boost the search company's reach in mobile communications. &lt;p&gt; Finland-based Nokia on Tuesday plans to announce that an upgraded version of its Internet Tablet device will come ready loaded with Google Inc.'s Talk service, which enables users to have voice conversations and exchange instant messages, according to a person familiar with the plans.&lt;/p&gt;      The device, which relies on short-range technology known as WiFi rather than cell phone networks, isn't a cell phone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114750081630742762?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114750081630742762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114750081630742762' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114750081630742762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114750081630742762'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/nokia-to-add-google-talk-to-tablet.html' title='Nokia to add Google Talk to tablet device'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114749580760064719</id><published>2006-05-13T12:49:00.000+08:00</published><updated>2006-05-13T12:50:07.610+08:00</updated><title type='text'>Google goes after Microsoft</title><content type='html'>&lt;p&gt;&lt;span style="font-size:85%;"&gt;Google Inc. took direct aim at rival Microsoft Corp. on Wednesday by  unveiling several search products while simultaneously calling the Redmond,  Wash., software giant a "convicted monopoly."   &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Sergey Brin, Google's co-founder, made the unusually harsh comments about  Microsoft at his company's annual press day in Mountain View.   &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;He voiced concerns that Microsoft may use illegal tactics to give its own  search engine preferential treatment in an upcoming release of its Windows  Vista operating system for computers. He then recalled Microsoft's past legal  battle with the now-defunct Netscape Communications Corp. over Internet  browsers in which Microsoft was found by a federal court to have abused its  power.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;"We certainly see a history with that particular company, Microsoft,  behaving anti-competitively, being a convicted monopoly," Brin said. He then  talked about Google taking preemptive action against any future abuse by  Microsoft, including lobbying the Justice Department.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Microsoft has denied any intentions to engage in anti-competitive  behavior.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Brin's comments contrasted sharply with what was otherwise a get-along  theme at Wednesday's event. Google executives repeatedly downplayed any rivalry  with Microsoft  --  or with Web portal Yahoo Inc., for that matter  --  and  emphasized that they're focusing on their own products.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Google's new features Wednesday, many released as tests, are intended to  help users find and organize information. The products illustrate Google's dual  strategy of connecting users with information through their Internet browsers,  and a more recent initiative to get users to download desktop software onto  personal computers.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Desktop software is Microsoft's traditional turf. Google's increasing  interest in the area has ratcheted up an already formidable rivalry.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Google Notebook, to be released next week, will allow users to keep notes  on a scratch pad. Users will be able to store text, links or images as they  sift through results while shopping or for school research; users can then  review the information privately or share it.   &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Google Co-op, another new product, makes searching more of a social event.  Users can help others by labeling Web pages or creating specialized links to  which others can subscribe.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Already, Google has signed up a number of partners to annotate Web pages  about health and city guides. A few businesses have also contributed. Google  said the companies do not pay to be included.   &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Users who subscribe may see results from a business of their choice above  the traditional Google results. The theory is that such results will be more  relevant and therefore deserve to be in a more prominent location.   &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Google also unveiled Google Trends, a product that allows users to see the  popularity of specific search results over time. A user who enters "full moon,"  for example, will see a trend line showing that the popularity of the query  spikes about once a month, but because of proprietary concerns, users cannot  actually see the number of individual searches of specific terms.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;In addition, Google upgraded its desktop search engine to allow users to  more easily download so-called widgets, tiny programs that reside on desktop  computers. They allow users to get information such as weather reports, for  example, without having to open a browser.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;Andy Beal, chief executive of Fortune Interactive, an online advertising  company, said none of the products Google unveiled Wednesday is revolutionary.  Many have been available from other companies, either for free or for a fee, he  said.  &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;"There wasn't really anything today that was groundbreaking technology,"  Beal said. "It was great to see Google offer them, but they have been offered  by other companies for at least a couple years."  &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114749580760064719?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114749580760064719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114749580760064719' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114749580760064719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114749580760064719'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/google-goes-after-microsoft.html' title='Google goes after Microsoft'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114717400638215428</id><published>2006-05-09T19:25:00.000+08:00</published><updated>2006-05-09T19:26:46.393+08:00</updated><title type='text'>A new PlayStation generation -- for $499</title><content type='html'>Los Angeles -- The highly anticipated PlayStation 3 video game console will be available for $499 in the United States starting Nov. 17, Sony executives said Monday.&lt;br /&gt;In a news conference one day before the start of the Electronic Entertainment Expo, Sony officials sought to build momentum for the fall launch by providing hard information about their next-generation platform and displaying new games that showcased the visual and audio breakthroughs made possible by PlayStation 3 technology.&lt;br /&gt;Kaz Hirai, president of Sony Computer Entertainment America, and Phil Harrison, president of Sony Computer Entertainment Worldwide Studios, hoped gamers would be impressed by the pricing of the new unit and its next-generation controller, which will feature "six-degree" sensing capability to enhance gameplay.&lt;br /&gt;The pair also showed off an array of games from their studios and third party developers that are part of Sony's response to Microsoft's Xbox 360, which launched last fall.&lt;br /&gt;"We have said the next generation doesn't start until we say it does," Hirai said. "Today the PlayStation 3 is real. The future is today."&lt;br /&gt;Hirai concluded the Sony news conference by announcing pricing information, which many considered the most pressing detail. At $499, Sony's 20-GB PlayStation 3 is $100 more than a fully equipped Xbox 360. Hirai said a 60-GB version will be available for $599 at the Nov. 17 launch.&lt;br /&gt;During the news conference, Harrison showed off the new PS3 controller, which, while looking like the PS2 controller, has a built-in sensor that follows the movement of the controller and translates that into gameplay.&lt;br /&gt;When used in a game like WarHawk, which was demonstrated at the event, the user pulls up and down on the controller and controls the pitch and rolls of a fighter jet in a manner reminiscent of the new gyroscope-equipped controller for Nintendo's Wii platform.&lt;br /&gt;"This controller allows me to unlock the most fluid movement in games," Harrison said. "It feels very intuitive. I'm very excited what it means not only for developers, but what it means for consumers."&lt;br /&gt;Earlier in the news conference, Hirai touted the networking capability of the PlayStation 3, which will allow players to connect online with other users for free and buy additional levels and enhancements. With a built-in hard drive, the PlayStation 3 will support broader downloadable games, said Hirai.&lt;br /&gt;Hirai said the Blu-ray DVD format will not only allow users to play next-generation high-definition movies but also will create more capacity for game developers to pack on to game discs.&lt;br /&gt;Ankarino Lara, vice president for video game Web site GameSpot, said Sony failed to hit one out of the park with its announcements. He said the game demonstrations, while impressive, did not seem markedly different from what is available on the Xbox 360. And he said the price of the PlayStation, with a second controller and its first game, will be out of reach for all but early adopters.&lt;br /&gt;Sony has enjoyed a strong historical lead over its console rivals, commanding more than 50 percent of platform sales. But Microsoft gained an edge last year by releasing its Xbox 360 a full year ahead of the PlayStation 3. Analysts believe Microsoft will have sold 8 million to 10 million Xbox 360s by the time the PlayStation 3 hits the shelves.&lt;br /&gt;But that lead isn't insurmountable. With the Blu-ray DVD player included, Sony could get a big bump in sales. Much as it helped jump-start the DVD revolution with its PlayStation 2, the new PlayStation could lead movie fans into the high-definition DVD era with the relatively low price of its Blu-ray DVD player. Some standalone Blu-ray players are due to sell later this year for $1,000.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114717400638215428?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114717400638215428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114717400638215428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114717400638215428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114717400638215428'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/new-playstation-generation-for-499.html' title='A new PlayStation generation -- for $499'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114711958897712588</id><published>2006-05-09T04:17:00.000+08:00</published><updated>2006-05-09T04:19:48.986+08:00</updated><title type='text'>FAQ's on 3GP for Mobile phones</title><content type='html'>&lt;span style="font-family:arial, helvetica, sans-serif;font-size:85%;"&gt;&lt;b&gt;What is 3G?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;3G stands for third generation, a generic wireless industry term for high-speed mobile data delivery over cellular networks. 3G networks allow users to send and receive bandwidth-intensive information such as video, video conferencing, high quality audio and web data on-demand, virtually anytime and anyplace.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is 3GP?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3GP - is the new mobile phone video file format.&lt;/b&gt;&lt;br /&gt;3GPP, 3GPP2 are the new worldwide standard for the creation, delivery and playback of multimedia over 3rd generation, high-speed wireless networks. Defined by the 3rd Generation Partnership Project and 3rd Generation Partnership Project 2 respectively, these standards seek to provide uniform delivery of rich multimedia over newly evolved, broadband mobile networks (3rd generation networks) to the latest multimedia-enabled wireless devices. Tailored to the unique requirements of mobile devices, 3GPP and 3GPP2 take advantage of MPEG-4, the standard for delivery of video and audio over the Internet.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Extensions:&lt;/i&gt;&lt;br /&gt;.3gp 3GPP standard, GSM Network, Video: MPEG-4, H.263, Audio: AAC, AMR&lt;br /&gt;.3g2 3GPP2 standard, CDMA2000 Network, Video: MPEG-4, H.263, Audio: AAC, AMR, QCELP.&lt;br /&gt;&lt;br /&gt;The evolution of high-speed wireless digital networks is based on two predominant technologies � GSM and CDMA2000. Both types of 3G networks are currently being deployed worldwide to offer consumers a variety of on-the-go multimedia services.&lt;br /&gt;&lt;br /&gt;3GPP and 3GPP2 Mobile Infrastructure Solutions � Many of the world�s largest telecommunications infrastructure companies provide 3GPP and 3GPP2 mobile content delivery products and services to operators. Examples include:&lt;br /&gt;* Alcatel&lt;br /&gt;* Ericsson&lt;br /&gt;* Nokia&lt;br /&gt;* Siemens Mobile&lt;br /&gt;* Sun Microsystems&lt;br /&gt;&lt;br /&gt;3GPP and 3GPP2 Mobile Phones � Many of today's new mobile phones offer 3GPP and 3GPP2 content capture and playback capabilities. Leading providers of these standards-based multimedia phones include:&lt;br /&gt;* Motorola&lt;br /&gt;* NEC&lt;br /&gt;* Nokia&lt;br /&gt;* Panasonic&lt;br /&gt;* Sanyo&lt;br /&gt;* Sharp&lt;br /&gt;* Sony Ericsson&lt;br /&gt;* Toshiba&lt;br /&gt;* Qualcomm&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114711958897712588?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114711958897712588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114711958897712588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114711958897712588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114711958897712588'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/faqs-on-3gp-for-mobile-phones.html' title='FAQ&apos;s on 3GP for Mobile phones'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114711932731908390</id><published>2006-05-09T04:13:00.000+08:00</published><updated>2006-05-09T04:15:27.330+08:00</updated><title type='text'>Intel Announces New Brand Name for Chips</title><content type='html'>Core 2 Duo will debut this summer, replacing Conroe and Merom code names.&lt;br /&gt;&lt;br /&gt;Intel will sell its new generation of 65-nanometer desktop and laptop chips under the brand name Core 2 Duo when it launches them this summer, the company says. Intel plans to launch its desktop chip, code-named Conroe, in July and its laptop chip, code-named Merom, in August.&lt;br /&gt;&lt;br /&gt;&lt;p class="black13lh15"&gt;"You could kind of say we're core crazy," company spokesperson Bill Kircos explains. "It's a way of saying 'Hey, this isn't your grandfather's PC'." &lt;/p&gt;  &lt;p class="black13lh15"&gt;Both chips will be built with Intel's new 65-nanometer Core Microarchitecture design. After their launch, &lt;a href="http://www.intel.com/" target="_blank"&gt;Intel&lt;/a&gt; will have a common architecture for its consumer, gaming, notebook, and business-desktop lines. &lt;/p&gt;   &lt;div class="blackBold15lh17"&gt;More Cores, More Efficiency&lt;/div&gt;  &lt;p class="black13lh15"&gt;Chip vendors such as Intel and AMD have designed their latest processors with multiple cores in each chip as an energy-efficient way to process more software code without increasing clock speed, heat, and electricity demands. Just like cars, faster chips are generally less efficient. &lt;/p&gt;  &lt;p class="black13lh15"&gt;Under Intel's new marketing plan, both the desktop and laptop chips will be called Core 2 Duo, with each chip distinguished by a following five-part alphanumeric code. &lt;/p&gt;  &lt;p class="black13lh15"&gt;The first element will be a letter connoting the power draw of the chip: "U" for ultralow voltage (below 15 watts); "L" for low voltage (15 to 24 watts); "T" for standard mobile (25 to 55 watts); E for standard desktop (55 to 75 watts); and "X" for extreme (above 75 watts).&lt;br /&gt;&lt;/p&gt; &lt;p class="black13lh15"&gt;The next four elements will be a numeric code, with &lt;a href="http://www.pcworld.com/news/article/0,aid,122309,00.asp"&gt;Conroe&lt;/a&gt; chips in the 4000 and 6000 series and &lt;a href="http://www.pcworld.com/news/article/0,aid,124984,00.asp"&gt;Merom&lt;/a&gt; chips in the 5000 and 7000 series. Additional numbers will represent other features--for instance, the chips' suitability for Intel platforms such as Centrino for mobile PCs, &lt;a href="http://www.pcworld.com/news/article/0,aid,124266,00.asp"&gt;Viiv&lt;/a&gt; for home entertainment, or &lt;a href="http://www.pcworld.com/news/article/0,aid,125530,00.asp"&gt;vPro&lt;/a&gt; for business desktops. &lt;/p&gt;   &lt;div class="blackBold15lh17"&gt;Still Room for Extreme CPU&lt;/div&gt;  &lt;p class="black13lh15"&gt;As an example of this nomenclature, a high-end desktop chip might be called the Core 2 Duo E6800. However, Intel will call its high-end gaming desktop processor the Core 2 Extreme. &lt;/p&gt;  &lt;p class="black13lh15"&gt;The new Core 2 Duo nomenclature will supersede the Pentium D dual-core brand for desktops, and eventually take over for future chip designs such as four-core and eight-core processors, Kircos says. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114711932731908390?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114711932731908390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114711932731908390' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114711932731908390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114711932731908390'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/intel-announces-new-brand-name-for.html' title='Intel Announces New Brand Name for Chips'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114699246893057143</id><published>2006-05-07T16:59:00.000+08:00</published><updated>2006-05-07T17:01:08.936+08:00</updated><title type='text'>Cisco to update Wi-Fi setup</title><content type='html'>Cisco Systems is planning to announce a new wireless module for its Catalyst 6500 Ethernet switch that will provide more centralized management and enhanced features for Cisco's Wi-Fi product.&lt;br /&gt;&lt;br /&gt;According to one analyst, the capabilities provided by the module will put Cisco's gear on par with products from start-ups such as Airespace and Aruba Wireless Networks.&lt;br /&gt;&lt;br /&gt;"Cisco is catching up to offering capabilities that other companies introduced a year ago," said Dave Passmore, research director for the Burton Group. "So in that respect, it's a big deal for them."&lt;br /&gt;&lt;br /&gt;Cisco's wireless product is made up of three parts. Its Aironet wireless access points transmit the Wi-Fi radio frequency signals. The Wireless LAN Solution Engine (WLSE) provides centralized management of the access nodes. And the Catalyst 6500 Ethernet switch provides the link from the wireless network to the customer's data network.&lt;br /&gt;&lt;br /&gt;These products are all a part of Cisco's SWAN (Structured Wireless Aware Network) architecture, introduced last year. The concept is designed to enable current Cisco customers to integrate wireless services into networks already running Cisco networking gear.&lt;br /&gt;&lt;br /&gt;The new module will fit into the Catalyst 6500 Ethernet switch and is designed to provide more intelligence so that more functionality can be centrally controlled by the WLSE. The new module will offer several new features, including dynamic selection of radio frequency and automatic power adjustment on the Aironet access points.&lt;br /&gt;&lt;br /&gt;The addition of these features is important as more companies rely on Wi-Fi for network access. One problem with many Wi-Fi installations is that performance suffers when a user gets close to the edge of a coverage area. The performance degradation not only affects the user who is wandering out of range, it also affects every other user attached to that access point. To mitigate this problem, companies have begun installing more access points in denser configurations.&lt;br /&gt;&lt;br /&gt;But this has caused another problem for system administrators. Because there are more access points set up closer together, it's more likely that radio-frequency signals from one access point could overlap with a neighboring node. Administrators also must make sure the power level on the access points is adjusted properly. Before Cisco added these new capabilities to the Catalyst 6500, administrators had to manually configure every access point.&lt;br /&gt;&lt;br /&gt;"It's a very labor intensive process," said Passmore. "It's more an art than a science in trying to get all channels assigned properly and making sure the power was adjusted right."&lt;br /&gt;&lt;br /&gt;Cisco is one of the first large companies to incorporate these features into its wireless products. Others such as Extreme Networks and Foundry Networks are supposedly working on similar functionality.&lt;br /&gt;&lt;br /&gt;But start-ups including Airespace and Aruba have been offering these features for about a year. While Cisco and the rest of the established Ethernet switch market have been scrambling to catch up, these start-ups have moved forward, adding even more features like client location tracking. This feature becomes important as mobile voice-over-Internet Protocol (VoIP) phones are added to the network. It allows for services such as E911 to work.&lt;br /&gt;&lt;br /&gt;Cisco doesn't offer this feature yet, according to Passmore.&lt;br /&gt;&lt;br /&gt;But even with a richer and more mature feature set, Wi-Fi start-ups will likely struggle to win deals among Cisco's customers, many of whom are willing to wait for Cisco to add new features to its portfolio.&lt;br /&gt;&lt;br /&gt;Along with the new module, Cisco's Wednesday announcement will provide more information about its strategy for wireless networking. The company declined to comment on the specifics of the announcement for this story.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114699246893057143?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114699246893057143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114699246893057143' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114699246893057143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114699246893057143'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/cisco-to-update-wi-fi-setup.html' title='Cisco to update Wi-Fi setup'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114662007955329964</id><published>2006-05-03T09:28:00.000+08:00</published><updated>2006-05-03T09:35:31.826+08:00</updated><title type='text'>Microsoft may delay Vista again</title><content type='html'>&lt;p&gt;&lt;b style="font-size: 14px;"&gt;SEATTLE, Washington (Reuters) -- Microsoft Corp.'s long- awaited release of the upgrade to its flagship Windows operating system will likely be delayed again by at least three months, research group Gartner Inc. said Tuesday.&lt;/b&gt;&lt;/p&gt; &lt;p&gt;The research note, released to clients Monday, said the new Windows Vista operating system is too complex to be able to meet Microsoft's targeted November release for volume license customers and January launch for retail consumers.&lt;/p&gt; &lt;p&gt;A Microsoft spokeswoman said the company disagreed with the Gartner report and it was still on track to meet its launch dates.&lt;/p&gt; &lt;p&gt;Vista is the first major overhaul of its operating system, which sits on 90 percent of the world's computers and accounts for nearly a third of Microsoft's total revenue, since Microsoft rolled out Windows XP nearly five years ago.&lt;/p&gt; &lt;p&gt;Microsoft originally targeted a 2005 launch for the new Windows, then pushed the release out to 2006 before announcing in March that Vista would again be delayed to improve the product's quality.&lt;/p&gt; &lt;p&gt;Gartner targets a Windows Vista release in the April-June quarter of 2007, nine to 12 months after Microsoft conducts a second major test, or "beta," release for Vista during the current quarter.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;"Microsoft still wants to get it out as soon as possible, but slipping from January to March is nowhere near as bad as slipping from shipping before the holidays to after the holidays," a group of Gartner analysts wrote in the report.&lt;/p&gt; &lt;p&gt;Gartner said Windows XP took five months to go from a second test release to the start of production, but the magnitude of technological improvement in Vista is closer to Windows 2000, which took 16 months between the second test and production.&lt;/p&gt; &lt;p&gt;Once production starts, it usually takes between six- to eight-weeks for PC manufacturers to load the operating system onto new computers, Gartner said.&lt;/p&gt; &lt;div class="cnnStoryContrib"&gt;&lt;p&gt;Copyright 2006 &lt;a href="http://www.cnn.com/interactive_legal.html#Reuters"&gt;Reuters&lt;/a&gt;. All rights reserved.This material may not be published, broadcast, rewritten, or redistributed.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114662007955329964?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114662007955329964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114662007955329964' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114662007955329964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114662007955329964'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/microsoft-may-delay-vista-again.html' title='Microsoft may delay Vista again'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114661964055377452</id><published>2006-05-03T09:25:00.000+08:00</published><updated>2006-05-03T09:27:20.566+08:00</updated><title type='text'>Mac Vulnerability Tops List of Security Flaws</title><content type='html'>&lt;p class="story-body"&gt;&lt;a href="http://www.apple.com/" onclick="window.open('http://www.apple.com'); return false;"&gt;Apple&lt;/a&gt; (Nasdaq: AAPL)  computer users have long been immune from the Internet nasties that infect users of &lt;a href="http://www.microsoft.com/" onclick="window.open('http://www.microsoft.com'); return false;"&gt;Microsoft&lt;/a&gt; (Nasdaq: MSFT)  Windows PCs, but that's beginning to change, according to a report released Monday by the SANS Institute.&lt;/p&gt;  &lt;p&gt;The institute said in a statement that in light of recent attacks on Apple's Safari browser, SANS experts agree that Apple's operating system, &lt;a href="http://www.apple.com/macosx" onclick="window.open('http://www.apple.com/macosx'); return false;"&gt;OS X&lt;/a&gt; , still remains safer than Windows, but its reputation for offering a bullet-proof alternative to the Microsoft OS is in tatters.&lt;/p&gt;  &lt;p&gt;As attackers are increasingly turning their attention to Apple, OS X vulnerabilities are being discovered at a rapid pace, the statement noted.&lt;br /&gt;&lt;/p&gt; &lt;h2 class="subhead"&gt; Hackers Favor Macs &lt;/h2&gt;  &lt;p&gt; "Users often feel invincible when they have their shiny silver-colored Apple and they're surfing the Net with it," observed Ed Skoudis, a senior security analyst with Intelguardians in Middletown, N.J.&lt;/p&gt;  &lt;p&gt;"They think, 'All these vulnerabilities are out there for Windows, and I'm not using Internet Explorer so I must be safe,' and that's not true," he said at a telephone news &lt;a target="_blank" href="http://www.technewsworld.com/story/pq5OERU1cnfvXn/Mac-Vulnerability-Tops-List-of-Security-Flaws.xhtml#" style="border-bottom: medium double darkgreen; text-decoration: none; color: darkgreen; background-color: transparent;" class="iAs"&gt;conference&lt;/a&gt; held by SANS on Monday.&lt;/p&gt;  &lt;p&gt;He revealed that the Macintosh , especially since it became an Intel-based machine, has become a favorite of &lt;a target="_blank" href="http://www.technewsworld.com/story/pq5OERU1cnfvXn/Mac-Vulnerability-Tops-List-of-Security-Flaws.xhtml#" style="border-bottom: medium double darkgreen; text-decoration: none; color: darkgreen; background-color: transparent;" class="iAs"&gt;hackers&lt;/a&gt;. "If you go to a hacker  conference, you'll see that when they're doing presentations there, about 70 percent of the time they're presenting off a Macintosh," he said. &lt;/p&gt;  &lt;h2 class="subhead"&gt; Drive-By Infections &lt;/h2&gt;  &lt;p&gt; He explained that recent flaws discovered in the Apple platform facilitate "drive-by infections."&lt;/p&gt;  &lt;p&gt;"If you surf to a given Web site, it will hack your machine, install malicious code on it and let an attacker remotely control it," Skoudis said.&lt;/p&gt;  &lt;p&gt;"Given all the research and all the use of this by the computer underground, I expect to see a whole lot more of this," he added. &lt;/p&gt;  &lt;h2 class="subhead"&gt; Slow Patching &lt;/h2&gt;  &lt;p&gt; Apple's maintenance of the open source  components of its code may be contributing to its platform's vulnerabilities, noted Johannes Ullrich, chief technology officer with the SANS Internet Storm Center in Boston.&lt;/p&gt;  &lt;p&gt;"Apple uses a lot of open source products, but Apple is late in implementing some of the patches for vulnerabilities in these products," he said.&lt;/p&gt;  &lt;p&gt;"What's happening is vulnerabilities are being disclosed and fixed in open source products, but the fix is not being implemented for OS X users. As a result, the window of vulnerability is extended to OS X users," he concluded. &lt;/p&gt;  &lt;h2 class="subhead"&gt; Internet Exploiter &lt;/h2&gt;  &lt;p&gt; In addition to the increase in OS X attacks, SANS identified seven other major Internet vulnerability trends: &lt;/p&gt; &lt;ul&gt; &lt;li&gt;A substantial decline in the number of critical vulnerabilities in Windows Services and a corresponding increase in attacks through flaws in client-side software. &lt;p&gt;"In the 90-odd services that are installed on Windows XP in the last six months, only about four critical vulnerabilities have been found," observed Amol Sarwate, manager of the vulnerability management lab at Qualys in Redwood Shores, Calif. &lt;/p&gt;&lt;/li&gt;&lt;li&gt;Continuing multiple zero-day vulnerabilities in Internet Explorer. A zero-day vulnerability is one that can be exploited before it can be fixed. &lt;p&gt;"I think it's almost time to rename the Internet Explorer to Internet Exploiter, because rather than it exploring the Internet for you, the chances of you being exploited using Internet Explorer are much higher," quipped Rohit Dhamankar, security research manager for the TippingPoint Division of &lt;a href="http://www.3com.com/" onclick="window.open('http://www.3com.com/'); return false;"&gt;3Com&lt;/a&gt; (Nasdaq: COMS)  in Austin, Texas. &lt;/p&gt;&lt;/li&gt;&lt;li&gt;Rapid growth in Firefox and &lt;a href="http://www.mozilla.org/" onclick="window.open('http://www.mozilla.org/'); return false;"&gt;Mozilla&lt;/a&gt;  vulnerabilities. &lt;p&gt;"We see as many exploits or vulnerabilities in Firefox as we do see in Internet Explorer," noted Ullrich, of the Internet Storm Center. "So Firefox is a bit safer but it's not the cure all for safe Net browsing.&lt;/p&gt; &lt;p&gt;"The one advantage you have with Firefox is that it's typically patched much faster," he added. "For critical vulnerabilities, patches arrive for Firefox within a week; with Microsoft, you have to wait for the monthly cycle." &lt;/p&gt;&lt;/li&gt;&lt;li&gt; Surge in the number of zero-day attacks used for monetary gain. &lt;p&gt;Skoudis of Intelguardians noted that information highwaymen have been busy refining their business models. He cited one technique where malicious code hidden on a machine will scrape the &lt;span id="nointelliTXT"&gt;advertising&lt;/span&gt; from Web pages and replace it with a spammer's ads.&lt;/p&gt; &lt;p&gt;"When you do a search at your favorite search engine, those ads that come back might not be from &lt;a href="http://www.google.com/" onclick="window.open('http://www.google.com'); return false;"&gt;Google&lt;/a&gt; (Nasdaq: GOOG)  itself but edited locally by spyware on your machine," he explained. &lt;/p&gt;&lt;/li&gt;&lt;li&gt;Rapid growth in vulnerabilities that allow unauthorized access to database, data warehouse and data backup information. &lt;p&gt;"I don't see that trend as having surged, but I do see this one as a trend that's taking shape," observed SANS Director of Research Alan Paller. &lt;/p&gt;&lt;/li&gt;&lt;li&gt; A surge in file-based attacks, especially attacks using media files. &lt;p&gt;"What hackers are trying to find is, if they can make a bad Excel file or a bad Word file, does the program crash and allow them to compromise the system," explained Ullrich, of the Internet Storm Center. &lt;/p&gt;&lt;/li&gt;&lt;li&gt; Spreading use of "spearphishing" attacks, especially among defense and nuclear energy sites. &lt;p&gt;"These attacks are much less for money and much more for stealing sensitive information," SANS Research Director Paller said. "There's a massive spreading scourge of spearphishing."&lt;/p&gt;&lt;/li&gt; &lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114661964055377452?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114661964055377452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114661964055377452' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114661964055377452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114661964055377452'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/05/mac-vulnerability-tops-list-of.html' title='Mac Vulnerability Tops List of Security Flaws'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114632163872116060</id><published>2006-04-29T22:36:00.000+08:00</published><updated>2006-04-29T22:50:20.930+08:00</updated><title type='text'>WiFi Setup Can Be Tricky</title><content type='html'>&lt;p&gt;Before you can unplug and play with a WiFi network, you have to set up your wireless gear. And, despite recent improvements, it's not quite a simple and safe path yet on the PC, as we found while testing new WiFi access points from D-Link, Linksys, Netgear and Microsoft. &lt;/p&gt;     &lt;p&gt;All four devices sell for less than $140; two are under $100. They include firewalls to stop online break-in attempts and double as Ethernet routers, which means that any PCs in the same room as an access point can share an ultra-fast wired connection while the access point broadcasts a WiFi signal to elsewhere in the house. &lt;/p&gt;     &lt;p&gt;Their biggest improvement, however, consists of replacing cumbersome network-setup screens with only slightly confusing installation wizards that configure an access point in minutes. (Apple's pricier AirPort, by contrast, has offered a simple setup for years.) &lt;/p&gt;     &lt;p&gt;But although these four WiFi devices all did fine with the core job of distributing an Internet connection throughout a house, they left plenty of ways for things to go awry.&lt;/p&gt;     &lt;p&gt;D-Link's Enhanced 2.4-GHz Router DI-614+, $99, doesn't even need an installation CD-ROM. Plug the boxy device into your PC's Ethernet point, open a Web browser and type in the access point's Internet protocol address to run its embedded installer routine, which copies the necessary network settings over for you. The access point can be managed with Macs and Linux machines as well as those running Windows.&lt;/p&gt;     &lt;p&gt;The only confusing installation moment came when the manual indicated we'd have to enter some configuration information that the access point had already found on its own. &lt;/p&gt;     &lt;p&gt;If all of the PCs in your house use the right model of D-Link hardware, the access point supports the company's faster "AirPlus" modification of WiFi. We saw transfer speeds maybe a third faster than normal WiFi using this proprietary technology, which alone may make D-Link an appealing choice among techies -- if, that is, their machines don't already include WiFi receivers from other vendors. &lt;/p&gt;     Microsoft's Wireless Base Station MN-500 ($139, Win 98 or newer) was almost as simple to set up. Its CD installation software detected our setup quickly and correctly. But it needs a live broadband connection to do this. Otherwise, you have to puzzle through things "by hand" in Microsoft's Base Station Management Tool software. Microsoft provides a full, printed manual rather than an electronic copy, plus the option of saving your new wireless network's settings to a floppy disk to save time later on -- but only floppy, not USB key chain, e-mail, CD-R or any other medium. So if your laptop lacks a floppy drive this will be of limited use.      &lt;p&gt;The Linksys EtherFast Wireless AP + Cable/DSL Router (Win 95 or newer, $130) can be set up in two ways. If your broadband connection is up, a CD-based install wizard will sniff out its settings for you. Otherwise, the setup guide shows where you need to click in Windows 95 through Millennium Edition, 2000 and XP. It's not pretty, but it's well explained and it won't leave you hanging. &lt;/p&gt;     &lt;p&gt;Netgear's Cable/DSL Wireless Router MR814, $70, allows the same no-software setup as D-Link, but an install assistant supplements it, and a helpful printed guide to Internet service providers comes in the box. Netgear's setup tools are comprehensive but busy, trying to explain too many things at once. But the overall friendliness of this setup makes it the best pick for a beginner.&lt;/p&gt;     &lt;p&gt;Once you have a WiFi network up, you should also guard it against snooping. But many WiFi kits neglect to turn on WEP (Wired Equivalent Privacy) encryption, which, although flawed and sometimes a drain on performance, is better than nothing. Of the four we tried, only Microsoft starts with WEP enabled. &lt;/p&gt;     &lt;p&gt;Microsoft is right and the other vendors are wrong; there's no excuse for companies to ship their WiFi equipment with WEP inactive. D-Link gets some credit for offering a stronger, 256-bit level of WEP encryption -- but you have to turn it on yourself, a step that most people (to judge from the immense number of open access points we routinely see around town) won't do on their own.&lt;/p&gt;     &lt;p&gt;Setting up an access point at the center of a wireless network is, unfortunately, only half the point. You still need to get other machines on the network and then get them sharing files and access to your printer. And that's where WiFi gear for Windows lets the user down. &lt;/p&gt;     &lt;p&gt;The problem isn't adding a WiFi receiver to each PC -- you just stick a PC Card into a laptop or plug an adapter into a desktop's USB port. Nor is sharing Internet access difficult; most WiFi receivers will log on without a problem. &lt;/p&gt;     &lt;p&gt;But file and printer sharing under Windows remains a maze of mysterious settings buried in different parts of the system, all of which must be set just so. Microsoft hasn't made a network as simple to set up as, say, a printer, and none of the manuals, Microsoft's included, contain a first-rate guide to configuring your first network. That's a shame, because for most home users, a WiFi system will be their first network. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114632163872116060?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114632163872116060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114632163872116060' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114632163872116060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114632163872116060'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/04/wifi-setup-can-be-tricky.html' title='WiFi Setup Can Be Tricky'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114617748916274065</id><published>2006-04-28T06:37:00.000+08:00</published><updated>2006-04-28T06:38:09.166+08:00</updated><title type='text'>'Cheap' microjets take to the skies</title><content type='html'>&lt;p&gt;  &lt;b&gt;HAYWARD AIRPORT, Calif.--Eclipse Aviation has what must be a pleasant problem: Too many people want to buy its new and inexpensive jet.&lt;/b&gt;  &lt;/p&gt; &lt;p&gt; When it comes to high-performance aircraft, of course, inexpensive is a relative term. The Eclipse 500 very light jet, sometimes called a microjet, costs about $1.5 million but boasts the same performance as rivals that can cost two or three times as much to purchase and operate. &lt;/p&gt;   &lt;p&gt;Translated, this means a remarkable backlog of orders. At a recent aviation expo here, a representative said the Albuquerque, N.M.-based company already has orders for 2,400 of the Eclipse 500 jets that won't be filled until August 2008 for deposits placed today. &lt;/p&gt;   &lt;!-- IMAGE CODE --&gt; &lt;newselement&gt; &lt;a href="http://news.com.com/2300-11398_3-6065909-1.html?tag=nl"&gt;&lt;img src="http://i.i.com.com/cnwk.1d/i/ne/p/2006/plane_click125x143.jpg" style="margin: 10px; float: left;" border="0" height="143" width="125" /&gt;&lt;/a&gt; &lt;/newselement&gt; &lt;!-- END IMAGE CODE --&gt;  &lt;p&gt;"We've really identified five primary market segments," said Matt Brown, an Eclipse sales manager. Those include corporations that may not want or be able to afford a more expensive jet, pilot training and air taxi services. &lt;/p&gt;   &lt;p&gt;The last category is the most interesting--and the most controversial. The Federal Aviation Administration has predicted that the use of private business jets will triple because of microjets' lower costs. In theory, at least, that could mean more crowded skies and increased delays at larger airports where microjets would share space with commercial carriers. &lt;/p&gt;   &lt;p&gt;Even without microjets, delays are on the rise. "In the first quarter of 2005, arrival delays were up 17 percent over the first quarter of 2004, and affected more than 25 percent of all flights," Kenneth Mead, the Transportation Department's inspector general, told a U.S. Senate panel. &lt;/p&gt;   &lt;p&gt; Mead warned that microjets such as the Eclipse 500 have the "potential to further crowd dense airspace" and predicted that 4,500 of them will be in use by 2016. &lt;/p&gt;   &lt;p&gt; One large user could be &lt;a href="http://news.com.com/Aerial+taxis+preparing+for+takeoff/2100-1041_3-5681600.html?tag=nl" title="Aerial taxis preparing for takeoff -- Monday, Apr 25, 2005"&gt;DayJet, which said last year&lt;/a&gt; that it had already ordered 239 Eclipse 500s with an option to buy 70 more. "This is a transportation system that adapts to your needs," Ed Iacobucci, founder of software maker Citrix Systems and the man behind DayJet, said at the time. "It is not about serving New York to Atlanta. It is more about serving the secondary and tertiary markets with a point-to-point network." &lt;/p&gt;   &lt;p&gt;Microjet proponents dismiss concerns about congestion as unfounded, arguing that advances in technology will permit planes to depart airports in quicker succession and saying that small jets can land at general aviation airports that larger planes simply can't. &lt;/p&gt;   &lt;p&gt; The Eclipse 500, for instance, is believed to be the first jet to fly into San Carlos Airport located just south of San Francisco, during a test flight in December. San Carlos' runway is 2,600 feet long and the Eclipse requires just 2,155 feet for takeoff and landing in normal sea level conditions--a fraction of what a 757 requires. (The Eclipse 500 is awaiting certification from the Federal Aviation Administration, which the company expects by the end of the second quarter of this year. Eclipse CEO Vern Raburn is a Microsoft alum and &lt;a href="http://news.com.com/Gates+a+big+investor+in+aircraft+start-up/2100-1008_3-5632401.html?tag=nl" title="Gates a big investor in aircraft start-up -- Wednesday, Mar 23, 2005"&gt;Bill Gates is a large investor&lt;/a&gt;.)&lt;br /&gt;&lt;/p&gt; &lt;p&gt; Eclipse is not alone in trying to find ways to tap the $1.5 million to $3 million market for very light jets, which generally means six to eight seat planes that can fly for about 1,400 miles without refueling, at speeds of 400 to 500 mph. &lt;/p&gt;   &lt;p&gt;A production version of Adam Aircraft's A700 microjet made its first flight in February and is expected to cost $2.25 million. Embraer's forthcoming Phenom 100 jet will cost $2.85 million and have a range of 1,160 nautical miles. &lt;/p&gt;   &lt;p&gt; Cessna, meanwhile, is testing a six-seat microjet called the Citation Mustang. Delivery is expected by the end of 2006 with a cost of about $2.4 million, and specifications include a cruise speed of 391 mph and a takeoff distance of 3,120 feet. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114617748916274065?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114617748916274065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114617748916274065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114617748916274065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114617748916274065'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/04/cheap-microjets-take-to-skies.html' title='&apos;Cheap&apos; microjets take to the skies'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114617711264294144</id><published>2006-04-28T06:29:00.000+08:00</published><updated>2006-04-28T06:31:52.656+08:00</updated><title type='text'>Survey Finds 97 Percent of Web Users a Click Away From Infection</title><content type='html'>Spyware continues to grow on the Web because the Net is becoming an increasing source of entertainment for netizens, according to Ron O'Brien, a senior security analyst with Sophos. "The proliferation of applications on the Internet that resemble entertainment serve as an incentive for people to download them onto their PC without realizing there's this spyware element to them," he said.&lt;br /&gt;&lt;br /&gt;&lt;p class="story-body"&gt;Some 97 percent of Web surfers are just a click away from infecting their computers with adware and spyware, according to anti-malware software &lt;a href="http://www.technewsworld.com/story/PPPFUwepiRtiKF/Survey-Finds-97-Percent-of-Web-Users-a-Click-Away-From-Infection.xhtml" onclick=" { window.open('http://www.ectnews.com/adsys/link/?creative=3295&amp;ENN_rnd=11461767044658'); return false; }" onmouseover="status='http://ad.doubleclick.net/clk;30533719;13016147;x?http://www.microsoft.com/technet/security/default.mspx'; return true;" onmouseout="status=''; return true;"&gt;&lt;img src="http://www.technewsworld.com/images/new/icon-inline-shop.gif" title="operating system" alt="operating system" border="0" height="16" width="17" /&gt;&lt;/a&gt; maker &lt;a href="http://www.mcafee.com/" onclick="window.open('http://www.mcafee.com'); return false;"&gt;McAfee&lt;/a&gt; , of Santa Clara, Calif.&lt;/p&gt;  &lt;p&gt;McAfee came to that conclusion after analyzing 14,464 responses to a spyware quiz taken by consumers at its  &lt;a href="http://www.siteadvisor.com/" target="_blank"&gt;SiteAdvisor&lt;/a&gt; Web site.&lt;/p&gt;  &lt;p&gt;"Of the 14,000 people who took the spyware quiz, three percent got perfect scores, 97 percent got at least one wrong," McAfee SiteAdvisor Market Strategist Shane Keats told TechNewsWorld.&lt;/p&gt;  &lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;p&gt;"So I think it's fair to say," he continued, "that the vast majority in a typical month of clicking will end up on a Web site that potentially exposes them to spyware." &lt;/p&gt;&lt;/span&gt;&lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;h2 class="subhead"&gt; Wandering Into Dark Alley &lt;/h2&gt; &lt;p&gt; The quiz at the site, which has been available since March, presents users with pairs of &lt;a target="_blank" href="http://www.technewsworld.com/story/PPPFUwepiRtiKF/Survey-Finds-97-Percent-of-Web-Users-a-Click-Away-From-Infection.xhtml#" style="border-bottom: medium double darkgreen; text-decoration: none; color: darkgreen; background-color: transparent;" class="iAs"&gt;Web pages&lt;/a&gt; from locations on the Net and asks them to choose which is a safe site and which is not. A second part of the test asks users to make similar distinctions among several file-sharing sites.&lt;/p&gt; &lt;p&gt;Keats admitted that he was a bit disconcerted by the study's findings.&lt;/p&gt; &lt;p&gt;"Given the amount of coverage the media has given spyware, we were surprised by the number of people who got multiple answers wrong," he said.&lt;/p&gt; &lt;p&gt;"Folks are overestimating their ability to spot spyware," he maintained. "The bad guys have gotten good at making their sites look very professional, very slick, and it's becoming even harder to know when you're wandering into a dark alley." &lt;/p&gt; &lt;h2 class="subhead"&gt; Black Chips Exploit Blue Chips &lt;/h2&gt; &lt;p&gt; One way malefactors disguise their intentions is by exploiting the brands of companies with blue-chip reputations.&lt;/p&gt; &lt;p&gt;Researchers observed that quiz takers did particularly poor on the comparison of two lyrics sites. "One possible reason," they deduced, "the unsafe site had &lt;span id="nointelliTXT"&gt;advertising&lt;/span&gt; from well-known brands like &lt;a href="http://www.circuitcity.com/" onclick="window.open('http://www.circuitcity.com'); return false;"&gt;Circuit City&lt;/a&gt; (NYSE: CC) &lt;a href="http://www.technewsworld.com/perl/search.pl?query=%22Circuit%20City%22&amp;amp;scope=network"&gt;&lt;img src="http://www.technewsworld.com/images/new/icon-inline-search.gif" title="Latest News about Circuit City" alt="Latest News about Circuit City" border="0" height="16" width="17" /&gt;&lt;/a&gt; and Monster.com that may have served to legitimize it."&lt;/p&gt; &lt;p&gt;Keats contended that "almost certainly" these companies don't know how their brands are being abused. He explained that a company will hire an ad agency that acts with its interactive division that hires an online media buyer that works with an affiliate network that works with another ad network and so on.&lt;/p&gt; &lt;p&gt;"They're so many steps removed from the actual placement decision that, realistically, headquarters at any Fortune 500 company probably doesn't know where their brand is appearing," he said. &lt;/p&gt; &lt;h2 class="subhead"&gt; Massive Project &lt;/h2&gt; &lt;p&gt;"A lot of companies don't know you can get spyware by going on a lyrics site," he added. "They think you're only searching for text.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;p&gt;"Because of the way SiteAdvisor does its Web crawl, we can find that stuff out so we can tell people here's a site that you didn't think had spyware, but it really does," he noted.&lt;/p&gt; &lt;p&gt;SiteAdvisor is a massive project mounted by McAfee to analyze and test the behavior of all Web sites on the Internet on an ongoing basis.&lt;/p&gt; &lt;p&gt;The results of that testing can be accessed by consumers by installing a browser plug-in from the SiteAdvisor site.&lt;/p&gt; &lt;p&gt;The plug-in appears as a button on a browser's status line. When a user enters a Web site, the button will change color -- green for a safe site, yellow for proceed with caution and red for a malware site.&lt;/p&gt; &lt;p&gt;A detailed analysis of the site can be viewed by clicking a menu arrow beside the button. &lt;/p&gt; &lt;h2 class="subhead"&gt; System Level Infection &lt;/h2&gt; &lt;p&gt; If detecting a spyware site is hard without the aid of a tool like SiteAdvisor, identifying spyware once it reaches a computer can be even harder, according to Patrick Hinojosa, chief technology officer for &lt;a href="http://www.pandasoftware.com/" target="_blank"&gt;Panda Software&lt;/a&gt;, a security technologies, products and services company in Glendale, Calif.&lt;/p&gt; &lt;p&gt;He cited instances of spyware masquerading as legitimate system-level files, such as the registering itself as a Layered Systems Provider (LSP) in Windows, to avoid detection.&lt;/p&gt; &lt;p&gt;"Even most power users are not going to know how to inspect the LSP layer and know what should or should not be there," he told TechNewsWorld. "And even if they found something they weren't sure about and they yanked it, it could totally kill their Internet connection indefinitely until they rebuild that stack." &lt;/p&gt; &lt;/span&gt;&lt;/p&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114617711264294144?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114617711264294144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114617711264294144' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114617711264294144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114617711264294144'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/04/survey-finds-97-percent-of-web-users.html' title='Survey Finds 97 Percent of Web Users a Click Away From Infection'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114602815670687998</id><published>2006-04-26T13:08:00.000+08:00</published><updated>2006-04-26T13:09:16.716+08:00</updated><title type='text'>Firefox zealots offer users money to switch from IE</title><content type='html'>A group of Firefox advocates from Massachusetts is offering website publishers and bloggers $1 for each Internet Explorer visitor to their sites they can convince to switch to the Mozilla Firefox browser.&lt;br /&gt;&lt;br /&gt;   Google has recently announced that it will pay websites $1 for each referred download of Firefox it receives via the Google Toolbar. The four anti-Microsoft activists from Massachusetts have developed a series of free scripts that website owners can add to their sites that will detect whether visitors are running Internet Eplorer. Depending on the script, the website will either show a splash page telling them to switch to Firefox or it will put a big switch banner at the top of the page.&lt;br /&gt;&lt;br /&gt; The group, which explains its actions in an open letter on their website at &lt;a href="http://www.explorerdestroyer.com/open_letter.php" target="_blank"&gt;http://www.explorerdestroyer.com/open_letter.php&lt;/a&gt;, says: "Firefox is one of the most important software applications in the world because it can play a big part in determining the future of the web. It is crucial that an open-source, standards-based web browser becomes the most popular browser, and Firefox has a shot at being that. Google has just set the stage for Firefox to literally "take back the web" and go from 11% of browsers to over 50%. If people can now spread Firefox, stick it to Microsoft, and make money for each user switched, an aggressive strategy just got more appealing."&lt;br /&gt;&lt;br /&gt; The activitists have designed three levels of scripts that website owners can use depending on their commitment level to converting Internet Explorer users: one is a banner at the top of the page, another is a splash page with a link to the Mozilla download page and the most extreme is a page that informs visitors that they need to switch to Firefox to view the site.&lt;br /&gt;&lt;br /&gt; According to the group, getting users to switch to Firefox has never been more urgent: "There's a big chance right now to switch people to Firefox and it might not last very long-- Microsoft has a new version of Internet Exlporer on the way and lord knows what they'll be doing in Vista to force people to use it. Firefox has to get a big foothold right now."&lt;br /&gt;&lt;br /&gt; What the group did not make clear, however, is what its attitude is to other alternative browsers, such as Opera.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114602815670687998?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114602815670687998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114602815670687998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114602815670687998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114602815670687998'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/04/firefox-zealots-offer-users-money-to.html' title='Firefox zealots offer users money to switch from IE'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114591838365873853</id><published>2006-04-25T06:37:00.000+08:00</published><updated>2006-04-25T06:43:08.890+08:00</updated><title type='text'>Scientists Conclude That Black Holes Are Energy Efficient</title><content type='html'>"The black holes are actually preventing galactic sprawl from taking over the neighborhood," said NASA astrophysicist Kim Weaver. She said there's no harm in too many stars, just a mystery as to why these several billion old galaxies aren't loaded with even more stars.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.technewsworld.com/images/rw5716/black-holes-space.jpg" title="Scientists Conclude That Black Holes Are Energy Efficient" alt="Scientists Conclude That Black Holes Are Energy Efficient" class="story-image" align="left" /&gt;&lt;!--byline--&gt;With gasoline hitting US$3 per gallon, scientists have just found the most energy-efficient engines in the universe: black holes, those whirling super-dense centers of galaxies that suck in nearly everything. &lt;p&gt;The jets of energy spurting out of older, ultra-efficient black holes also seem to be playing a crucial role as zoning cops in large galaxies, preventing too many stars from sprouting. That explains why there aren't as many burgeoning galaxies chock full of stars as previously expected, said scientists citing results from &lt;a href="http://www.nasa.gov/" onclick="window.open('http://www.nasa.gov'); return false;"&gt;NASA's&lt;/a&gt; Chandra X-ray Observatory.&lt;/p&gt;&lt;br /&gt;&lt;h2 class="subhead"&gt; Mass of Gas &lt;/h2&gt; &lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;p&gt; For the first time, scientists measured both the mass of hot gas that is being sucked into nine older black holes and the unseen super-speedy jets of high energy particles spit out, which essentially form a cosmic engine. Then they determined a rate of how efficient these older black hole engines are and were awestruck.&lt;/p&gt; &lt;p&gt;These black holes are 25 times more efficient than anything man has built, with nuclear power being the most efficient of man-made efforts, said study lead author Steve Allen of &lt;a href="http://www.stanford.edu/" onclick="window.open('http://www.stanford.edu/'); return false;"&gt;Stanford University&lt;/a&gt; and the Stanford Linear Accelerator Center.&lt;/p&gt; &lt;p&gt;"If you could make a car engine that was as efficient as one of these black hole engines, you could get about a billion miles per gallon of gas," Allen said. "In anyone's book, that would be pretty green."&lt;/p&gt; &lt;p&gt;The galaxies in which these black holes live are bigger than ours, the Milky Way, and 50 million to 400 million light-years away. One light-year is nearly 5.9 trillion miles. The black hole at the center of our galaxy wasn't studied because it wasn't gas-rich and big enough, so scientists couldn't measure what was going in and coming out, Allen said.&lt;/p&gt; &lt;p&gt;The results were surprising because the types of black holes studied were older, less powerful and generally considered "boring," scientists said. However, they ended up being more efficient than originally thought -- possibly as efficient as their younger, brighter and more potent black hole siblings called quasars. &lt;/p&gt; &lt;h2 class="subhead"&gt; Blinding Light &lt;/h2&gt; &lt;p&gt; Quasars spit out blinding light, so scientists can't measure individual energy &lt;a target="_blank" href="http://www.technewsworld.com/story/RIchnpd6qqtqR4/Scientists-Conclude-That-Black-Holes-Are-Energy-Efficient.xhtml#" style="border-bottom: medium double darkgreen; text-decoration: none; color: darkgreen; background-color: transparent;" class="iAs"&gt;efficiency&lt;/a&gt; for them, said study co-author Christopher Reynolds of the University of Maryland. If they could, they'd probably be even more efficient, based on indirect calculations, he said.&lt;/p&gt; &lt;p&gt;One of the ways scientists measured the efficiency of black holes was by looking at the jets of high energy spewed out. Those jets produce bubbles of heat nearby, which tend to keep hot gas from cooling and forming stars in large galaxies.&lt;/p&gt; &lt;p&gt;"The black holes are actually preventing galactic sprawl from taking over the neighborhood," said NASA astrophysicist Kim Weaver. She said there's no harm in too many stars, just a mystery of why these several billion old galaxies aren't loaded with even more stars.&lt;/p&gt; &lt;p&gt;Allen and Weaver said in interviews the unseen hot jets appears to answer the question about what's stopping galaxies from growing too big, he said.&lt;/p&gt; &lt;p&gt;"What this does is give us a step toward understanding why the galaxies in the universe look the way they do," Allen said.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Courtesy of http://www.technewsworld.com&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26322834-114591838365873853?l=perrydoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perrydoo.blogspot.com/feeds/114591838365873853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26322834&amp;postID=114591838365873853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114591838365873853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26322834/posts/default/114591838365873853'/><link rel='alternate' type='text/html' href='http://perrydoo.blogspot.com/2006/04/scientists-conclude-that-black-holes.html' title='Scientists Conclude That Black Holes Are Energy Efficient'/><author><name>Perrydoo</name><uri>http://www.blogger.com/profile/03741959447885094425</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://photos.friendster.com/photos/57/21/8261275/15430945960440s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26322834.post-114591825647800078</id><published>2006-04-25T06:35:00.000+08:00</published><updated>2006-04-25T06:40:01.833+08:00</updated><title type='text'>Apple's 17-Inch MacBook Pro Comes to Market</title><content type='html'>The suggested retail price for the 17-inch screen MacBook Pro is US$2,799, a price that "very few" charge for notebook computers these days, according to Bob O'Donnell, vice president of clients and displays at IDC. High-quality components are one reason Apple's products tend to cost more. Another is brand cachet.&lt;br /&gt;&lt;br /&gt;At the time of its debut, there was considerable speculation as to why a 17-inch version of the notebook was not released along with the 15-inch product.&lt;br /&gt;&lt;br /&gt;&lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;p&gt; A supplier glitch may have caused the delay.&lt;/p&gt; &lt;p&gt;"Apple is very particular about its component parts," Bob O'Donnell, vice president of clients and displays at &lt;a href="http://www.idc.com/" onclick="window.open('http://www.idc.com'); return false;"&gt;IDC&lt;/a&gt;, told MacNewsWorld.&lt;/p&gt; &lt;p&gt;"It wants to make sure it delivers a high quality product -- and to do that, it puts the screws on its suppliers," he added. &lt;/p&gt; &lt;h2 class="subhead"&gt; Price Points &lt;/h2&gt; &lt;p&gt; The high-quality components are one reason Apple's products tend to cost more. The other, O'Donnell noted, is the brand's cachet among users.&lt;/p&gt; &lt;p&gt;Still, O'Donnell is surprised at the suggested retail price for the 17-inch screen MacBook Pro -- US$2,799.&lt;/p&gt; &lt;p&gt;"There are very few people charging that much for notebooks these days. However, the people who buy Apple don't tend to worry too much about price," he acknowledged. "That is another reason why Apple is able to charge what it does."&lt;/p&gt; &lt;p&gt;Indeed, the MacBook Pro is fully loaded, featuring the much vaunted &lt;a href="http://www.intel.com/" onclick="window.open('http://www.intel.com'); return false;"&gt;Intel&lt;/a&gt; (Nasdaq: INTC) &lt;a href="http://www.technewsworld.com/perl/search.pl?query=Intel&amp;scope=network"&gt;&lt;img src="http://www.technewsworld.com/images/new/icon-inline-search.gif" title="Latest News about Intel" alt="Latest News about Intel" border="0" height="16" width="17" /&gt;&lt;/a&gt; Core Duo processor and a new system architecture that is five times as fast as the PowerBook G4.&lt;/p&gt; &lt;p&gt;Weighing only 6.8 pounds, it includes a built-in iSight video camera for &lt;a target="_blank" href="http://www.technewsworld.com/story/7A7aD7hw02fItD/Apples-17-Inch-MacBook-Pro-Comes-to-Market.xhtml#" style="border-bottom: medium double darkgreen; text-decoration: none; color: darkgreen; background-color: transparent;" class="iAs"&gt;mobile conferencing&lt;/a&gt;, a remote media application and MagSafe Power Ad
