Innovation The Key To Success
Linux
How To Install VMTool In Linux Virtual Machine Hosted In A ESX VMware Server
Jun 22nd
How To Install VMTool In Linux Virtual Machine Hosted In A ESX VMware Server
It is very important that you install VMware Tools in the guest operating system.
With the VMware Tools SVGA driver installed, Workstation supports significantly faster graphics performance.
The VMware Tools package provides support required for shared folders and for drag and drop operations.
Other tools in the package support synchronization of time in the guest operating system with time on the host, automatic grabbing and releasing of the mouse cursor, copying and pasting between guest and host, and improved mouse performance in some guest operating systems.
The installers for VMware Tools for Windows, Linux, FreeBSD, and NetWare guest operating systems are built into VMware Workstation as ISO image files. (An ISO image file looks like a CD-ROM to your guest operating system and even appears as a CD-ROM in Windows Explorer. You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file.)
When you choose VM > Install VMware Tools from the VMware Workstation menu, VMware Workstation temporarily connects the virtual machine’s first virtual CD-ROM drive to the ISO image file that contains the VMware Tools installer for your guest operating system and you are ready to begin the installation process.
Steps for Installing VMTool in Linux virtual machine.
- Login Esxi server and select the virtual machine.
- Open the Console windows and enter the root credential.
- Shutdown the Linux virtual machine.
- Backup of the virtual machine using snapshot manager.
- Label the snapshot.
- Select the virtual machines right clicks and choose Edit Settings.
- Select CD/DVD drive.
- Enable Host Device and select /dev/scd0 (Choose accordingly).
- Go to Device status -> check Connected and Connect at power On.
- Power On the virtual machine.

- Go to inventory -> Guest -> Install/Upgrade VMware Tools

- Click Install/Upgrade VMware Tools.
- Go to Esxi and Open Operating console.
- Enter the root credentials.
- Right click desktop and select Terminal console.
- Create Mount Point directory using the command “mkdir /mnt/cdrom”
- Mount CDRom using the command, “mount /dev/cdrom /mnt/cdrom”.
- Type “cd /mnt/cdrom” to change directory and type list command “ls”.
- We can see the VMwareTool RPM package with .rpm extension.
- Choose the command for the upgrade/fresh installation,
- rpm –qa | grep VM — the command display whether there were any previously installed VMTool.
For up gradation of the Existing VMTool
- rpm –Uvh VMToo…..rpm — this command helps to upgrade the VMTool installation.
For fresh installation of VMTool
- rpm – ivh VMTool…rpm – this command execute a fresh installation of VMTool.
21. After the installation of VMTool we need to configure the VMTool with the following command,
“ /usr/bin/vmware-config-tools.pl “
22. Choose the appropriate screen resolution.
23. Everything set; we can view the VMTOOL summary status as OK.
24. Unmount CDRom using the command, “umount /dev/cdrom”
25. Reboot the operating system.
26. Everything went normal, remove the backup snapshot.
Reference : Link
Cheers!
Melbin Mathew
Talk2Melbin
How To Install/Create Blog Using WordPress 2.8.5
Nov 3rd
Install/Create Blog Using WordPress
WordPress is a popular open source website publishing and content management system. Nowadays most of the blogging sites are using WordPress. We are able to easily present our articles on our site. The site style and presentation can increase using free or paid templates.
WordPress works with PHP and Mysql back end. Backup and restoration can be achieved through simple steps.
Key Features
* Full standards compliance
* No rebuilding
* WordPress Pages
* WordPress Links
* WordPress Themes
* Cross-blog communication tools
* Comments
* Spam protection
* Full user registration
* Password Protected Posts
* Easy installation and upgrades
* Easy Importing
* XML-RPC interface
* Workflow
* Typographical niceties
* Intelligent text formatting
* Multiple authors
* Bookmarklets
* Ping away
Minimum System Requirement
* PHP 4.3 or greater
* MySQL 4.0 or greater
* The mod_rewrite Apache module
Steps For Installing WordPress 2.8.5
- Download WordPress latest stable release from,
http://wordpress.org/download/
- Extract the download and upload contents to website folder.
# unzip wordpress-2.8.5.zip # scp -r wordpress/* /websitefolder
* Ftp access are used to copy WordPress folder content into the website folder.
- Browse the site url and access WordPress site.

- Copy wp-config-sample.php file to wp-config.php
# cp wp-config-sample.php wp-config.php
- Create a new MySQL database and user
# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | test | +--------------------+ 3 rows in set (0.18 sec) mysql> create database wordpress; Query OK, 1 row affected (0.04 sec) mysql> grant all privileges on wordpress.* to wordadmin@'%' identified by 'talk2melbin'; mysql> quit
* Update the password, user name and database name accordingly.
* It is easier to create database and user access using control panel GUI.
- Edit wp-config.php,
# vi wp-config.php
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'wordadmin');
/** MySQL database password */
define('DB_PASSWORD', 'talk2melbin');
- Update the Blog title and email address

- Check the “Allow my blog to appear in search engines like Google…”, search engines are notified by your blog updates.

- Note the Admin user login password

- Login into WordPress admin console.

Select your favorite theme and upload into “wp-content/themes” folder. Login into WordPress and go to theme tag. Select the theme preview and save.

Common Errors
- Website folder permission need to be checked and corrected.

- Recheck wp-config.php config file.

Cheers!
Melbin Mathew
www.talk2melbin.com
How To Secure MySQL Database Server From Anonymous Logins
Oct 28th
Secure MySQL Database Server From Anonymous Logins
MySQL is one of the most popular database server in the world. It’s high performance and cost free attract much more people. MySQL database servers are a common location for attackers. So it is important to check the security setting of each MySQL servers.
Blocking anonymous access and securing MySQL databases with authorized users are more important. This help us to increase the security level of MySQL server and reduce the data loss.
In normal condition fresh installation of MySQL allows anonymous access to the MySQL database server. To increase the security of MySQL server we need to set MySQL root password,block anonymous and network access.
Steps for preventing attacks on MySQL Server.
Set up MySQL root access password.
Open terminal and enter the following commands,
mysqladmin -u root password secretpassword
or
Login into MySQL
# mysql
mysql> use mysql;
mysql> UPDATE user SET password = password('secretpassword') WHERE user = 'root';
Disabling Anonymous Users
# mysql -u root -p mysql
Enter Password: secretpassword
mysql> DELETE FROM user WHERE user = '';
mysql> FLUSH PRIVILEGES;
Disabling Networking in MySQL
Add the following lines into “/etc/my.cnf” file
[mysqld] # Prevent network access to MySQL. skip-networking
Cheers!
Melbin Mathew
www.talk2melbin.com
How To Check The User Creation Date And Time On Windows And Linux
Oct 22nd
How To Check The User Creation Date And Time On Windows And Linux
Finding user creation date on the Operating system is a key fact on security audit. This help us to ensure the validity of the user.
On Windows Operating System user creation date are analyised by checking Event viewers, Profiles creation date and net command.
1. Check on Event viewer. It would be good to enable the audit logs.
2. Profile creation date, help us to know the first login date.
*If the user have never login into the Operating System. System will not create a new profile folder.
3. Check the user status using net command.
Run -> cm -> net user nameofuser
On Linux Operating System user creation date are analyised by checking home directory creation, messages and auditlog.
1. Check the creation data of user home directory
# ls -ld /home/melbin/
Output
drwx—— 5 melbin melbin 4096 Aug 28 22:07 /home/melbin/
2. Grep messages logs.
cat /var/log/messages | grep melbin cat /var/log/messages.* | grep melbin
3. If system auditd are enabled. Search the logs using grep, aureport, ausearch commands. Daemon auditd collects audit subsystem logs and log them on /var/log/audit/audit.log. SELinux uses the audit subsystem.
* aureport –auth | grep melbin
* ausearch
These are two programs, ausearch and aureport, that provide retrieval capabilities. Ausearch is a grep program in that it can be given certain parameters and it will display any records that match. The aureport program was designed to aid in doing reports via awk, perl, or grep. It can select different kinds of information in the audit logs and present them in either columnar form or rankings. Some of the information it can select includes: logins, users, terminals, host names, executables, file access, avc objects, syscalls, watches, or event types.
cat /var/log/audit/audit.log | grep melbin cat /var/log/audit/audit.* | grep melbin
Cheers!
Melbin Mathew
www.talk2melbin.com
How To Backup And Restore Mozilla FireFox/Flock On Windows And Linux
Oct 22nd
How To Backup And Restore Mozilla Fire Fox On Windows And Linux
Mozilla Firefox is a commonly used Internet browser. Some time we need keep the backup of Firefox because we don’t need to loose our favorite bookmarks, saved sessions etc.
Conditions like Operating system re installation or up gradation and even hardware failures might cause loss of our favorite bookmarks. Following steps help us to backup and restore Mozilla Firefox.
Mozilla Backup And Restore On On Linux Operating System
Mozilla Firefox profile and contents are saved on the user home directory.
# ls ~/.mozilla
By default Mozilla contents are kept on a hidden folder. It prevent accidentally deletion of the folder.
Backup Mozilla Firefox to the backup location using “cp” command.
# cp -r ~/.mozilla /backuplocation/mozilla-backup
Restore Mozilla Firefox
Close Mozilla Firefox application and copy the backup to user home directory.
# cp -r /backuplocation/mozilla-backup ~/.mozilla
Mozilla Backup And Restore On Windows Operating System
On Windows machine we are able to take backup of Mozilla Firefox using an application called MozBackup
Download MozBackup Application from the url link http://mozbackup.jasnapaka.com/download.php
Run MozBackup on windows machine
Select backup.
If multiple profiles are using, we need to select each of them for backup.
Save the profile as .pcv file. The .pcv file have all the backup of Mozilla Firefox.
Run MozBackup and select restore.
Choose the previously saved .pcv file for restoration.
Cheers!
Melbin Mathew
www.talk2melbin.com