RSS
 

VMware/CentOS build

25 Feb

At work, I found it helpful to have test machines that are quick to blow up and get back to a base install. In my opinion, the best way to do this is to virtualize a box.

This is my quick software build for installing VMware (Free Server) on a CentOS 5 box.

Here are my install steps:

First Install CentOS 5 with a minimal installation (uncheck everything). After the first boot, I log in as root and go:

1 useradd somebody
2 passwd somebody
3 vi /etc/ssh/sshd_config
Here I am just verifying that ssh doesn’t allow root log in.

4 service sshd restart
5 cd /home/somebody
6 vi securemachine
Here I am pasting a script I received from a dear friend in Baltimore that uninstalls unneeded stuff.  I prefer to install anything I need as I need it.  This machine will only be a VMware box so I don’t need anything else.  Remember to set a static IP address.  This script will kill the DHCP client.

7 chmod 755 securemachine
8 ./securemachine
9 ./securemachine
10 ./securemachine
11 ./securemachine
12 ./securemachine
13 ./securemachine
14 ./securemachine
15 ./securemachine
The trick here is to keep running the script until it no longer removes packages.  The number that displays at the end will stop decreasing.

16 shutdown -r now
Sometimes, you’ll need to turn off iptables here instead of at the end.  See steps 27 and 28.

17 yum update
18 yum install glibc libxpm perl gcc kernel-devel libX11 libXtst libXext libXt libICE libSM libXrender libz libc inetd
19 shutdown -r now
20 cd /home/somebody
21 wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.3-44356.tar.gz
22 cp VMware-server-1.0.3-44356.tar.gz /tmp
23 cd /tmp

24 tar zxf VMware-server-1.0.3-44356.tar.gz
25 cd vmware-server-distrib
26 ./vmware-install.pl
Answer the questions and follow the instructions.

27 service iptables stop
28 chkconfig iptables off
My machine will be on my private network and I am not worried about it.  However, you may want to set up iptables to protect your machine if you have different requirements.

30 shutdown -r now
When the machine comes back up, it will be working like a charm.  You’ll need to install the VMware Server Console to access the VM.

Good Luck!

 
1 Comment

Posted in Uncategorized

 

Barack Obama: The first lie!

29 Jan

Well, America, yesterday (1/28/2009) was a horrible day.  Our House of Representatives passed a stimulus package in excess of $800 billion that has no hope of stimulating this economy.  What was so horrid was that both sides of the aisle wanted to spend.  The Republicrats were hard at work postering, but the fact is that both would not own up and do what is really necessary for our nation.  President Obama called this a great victory, but the truth is that he was caught in his first lie.  The following articles illustrate what President Obama said about Pork in bills (That he would forbid it):

http://www.msnbc.msn.com/id/28525113/

http://www.newsobserver.com/business/story/1357260.html

http://www.news-leader.com/article/20090107/NEWS07/901070414/1090/ARCHIVES

http://www.barackobama.com/issues/ethics/

http://money.cnn.com/2008/12/08/news/economy/obama_econ/index.htm?postversion=2008120806

http://www.nypost.com/seven/01162009/postopinion/opedcolumnists/new_way_dawning_for_dc_deal_makers_150324.htm?page=0

However, the President did nothing of the sort.  This stimulus package is nearly 30% pork.  Do you think $200 million to rehab the National Mall will help?  How about $276 million to work on the I.T. systems at the State Department?  What about $50 million for the National Endowment for the Arts?  There’s more–lots more– read the whole bill: http://thomas.loc.gov/cgi-bin/query/D?c111:1:./temp/~c111VrmicF::

http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2009/01/26/MNU515G2DD.DTL

Mr. President:  You lied to me and to your fellow Americans.  You promised no more pork.  You lied and it seems you are only paying your friends off.  You are trying to saddle my son and his children with more debt.  Is this the skin you said we’d all have to put in?

Now, it is up to the Senate who seems less up to the task of actually getting us out of the recession.  Personally, I like Mr. Pethokoukis’ opinions in 10 Reasons to Whack Obama’s Stimulus Plan.  Don’t just nix the plan, whack it into oblivion.

I know what you are thinking: If this package is horrible, then what do YOU suggest we do?

Well, there are some very smart people out there who have been predicting this situation and they have the solution.  Give a gander at these:

http://www.youtube.com/watch?v=aOyyRhJRsy8

http://www.youtube.com/watch?v=3Od6OHpdJGI

http://www.c-spanarchives.org/library/index.php?main_page=product_video_info&products_id=283718-7&showVid=true

So, when will we listen?  When will our government listen?  I’ll hold my breath for the answer.

 

What financial turmoil? I just want to party!

19 Jan

I remember several years ago when the Democrats were complaining that Bush’s inauguration costs were exorbitant ($40 million).  But, it was deemed by the Washington Times to be instep with inflation and still less than Clinton’s Second inauguration.

http://www.washingtontimes.com/news/2005/jan/19/20050119-103531-1062r/

So, how is that Barack Hussein Obama’s inaguration is expected to be more than 3 times that of Bush’s?

http://money.cnn.com/2009/01/16/news/economy/inauguration_costs/index.htm

You see these people, our leaders, are one in the same.  You will see them complain about the other and do exactly as they did.  Only this time, we are supposed to sit back and watch.  When are the citizens of the United States going to realize this?

See my last post…if we are in such a financial turmoil, how can we afford such an extravagant party?

Please WAKE UP AMERICA!