Normal Steps for Minimal Setup CentOS 6 on ESXi

1 Create a new VM as you wish. Install CentOS6 with minimal configuration. After installation, shutdown the VM.

shutdown –h now

2 Add a new E1000 network interface card (eth1 in this article, if not, change all related steps below).

3 Boot and login.

4 Setup a temporary network:

ifconfig eth1 <temporary ip> netmask <netmask> up
route add default gw <gateway>

  • if HTTP proxy is required: edit the yum configuration file.

vi /etc/yum.conf

and add these lines:

# The proxy server – proxy server:port number
proxy=http://mycache.mydomain.com:3128
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty

  • if HTTP proxy is NOT required: edit DNS configuration file. See step 13.
  • if Route is required: edit route configuration file. See step 14.

5 Install perl, and update system.

yum install perl
yum update

6 Shutdown.

shutdown –h now

7 Remove the E1000 network interface card, which was inserted in step 2.

8 Boot and login.

9 Insert VMware Tools CD.

10 Install VMware Tools, and reboot. (NOTE: you may need to do this step every time after system update)

cd /
mount /dev/cdrom /media
tar –zvxf /media/VM*
cd vmware-tools-distrib/
./vmware-install.pl

follow the instructions on your screen.

umount /media
reboot

11 Wait for reboot and login.

12 Setup eth0

vi /etc/sysconfig/network-scripts/ifcfg-eth0

and add these lines:

ONBOOT=yes

  • if DHCP is enabled:

BOOTPROTO=dhcp

  • if static IP is preferred:

IPADDR=<IP>
NETMASK=255.255.255.0
BOOTPROTO=none

13 Setup DNS.

vi /etc/resolv.conf

and add these lines:

nameserver <1st DNS IP>
nameserver <2nd DNS IP>
domain <domain name> #your domain name, optional

14 Setup route.

vi /etc/sysconfig/network

and add these lines:

NETWORKING=yes
HOSTNAME=<value>
GATEWAY=<Gateway IP>
GATEWAYDEV=eth0

15 Reboot.

reboot

16 Disable SELINUX if you don’t like it.

vi /etc/sysconfig/selinux

find the line start with SELINUX=, and set it to disabled.

SELINUX=disabled

Sharepoint Database Permission

If you wanna deploy Sharepoint 2010 with a SqlServer 2008 R2 ON ANOTHER SERVER, make sure that the domain account which will be used as Sharepoint Service has the dbcreator and securityadmin permission in the target SqlServer.

If securityadmin is not selected, you may have trouble to setup a search service application. All you need is delete the deployed search service application, add permission to SqlServer and re-create a new search service application.

Windows Live Messenger Error 8100030d

When you get this error, you may need to delete your cache of WLM.

For XP users,?delete these folders:

  • C:\Documents and Settings\Your Windows logon name\Contacts\Your Messenger e-mail address
  • C:\Documents and Settings\Your Windows logon name\Local Settings\Application Data\Microsoft\Windows Live Contacts\Your Messenger email address

For Vista/Win7 users, delete these folders:

  • C:\Users\Your Windows logon name\Contacts\Your Messenger e-mail address
  • C:\Users\Your Windows logon name\AppData\Local\Microsoft\Windows Live Contacts\Your Messenger e-mail address

You may need to shutdown your WLM completely and some services like wlcomm.exe by Task Manager.

ProjectServer 2007 安装助记

安装ProjectServer 2007时应注意:
1 如果安装的ProjectServer与操作系统的语言版本不同,需将操作系统的区域、语言等相关设置修改为与ProjectServer语言版本相同,否则PWA配置会出错(错误为某数据库唯一键错误)。
2 在安装成功后,如只有本机可以访问而外部访问均提示“发生意外错误”,请操作以下步骤:
a.进入SharePoint 3.0管理中心,左侧选择“操作”;
b.在全局配置中选择“备用访问映射”;
c.将需要被访问的地址(例如IP地址等)在此添加

64bit world, without windows phone sync

From Office 2010, native x64 version is included. The funny thing is, if you install an x64 version of Outlook into your windows, no matter windows xp (x64), vista (x64) or win7(x64), you just cannot synchronize the data between Outlook and your windows phones.

It seems that ActiveSync(xp) and Windows Mobile Device Center(vista and win7) cannot recognize the x64 version of Outlook. And, the x64 version Outlook cannot be installed on the operation system which contains any x86 office components.

If you need to sync your windows phones with outlook, you have to install the 32bit office.

Need we choose the Ultimate version of Windows 7 ?

Windows 7 Ultimate has all functions but it costs much expensive. In many cases, the additional functions are not so useful for us, or we can use some cheaper softwares instead.

Microsoft told us that, if you choose Professional version instead of Ultimate, you will lose these functions:

1 Help protect data on your PC and portable storage devices against loss or theft with BitLocker. (OK, if I really need this, why not to purchase another software instead )

2 Work in the language of your choice and switch between any of 35 languages. (Great, but not needed, at least for me.)

If you choose Home Premium version instead of the Professional one, several functions more are lost:

1 Run many Windows XP productivity programs in Windows XP Mode. (Yes, you may have known that is not so easy for use and cost lots of resources.)

2 Connect to company networks easily and more securely with Domain Join. (I think it’s not necessary at all for a home user.)

3 Recover your data easily with automatic backup to your home and business network. (It’s not the system restore, but a standalone backup tool. And, this is the only one function, backing up to a network destination. You still can backup to your hard disks and removable devices without it.)

And, with the much cheaper version, Home Premium:

Windows 7 Home Premium makes it easy to create a home network and share all of your favorite photos, videos, and music. You can even watch, pause, rewind, and record TV. Get the best entertainment experience with Windows 7 Home Premium.

  • Simplify your PC with new navigation features like Aero ShakeJump Lists, and Snap.
  • Customize Windows to look and feel the way you like by changing themes and taskbar programs.
  • Setting up a home network and connecting to printers and devices is easier than ever.
  • Windows 7 Home Premium supports the latest hardware and software.
  • Designed to make your PC sleep and resume quicker.
  • Takes full advantage of 64-bit PC hardware and memory.
  • Connecting to wireless networks is fast and easy.
  • Watch, pause, rewind, and record TV with Windows Media Center.
  • Watch your favorite DVD movies.
  • Includes integrated video and Dolby audio codecs.

Check it here: http://windows.microsoft.com/en-US/windows7/products/compare-editions