VBoxTool

Provides effective control of virtual machines of VirtualBox icon-external-link.png (virtualization solution) on a Linux headless server, published as free and open source software.

Currently VirtualBox lacks a decent management environment for controlling virtual sessions on a headless server environment. VBoxTool mimics partly Virtual Machine Manager icon-external-link.png which controls sessions for other virtualization solutions like Qemu, KVM, etc. Unfortunately, VirtualBox is not in the list of supported engines (nor will be in the near future).

Read more

Share

Virtual Machine Manager

The "Virtual Machine Manager" application (virt-manager for short package name) is a desktop user interface for managing virtual machines. It presents a summary view of running domains, their live performance & resource utilization statistics. The detailed view graphs performance & utilization over time. Wizards enable the creation of new domains, and configuration & adjustment of a domain's resource allocation & virtual hardware. An embedded VNC client viewer presents a full graphical console to the guest domain.

Share

Virtualbox

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2. See "About VirtualBox" for an introduction.

Presently, VirtualBox runs on Windows, Linux, Macintosh, and Solaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, OS/2, and OpenBSD.

VirtualBox is being actively developed with frequent releases and has an ever growing list of features, supported guest operating systems and platforms it runs on. VirtualBox is a community effort backed by a dedicated company: everyone is encouraged to contribute while Oracle ensures the product always meets professional quality criteria. 

Share

Mount Windows partitions in to Linux

Procedure to mount remote windows partition (NAS share)

1) Make sure you have following information:
==> Windows username and password to access share name
==> Sharename (such as //server/share) or IP address
==> root level access on Linux

2) Login to Linux as a root user (or use su command)

3) Create the required mount point:
# mkdir -p /mnt/ntserver
4) Use the mount command as follows:
# mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver

Use following command if you are using Old version such as RHEL <=4 or Debian <= 3:
# mount -t smbfs -o username=vivek,password=D1W4x9sw //ntserver/download /mnt/ntserver

5) Access Windows 2003/2000/NT share using cd and ls command:
# cd /mnt/ntserver; ls -l
Where,

  • -t smbfs : File system type to be mount (outdated, use cifs)
  • -t cifs : File system type to be mount
  • -o : are options passed to mount command, in this example I had passed two options. First argument is password (vivek) and second argument is password to connect remote windows box
  • //ntserver/download : Windows 2000/NT share name
  • /mnt/ntserver Linux mount point (to access share after mounting)

    Read more

Share

Configuring command line network inteface in Debian

Configure the Network Manually

You can use ip or ifconfig command to configure IP address and other information.

Task: Display the Current Network Configuration

Type the following command:
$ ip address show
Output:

1: lo:  mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:19:d1:2a:ba:a8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.1/24 brd 192.168.2.255 scope global eth0
    inet6 fe80::219:d1ff:fe2a:baa8/64 scope link
       valid_lft forever preferred_lft forever
3: ra0:  mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:17:9a:0a:f6:44 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.106/24 brd 192.168.1.255 scope global ra0
    inet6 fe80::217:9aff:fe0a:f644/64 scope link
       valid_lft forever preferred_lft forever
4: ppp0:  mtu 1496 qdisc pfifo_fast qlen 3
    link/ppp
    inet 10.1.3.103 peer 10.0.31.18/32 scope global ppp0

You can also use ifconfig -a command, enter:
$ ifconfig -a
Output:

eth0      Link encap:Ethernet  HWaddr 00:19:D1:2A:BA:A8
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::219:d1ff:fe2a:baa8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15819 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27876 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1695948 (1.6 MB)  TX bytes:40399983 (38.5 MB)
          Base address:0x1000 Memory:93180000-931a0000 

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11943 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11943 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7024449 (6.6 MB)  TX bytes:7024449 (6.6 MB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.1.3.103  P-t-P:10.0.31.18  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:34922 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15764 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:50535608 (48.1 MB)  TX bytes:1256881 (1.1 MB)

ra0       Link encap:Ethernet  HWaddr 00:17:9A:0A:F6:44
          inet addr:192.168.1.106  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::217:9aff:fe0a:f644/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:73809 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31332 errors:1 dropped:1 overruns:0 carrier:0
          collisions:27 txqueuelen:1000
          RX bytes:61373519 (58.5 MB)  TX bytes:5007190 (4.7 MB)
          Interrupt:20

Read more

Share

IIS 6 Metabase Error on Restoration or Migration

If you are trying to restore IIS and receive an Invalid Signature error trying to restore the IIS Metabase you must make a small tweak to ensure you can restore the IIS Metabase to another windows server. What probably happened is that you created a backup to the c:\windows\system\inetsrv folder and copied it to the new server and tried to restore IIS but you get Invalid Signature. The problem is that you didn't set a password so the backup is not portable. So simply redo your work. Create a new backup of the IIS Metabase and choose the option to "Encrypt Backup Using Password" and assign it a password. Then recopy the backup configurtion to the new server in the c:\windows\system32\inersrv folder. Then retry to restore IIS and point to your copied backup files. This time it will ask for a password and will restore IIS successfully.

Share

How to upgrade PHP 5.2 Centos

Method-1

This guide describes how to upgrade the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.2.x. These instructions were created using CentOS 5.3 32-bit and with the following PHP packages installed:

# rpm -qa |grep php

 php-common-5.1.6-15.el5.i386
 php-cli-5.1.6-15.el5.i386
 php-5.1.6-15.el5.i386
 php-pdo-5.1.6-15.el5.i386
 php-bcmath-5.1.6-15.el5.i386
 php-ldap-5.1.6-15.el5.i386
 php-devel-5.1.6-15.el5.i386
 php-gd-5.1.6-15.el5.i386
 php-xml-5.1.6-15.el5.i386
 php-mbstring-5.1.6-15.el5.i386
 php-mysql-5.1.6-15.el5.i386
 php-dba-5.1.6-15.el5.i386

As long as you’re using the standard PHP packages on your CentOS server you won’t need to do anything extra. If you’re using extra PHP packages that aren’t part of the standard CentOS repositories (like php-mcrypt) you’ll have to remove them or find updated versions of them.

Add the development repositories

First thing we need to do is add the development repositories to yum. When we add the development repository we’re going to configure it so it only pulls PHP packages. To start we’ll need create a new yum repository configuration file (use your favorite editor):

 # /etc/yum.repos.d/CentOS-Testing.repo

Copy/paste the following into this file:

  # CentOS-Testing:
  # !!!! CAUTION !!!!
  # This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
  # They may or may not replace core CentOS packages, and are not guaranteed to function properly.
  # These packages build and install, but are waiting for feedback from testers as to
  # functionality and stability. Packages in this repository will come and go during the
  # development period, so it should not be left enabled or used on production systems without due
  # consideration.
  [c5-testing]
  name=CentOS-5 Testing
  baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
  enabled=1
  gpgcheck=1
  gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
  includepkgs=php*

Make sure to remove any spaces at the start of each line, then save and close the file and you’re done.

Read more

Share

সুন্দরবনের কলাগাছিয়া

পশ্চিম সুন্দরবনের সাতক্ষীরা রেঞ্জের অধীন বুড়িগোয়ালিনী স্টেশনের কাছেই বনবিভাগের উদ্যোগে গড়ে তোলা হয়েছে কলাগাছিয়া ইকো- টু্যরিজম কেন্দ্র। সুন্দরবনের পরিবেশকে ঠিক রেখে পর্যটকদের বন ভ্রমণের জন্য নানান সুযোগ-সুবিধা বাড়ানোর পাশাপাশি বন্যপ্রাণী দেখারও ব্যবস্থা রয়েছে এখানে। যারা মংলার কাছে করমজল ইকো-টু্যরিজম কেন্দ্র দেখেছেন, এ জায়গাটি তাদের কাছে আরো বেশি সাজানো-গোছানো ও সুন্দর মনে হবে।

ইকো-টু্যরিজম কেন্দ্রের জেটি বেয়ে উপরে উঠে একটু সামনেই এর প্রবেশপথ। শুরুতেই গোলাকার বিশ্রাম ছাউনি হাতের বাঁয়ে রেখে ইট বাঁধানো সরু পথে চলতে চলতে ছোট কাঠের সেতুটি পেরিয়ে শুরু হয়েছে ঘন জঙ্গলের ভেতরে দীর্ঘ কাঠের তৈরি হাঁটাপথ (ওয়াকওয়ে)। দু'পাশে গরান আর খাইলশা গাছের প্রাধান্যই বেশি। এ সময়ে (এপ্রিল, মে) এ দুই ধরনের গাছ থাকে ফুলে ফুলে ভরা। এ পথে হাঁটতে তাই নাকে ছোঁয়া দিয়ে যাবে বনফুলের সুগন্ধি। কাঠের সেতুর নিচে জোয়ার-ভাটায় ভেজা মাটিতে গজিয়ে ওঠা লাখো শ্বাসমূল ভাটার সময় দেখা গেলেও জোয়ারের সময় ডুবে থাকে জলের নিচে। বনের মধ্যে অাঁকাবাঁকা ওয়াকওয়ে ধরে হাঁটতে হাঁটতে দেখা মিলতে পারে নানান পাখি, বন মোরগ, বানর, হরিণ কিংবা অন্যকোনো বন্যপ্রাণী। এদের কতটা দেখা মিলবে তা কিন্তু নির্ভর করবে আপনার উপরেই। সামান্যতম হৈচৈ কিংবা উচ্চস্বরে কথাবার্তা বন্যপ্রাণীদের খুবই বিরক্ত করে। শুধু তাই নয়, এখানে কিন্তু মামাও (বাঘ) আসেন মাঝে মধ্যে। তাকে দেখা কিন্তু ভাগ্যের ব্যাপার!

কাঠের সেতুটি যেখানে শেষ, তার একটু আগেই হাতের বাঁ দিকে রয়েছে একটি মিঠাজলের পুকুর। এখানে বন্যপ্রাণীরা বিশেষ করে বানর, হরিণের দল জলপানে আসে। এ রকম আরো একটি পুকুর আছে এ ভ্রমণ কেন্দ্রের একেবারে শুরুতে, হাতের ডানে। এখানেও এরা পানি খেতে আসে।

Read more

Share

Error installing iscsi initation 2.00 on windows 2000 server

1- create a batch file containing the following commands:

net stop winmgmt
c:
cd %systemroot%\system32\wbem
rd /S /Q repository

regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll

mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s
echo DONE reboot
pause

 

2- restart the machine 
3- reinstall. It should now complete the setup successfully
4- continue with iSCSI configuration

the steps mentioned above solved my problem. I hope it helps you as well

Share