Hi and salam,
Recently, I’ve posted my starting project / work on configuring / installing / managing VMWare ESXi 4 . Prior to my knowledge, I don’t know / maybe not enough search / any client based such as vSphere Client that is used on Windows platform, that can be used on gnu/linux base. What I know is using the vSphere Remote Command Line (RCLI) on gnu/linux, and that is quite tedious compare to the GUI – application vSphere Client. This post is about VMware Remote console plug-in, that is quite cool for me
While finding the way to install Vmware Server 2.0.2 x86_64 on Ubuntu 9.10 64bit, I’ve stumbled upon a bash script vmware-client-start.sh that is used to login into vmware server.. Maybe this is something that Vmware expert already knows, for a newb like me, I just know that script can also be used to login into an ESXi 4 server. It stated in the login popup that this can also be used to login into Vmware ESX 3.0, Vmware VirtualCenter 2.0, Vmware Server 2.0 or any later version of this products.
Bash script (Not by me) :
#!/bin/bash
################################################## ##############################
# Call VMWare Server’s Remote Console in a clean GTK setup.
################################################## ############################### Clean GTK setup for VMWare
export VMWARE_USE_SHIPPED_GTK=yes
export GDK_NATIVE_WINDOWS=true# Find console executable in Firefox plugins.
vmrc=”$(find “$HOME/.mozilla/firefox” -name vmware-vmrc -type f -perm -111 | tail -1)”
[ -x "$vmrc" ] || exit 1VMLIB=$(dirname “$vmrc”)
VMLIB=$(dirname “$VMLIB”)/libexport LD_LIBRARY_PATH=$VMLIB/libexpat.so.0:$VMLIB/libsexymm.so.2:$VMLIB/libview.so.2:$VMLIB/libvmwarebase.so.0:$VMLIB/libvmwareui.so.0:$VMLIB/libgvmomi.so.0
set -x
cd “$(dirname “$vmrc”)” && “$vmrc” -h 192.168.1.2:8333
We can change the IP address for our own IP addresses / servers.
The script / plug in can also initiate multi login , to multi OSs and multi servers. Some of the screenshots:
Login page:

Snapshot below is for guest OS hosted in VMWare ESXi 4:

Multi login different server:

##P/S : VMware Remote console plug-in is not a VMWare vSphere Client.
##PP/S: This script does not support Vmware Server 1.xxx version
Hi there,
Recently, I wanna try to install the new release of Vmware Server on gnu/linux base which is Vmware Server 2.0.2 64bit on Ubuntu 9.10 x86_64
After download and extract it from the Vmware site , I’ve got several error
while issuing ./vmware-install.pl as below :
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic’
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only’
Unable to build the vmmon module.For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/go/unsup-linux-products” and
“http://www.vmware.com/go/unsup-linux-tools”.Execution aborted.
This seems to happen for the 64bit version of Ubuntu 9.10 (or is it the vmware server itself?), I don’t know for other brand of gnu/linux out there whose based on 64bit arch.
After googling for a while, I’ve found solution on one of the blog here .
But the tuto or the solution is for Vmware server version 2.0.1 ,and I desperately in need of a VM server in my workplace for some testing, so I downloaded the Fix from the site here .
After download, extract and put it into vmware-server-distrib (the one we have extracted from Vmware-Server 2.0.2 version) directory.
Go into the directory “vmware-server.2.0.1_x64-modules-2.6.30.4-fix” and run the command:
sudo ./vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh
Just leave it run… until it finish.
Then as usual, open our browser, https://127.0.0.1:8333/
If you have any problem(s) with mouse / keyboard etc2.. just simply use this VMware Client. It’s easy, input the IP:Port (127.0.0.1:8333) and username / password.
In conclusion, this fix works also for the Vmware Server 2.0.2 x86_64.
“You might say there are two specialties within the job classification of con artist. Somebody who swindles and cheats people out of their money belongs to one sub-specialty, the grifter. Somebody who uses deception, influence, and persuasion against businesses, usually targeting their information, belongs to the other sub-specialty, the social engineer.” -Kevin Mitnik
==Install==
salax@salax-laptop:~/Downloads$ wget http://dlpe.antivir.com/package/wks_avira/unix/en/pers/antivir_workstation-pers.tar.gz
salax@salax-laptop:~/Downloads/antivir-workstation-pers-3.0.5-12$ sudo ./installStarting AVIRA AntiVir Workstation (UNIX) 3.0.5-12 installation…
Before installing this software, you must agree to the terms
of the license.Use the arrow keys to scroll through the license. When you
are finished reading, press ‘q’ to exit the viewer.Press <ENTER> to view the license.
Licence agreement Avira AntiVir Personal – Free AntiVirus
===============================================================
Please read through the following software licence agreement. By installing the
software, you explicitly agree to be bound by the conditions of this agreement.
If you do not accept the conditions of this agreement, you may not use the softw
are.———–8<———–8<—————————–cutted
Do you agree to the license terms? [n] y
creating /usr/lib/AntiVir … done
copying AV_WKS_PERS to /usr/lib/AntiVir/ … done
copying LICENSE to /usr/lib/AntiVir/LICENSE-workstation … done1) installing AntiVir Core Components (Engine, Savapi and Avupdate)
copying uninstall to /usr/lib/AntiVir/ … done
copying uninstall_smcplugin.sh to /usr/lib/AntiVir/ … done
copying etc/file_list to /usr/lib/AntiVir/ … done
copying etc/dir_list to /usr/lib/AntiVir/ … done
copying etc/run.inf to /usr/lib/AntiVir/ … done———-8<—————–8<—————-cutted
installation of AntiVir Core Components (Engine, Savapi and Avupdate) complete
2) Configuring updates
An internet updater is available with version 3.0.5-12 of
AVIRA AntiVir Workstation (UNIX). It will ensure that you always have the latest
virus signatures and engine updates.
In order to trigger an update you will need to run the command:/usr/lib/AntiVir/avupdate –product=Guard
Please read the README file for more information about updating and
which method best suits you.Would you like to create a link in /usr/sbin for avupdate ? [y]
linking /usr/sbin/avupdate to /usr/lib/AntiVir/avupdate … doneWould you like to setup Engine and Signature updates as cron task ? [y]
Please specify the interval to check.
Recommended values are daily or 2 hours.available options: d [2] 5
creating Engine/Signature update cronjob … doneWould you like to check for Guard updates once a week ? [n]
setup internet updater complete
3) installing main program
copying doc/avserver_en.pdf to /usr/lib/AntiVir/ … done
stop running AVIRA AntiVir Workstation (UNIX) … done
copying bin/linux_glibc22/libdazuko2.so to /usr/lib/AntiVir/ … done
copying bin/linux_glibc22/libdazuko3compat2.so to /usr/lib/AntiVir/ … done
copying bin/linux_glibc22/avguard-ondemand-mgmt to /usr/lib/AntiVir/ … done
copying bin/linux_glibc22/avguard-scanner to /usr/lib/AntiVir/ … done
copying bin/linux_glibc22/avscan to /usr/lib/AntiVir/ … done
copying bin/linux_glibc22/avsavapi-super to /usr/lib/AntiVir/ … done
copying bin/linux_glibc22/avguard.bin to /usr/lib/AntiVir/ … done
Dazukofs module is loadedlinking /usr/lib/AntiVir/libdazuko.so to /usr/lib/AntiVir/libdazuko3compat2.so … done
Guard will automatically protect all directories
which are mounted upon dazukofs filesystem.Please specify at least one directory to be protected
by Guard to add in /etc/fstab : [/home]
The following directories will be protected by Guard:
/homeIf you want to remove or include more directories
you will need to edit your /etc/fstab file and remount dazukofs.backup original /etc/fstab to /etc/fstab.orig
adding DazukoFS IncludePath /home to /etc/fstab … done
Mounting /home as dazukofs…copying etc/avscan.conf to /etc/avira/ … done
copying etc/avscan.conf to /etc/avira/avscan.conf.default … done
copying script/avira_start.sh.template to /usr/lib/AntiVir/avguard … done
copying script/avguard_start.sh to /usr/lib/AntiVir/ … done
copying script/avguard_restart.sh to /usr/lib/AntiVir/ … done
copying script/avguard_stop.sh to /usr/lib/AntiVir/ … done
copying script/avguard_post.sh to /usr/lib/AntiVir/ … done
copying script/avguardkey_post.sh to /usr/lib/AntiVir/ … done
creating /home/quarantine … already existsWould you like to install the AVIRA Guard GNOME plugin ? [n] y
installing AVIRA Guard GNOME plugin …
*** Installing pre-compiled applet
done
linking /usr/bin/avscan to /usr/lib/AntiVir/avscan … done
linking /usr/bin/scan to /usr/lib/AntiVir/avscan … doneWould you like to create a link in /usr/sbin for avguard ? [y]
linking /usr/sbin/avguard to /usr/lib/AntiVir/avguard … donePlease specify if boot scripts should be set up.
Set up boot scripts [y]:
setting up boot script … doneinstallation of AVIRA Guard complete
4) activate SMC support
If you are going to use AVIRA Security Management Center (SMC)
to manage this software remotely you need thisWould you like to activate SMC support? [y] n
SMC will NOT be activated
checking for existing /etc/avira/avguard.conf … not found
copying etc/avguard.conf to /etc/avira/ … done
copying etc/avguard.conf to /etc/avira/avguard.conf.default … done
checking for existing /etc/avira/avguard-scanner.conf … not found
copying etc/avguard-scanner.conf to /etc/avira/ … done————8<————————–8<—————cutted
Would you like to start AVIRA Guard now? [y] y
Starting AVIRA AntiVir Workstation Personal …
Starting: avguard.binInstallation of the following features complete:
AntiVir Core Components (Engine, Savapi and Avupdate)
AVIRA Internet Updater
AVIRA Guard***********************************************************
Configuration files:
/etc/avira/avguard.conf (AVIRA Guard main config)
/etc/avira/avscan.conf (AVIRA Guard avscan config)
/etc/avira/avguard-scanner.conf (AVIRA Guard scanner config)
/etc/avira/avupdate.conf (AVIRA Avupdate options)
***********************************************************Note: It is highly recommended that you perform an update now to
ensure up-to-date protection. This can be done by running:/usr/lib/AntiVir/avupdate –product=Guard
Be sure to read the README file for additional information.
Thank you for your interest in AVIRA AntiVir Workstation (UNIX).
Then, I reboot and check the process:
root@salax-laptop:~# ps auxwww|grep avira
root 6259 0.5 1.9 45736 39756 pts/0 S 16:04 0:03 /usr/lib/AntiVir/savapi –config=/etc/avira/avguard-scanner.conf –pid-dir=/var/run/avguard/ –temp=/var/run/avguard/savinst-vNPLDw/ -N –allow-remote-shutdown –socket-file=/var/run/avguard/savinst-vNPLDw/scanner
root 6260 5.2 1.9 46292 39932 pts/0 S 16:04 0:34 /usr/lib/AntiVir/savapi –config=/etc/avira/avguard-scanner.conf –pid-dir=/var/run/avguard/ –temp=/var/run/avguard/savinst-vNPLDw/ -N –allow-remote-shutdown –socket-file=/var/run/avguard/savinst-vNPLDw/scanner
root 6300 4.8 1.9 46296 39968 pts/0 S 16:08 0:20 /usr/lib/AntiVir/savapi –config=/etc/avira/avguard-scanner.conf –pid-dir=/var/run/avguard/ –temp=/var/run/avguard/savinst-vNPLDw/ -N –allow-remote-shutdown –socket-file=/var/run/avguard/savinst-vNPLDw/scanner
root 6301 7.7 1.9 46300 39856 pts/0 S 16:08 0:33 /usr/lib/AntiVir/savapi –config=/etc/avira/avguard-scanner.conf –pid-dir=/var/run/avguard/ –temp=/var/run/avguard/savinst-vNPLDw/ -N –allow-remote-shutdown –socket-file=/var/run/avguard/savinst-vNPLDw/scanner
root 6628 0.0 0.0 3336 804 pts/0 S+ 16:15 0:00 grep avira
Uninstall? Simply :
salax@salax-laptop:~/Downloads/antivir-workstation-pers-3.0.5-12$ sudo ./uninstall
[sudo] password for salax:
uninstall [--product=productname] [--no-interactive] [--force] [--version] [--help]installed products:
Guard
Scanner
salax@salax-laptop:~/Downloads/antivir-workstation-pers-3.0.5-12$ sudo ./uninstall –product=Guard
This app make it easier for me to set run levels, edit/ disable services..
This is the same like using redhat/fedora/centos or any redhat based OS. In redhat base the command is using “chkconfig” and “service” .
In Ubuntu, I install sysvconfig.
Search for the package first:
salax@salax-laptop:~$ sudo apt-cache search sysvconfig
sysvconfig – A text menu based utility for configuring init script links
After that install it:
salax@salax-laptop:~$ sudo apt-get install sysvconfig




Hi there, hope all is well..
Last week, I’ve been given opportunity to learn on configuring and play around with Dionaea, the successor for nepenthes. It’s been great honor for a newbie like me to join the training and learn together with other staffs.
To begin with, I’m actually new to this.. With Nepenthes, I just managed / able to install and configure the program, and never really had chance to understand how the program works, and don’t have many experience with it (one of the reason is because I’m tooo lazy, yes, I admit it :-p). Install, configure, and put in public IP at my home.. and waits for some alerts to come out..
For Dionaea, I’ve followed the tutorial at their main page http://dionaea.carnivore.it/ , and managed to install / configure all the dependencies.. Once installed, I try to test with some exploits / nmapping .. cool
also have Http server under /opt/dionaea/var/dionaea/wwwroot , for fast http server. Frankly speaking, during the training, I can’t catch all of the explanations , the codes (since i’m a N0ob in programming), and bla2.. But I’m amazed by how the program works.. they( the developers) must be some kind of beautiful mind person for developing this ;-p
I’ve done my installation/configuration on top of Ubuntu 9.04.. This shouldn’t be problem for *buntu and Debian users.. other distros I don’t know, haven’t try.
If you would like to try it out:
http://dionaea.carnivore.it/
http://carnivore.it/2009/12/02/dionaea_first_tc_kul_12-09 (blog)
screenshot when dionaea in action:

salawank is Digg proof thanks to caching by WP Super Cache