14
Dec/08
1

Debian: VMware Server 1.x and Debian Etch

To install VMware Server 1.x:

Install the following packages if you don’t already have them:

aptitude install build-essential linux-headers-($uname -r) openssl libssl-dev psmisc

Untar the package, navigate to vmware-server-distrib directory and type

./vmware-install.pl

To install VMware Tools:

The following packages are needed in order to install VMware Tools:

aptitude install build-essential linux-headers-($uname -r)

Open VMware Server Console and Click VM – Install VMware Tools. Then go to your guest Debain VM and mount the CD:

mount /dev/cdrom

I usually copy tar files to the hard drive and extract:

cp /media/cdrom0/VMwareTools-1.0.8-126538.tar.gz /root

cd /root/
tar -zxf VMwareTools-1.0.8-126538.tar.gz

If you want to directly untar it to another directory:

tar -zxf /media/cdrom0/VMwareTools-1.0.8-126538.tar.gz -C <directory>

Navigate to vmware-tools-distrib and execute the install command:

./vmware-install.pl

Follow directions and you should be able to install VMware Tools without incident.

Note: If you are running an early release of Debian Etch you may be asked to provide path to C compiler directory. That means you do not have a compiler installed and will have to install the following two packages:

aptitude install gcc-3.4 g++-3.4
Tagged as:
3
Nov/08
4

Debian: Setup is unable to find the “killall” program error when installing VMware tools

Setup is unable to find the “killall” program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?

Hit ctrl-c to break the process, then install “psmisc” package:
aptitude install psmisc

Now try again.

30
Oct/08
0

Debian: Sync time and date with external servers

Install ntpdate:

aptitude install ntpdate

To update manually:

ntpdate <time server> (ntpdate pool.ntp.org or ntpdate time.nist.gov)

Create a cron job to have your server sync at intervals you like.

29
Oct/08
10

Debian: Symantec Backup Exec 12 and Debian Etch 32/64

To install Symantec Backup Exec 12 agent under Debian Linux (32 and 64 bit). Version numbers have been masked with “xxx” to make it a general post.

Find the appropriate agent from the installer CD or download the latest version from Symantec website. 32 bit packages are normally under /Linux/RALUSx86/pkgs/Linux and 64 bit under /Linux/RALUS64/pkgs/Linux. Both packages must be properly installed: VRTSralus and VRTSvxmsa.

To untar:

tar -zxvf VRTSralus.tar.gz
tar -zxvf VRTSvxmsa.tar.gz

Symantec provides rpm packages so we will have to convert them to deb. If you don’t have the package “alien” installed use the command aptitude install alien to install the package.

Converting rpm to deb:

alien --scripts VRTSralus-xxx.rpm
alien --scripts VRTSvxmsa-xxx.rpm

(64 bit packages end with x86-64.rpm).

Installing deb packages:

dpkg -i vrtsralus-xxx-.deb
dpkg -i vrtsvxmsa-xxx-.deb

RALUS runs under a backup user called beoper. Go ahead and add the user/group and give it root access:

addgroup beoper
adduser root beoper

Before loading the agent for the first time install the following packages:

aptitude install libstdc++5

for 64 bit Debian you will need an additional package:

aptitude install ia32-libs

Now load the agent for the first time to have it create your configuration file. Backup Exec installation will copy your init script to /opt/VRTSralus/bin/VRTSralus.init. Either run it directly from there or create a symbolic link where your other scripts are:

ln -s opt/VRTSralus/bin/VRTSralus.init /etc/init.d

Load the agent:

/etc/init.d/VRTSralus.init start

OK confirms that your script ran properly, and if you followed my direction it should. Now kill the process

/etc/init.d/VRTSralus.init stop

and go open the configuration file

nano /etc/VRTSralus/ralus.cfg

Insert the following string and replace the IP to match your media server’s:

Software\Symantec\Backup Exec For Windows\Backup Exec\Engine\Agents\Agent Directory List_1=192.168.1.35

I have highlighted what I think is important: agent advertising option and your media server IP. Make sure they are correct and if you don’t have any of those lines go ahead and add them to your config file.

Save/close the file and re-run your agent. You’re all set! If you like to have the agent run every time your box reboots navigate to /etc/init.d/ and:

update-rc.d -f VRTSralus.init defaults

Note that Backup Exec 12.5 comes with a pre-compiled .deb package. Hooray for Symantec!

29
Oct/08
0

Debian: Etch x64 and VMware Server Cannot connect to host x.x.x.x: No connection could be made because the target machine actively refused it.

A bit off-topic, but just a reminder that VMware Server 1.x is basically a 32 bit installer. To take care of compatibility issues make sure to install ia32-libs:

aptitude install ia32-libs

If you cannot connect to your console with the error message: Cannot connect to host x.x.x.x: No connection could be made because the target machine actively refused it, try to install inetutils-inetd:

aptitude install inetutils-inetd

Why? Because VMware-mui actually works and hooks with the package inetd which is not installed with 64 bit Debian by default.

Tagged as: