Monday, 10 December 2012

libc.so.1: version `SUNW_1.22.7' not found (Fixed)

    I faced this problem when I'm installing rsync on  Oracle Solaris 10 9/10 s10x_u9wos_14a X86. Even installed the all of the dependencies packages of rsync, errors is still there. And I tried to get solution from some of the forum but they said this is the major Bug and all are advised to patching or upgrade to Oracle Solaris 10 8/11 s10x_u10wos_17b X86. This error made me sick a few days :)
    But Finally I fixed the problem without patching and upgrading.

Solution :
    Don't install the "rsync-3.0.9-sol10-x86-local.gz" and Download the " rsync-3.0.9.tar.gz" and compile the package yourself then install it.

Here is the step by step how I fixed the problem >>>>

Requirements Packages.

rsync-3.0.9.tar.gz
popt-1.16-sol10-x86-local.gz
libiconv-1.14-sol10-x86-local.gz
libintl-3.4.0-sol10-x86-local.gz
libgcc-3.3-sol10-intel-local.gz
gcc-3.3.2-sol10-intel-local.gz
make-3.82-sol10-x86-local.gz

All of the packages can be download at www.sunfreeware.com

Installations Dependencies
popt-1.16-sol10-x86-local.gz

#gunzip popt-1.16-sol10-x86-local.gz
#pkgadd -G -d popt-1.16-sol10-x86-local
-------------------
libiconv-1.14-sol10-x86-local.gz

#gunzip libiconv-1.14-sol10-x86-local.gz
#pkgadd -G -d libiconv-1.14-sol10-x86-local
-------------------
libintl-3.4.0-sol10-x86-local.gz

#gunzip libintl-3.4.0-sol10-x86-local.gz
#pkgadd -G -d libintl-3.4.0-sol10-x86-local
-------------------
libgcc-3.3-sol10-intel-local.gz

#gunzip libgcc-3.3-sol10-intel-local.gz
#pkgadd -G -d libgcc-3.3-sol10-intel-local
-------------------
gcc-3.3.2-sol10-intel-local.gz

#gunzip gcc-3.3.2-sol10-intel-local.gz
#pkgadd -G -d gcc-3.3.2-sol10-intel-local
-------------------

After Installation, Check Library path

#ldd /usr/local/bin/gcc
        libc.so.1 =>     /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2

#which gcc
no gcc in /usr/sbin /usr/bin   <<<------If Not Found

If not found, Add below two line in the /etc/profile with editing command "#gedit /etc/profile" or "vi /etc/profile"
PATH="$PATH:$HOME/bin:/usr/sbin:/usr/bin:/usr/local/bin:/lib/amd64:/lib:/usr/local/lib:"
export PATH

Recheck Library gcc

# which gcc
/usr/local/bin/gcc

Installation Make and Rsync

make-3.82-sol10-x86-local.gz

#gunzip make-3.82-sol10-x86-local.gz
#pkgadd -G -d make-3.82-sol10-x86-local
-------------------

#gunzip rsync-3.0.9.tar.gz
#tar xvf rsync-3.0.9.tar
#cd rsync-3.0.9.tar
#./configure
#make <<<<---------------- If Face with error check with exception step
#make install

Exception Step

Go to under below folder and execute mkheaders
#cd /usr/local/lib/gcc-lib(or)gcc/i386-pc-solaris2.10/3.3.2/install-tools
Execute the "mkheaders" file
#./mkheaders

Go back to under rsync folder and follow below step
#make clean
#./configure
#make
#make install

Checking installation of Rsync

# which rsync
/usr/local/bin/rsync

#rsync -v
rsync  version 3.0.9  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.

# rsync -v <<<---------- If Face with error, follow step
ld.so.1: rsync: fatal: libiconv.so.2: open failed: No such file or directory
Killed

Check libiconv.so.2 path and copy into /lib folder

# pkgchk -LP libiconv |grep libiconv.so.2
/usr/local/lib/libiconv.so=libiconv.so.2.5.1 s none SMCliconv
/usr/local/lib/libiconv.so.2=libiconv.so.2.5.1 s none SMCliconv
/usr/local/lib/libiconv.so.2.5.1 f none 0755 bin bin 981967 8854 1334657763 SMClico

Copy the /usr/local/lib/libicopvs /usr/lib/libc.so.1nv.so.2 file under /lib folder

# cp /usr/local/lib/libiconv.so.2 /lib

Now you can successfully installed the rsync and ready to use !!!

You can check "SUNW_1.22.7" is still missing but now rsync is working well.. :)

#  pvs /usr/lib/libc.so.1
        libc.so.1;
        SUNW_1.23;
        SUNW_1.22.6;
        SUNW_1.22.5;
        SUNW_1.22.4;

So If you get this error when you are installing the other packages on Oracle Solaris 10 9/10 s10x_u9wos_14a X86, you should compile the package by yourself and install it. And don't forget to install the other dependencies packages. For me, "wget" installation also fixed with manually compiling.

Have a Nice Day .. :)

>>

UTEE



Wednesday, 17 October 2012

Getting Performance Result of Your Server (Shared, VPS, Dedicated or Cloud)



Server တလံုးရဲ့ Performance, I/O, Bandwidth, Monthly Cost..  ေတြ ဆိုတာ ဂ႐ုမစိုက္လို႕ မရဘူးဗ်.. ကိုယ္ရဲ့ လိုအပ္ခ်က္နဲ႕ Server က support ေပးႏိုင္မႈကို ခ်ိန္ကိုက္ အသံုးျပဳမယ္ဆိုရင္ေတာ့ End-User ကို အေကာင္းဆံုး support ေပးႏိုင္မွာပါ.

ဒီမွာေတာ့ ကိုယ္ရဲ့ လက္ရွိ Server က တျခား Server/host ေတြနဲ႕ဆိုရင္ဘယ္ေလာက္ ကြာတယ္ဘာညာကို တိုင္းတာဖို႕  ဒီ Benchmark  ဆိုတဲ့ script ကိုသံုးျပီး ခ်ိန္ကိုက္ၾကည့္ပါမယ္.. Result ထြတ္လာျပီးရင္ေတာ့ ကိုယ္ရဲ့ I/O Resource ေတြက လိုအပ္ခ်က္နဲ႕ ကိုက္ညီမႈ ရွိမရွိ ကို တိုင္းတာ ဆုံးျဖတ္ ႏိုင္ျပီေပါ့

ကိုယ္ဟာ Performance, I/O, Bandwidth, Monthly Cost.. စတဲ့ လိုအပ္ခ်က္ ေတြနဲ႕ Server တခု တည္ေထာင္ ေတာ့မယ္ ဆိုရင္လဲ ဘယ္ hosting ဘယ္ type  က ကိုယ္ရဲ့ လိုအပ္ခ်က္နဲ႕ ကိုက္ညီ ႏိုင္ မလဲဆို တာကို ဒီေနရာမွာ ေယဘူယ် ၾကည့္ႏိုင္ ပါတယ္...

 ကဲ စျပီး Run ဖို႕ အတြက္ Script  ကို ဒီ Link ကေန Download လုပ္လိုက္ပါ..



 ျပီးရင္ မိမိ Run မဲ့ Server  ေပၚ upload လုပ္ပါ ျပီးရင္ Package ကို Unzip လုပ္ပါမယ္..


ျပီးရင္ script ကို execute လုပ္လို႕ရေအာင္ permission ကို change ေပးရပါမယ္..
# cd Crowd9-Benchmark-4ccfe8a/
# chmod +x *


Script ကို စ Run  ပါမယ္..
 # ./sb.sh 'localhost' 'testbenchmark' 'yourmail@mail.com' '\\$100/mth'
localhsot = your hostname
testbenchmark = description of server name
yourmail@mail.com = your email address
\\$100/mth = Monthly Cost


Script ကို စျပီး Run လုပ္လိုက္တာနဲ႕ Server ေပၚမွာ Script အတြက္ လိုအပ္ Package ေတြကိုသူ႕ဟာသူ Install  လုပ္ပါလိမ့္မယ္..
Note : Running Time ကေတာ့ နာရီနဲ႕ကို ခ်ီျပီး ၾကာပါလိမ့္မယ္..
Note : Result (Online/txt) ကို Script Run တုန္းက ထည့္ခဲ့တဲ့ Email Address ဆီကို sent ပါလိမ့္မယ္


သင့္ရဲ့ Server BenchMark  က ဘယ္ေလာက္ရွိလဲ ... ???? :)

>>

UTEE


Ref : http://serverbear.com/
      : https://github.com/Crowd9/Benchmark




Tuesday, 25 September 2012

Installation of Hyperic Application & System Monitoring



သင့္ရဲ့  virtual, physical, and cloud infrastructures ေတြရဲ့ အမ်ိဳးမ်ိဳးေသာ availability, performance, utilization, and throughput ေတြအတြတ္ Monitoring  လုပ္ဖို႕ အသံုး ျပဳပါတယ္

Description
Hyperic is application monitoring and performance management for virtual, physical, and cloud infrastructures. Auto-discover resources of 75+ technologies, including vSphere, and collect availability, performance, utilization, and throughput metrics.



Features

  • vSphere auto-discovery of all components of virtualized applications
  • Automatically discovers, monitors, and manages software and network resources
  • Monitors apps on any platform, including Unix, Linux, Windows, Solaris, AIX, HPUX, VMware, and Amazon Web Services
  • Built-in support for 75 common components—including databases, application servers, middleware, web servers, network devices and more
  • Optimized for virtual environments with integration with vCenter and vSphere
Requirements

  • 1GHz or higher Pentium 4, or equivalent (2x2.4GHz Pentium Xeon or equivalent recommended)
  • 1GB RAM (4 or more GB recommended)
  • 1-5GB free disk space
  • Supported Operating System [Linux, Solaris 10 or higher, Mac OS X(Intel x86), Window 2003 Server, Window 2008 Server, Window 2008, Window Vista, Windows 7]
  • Oracle Java JDK 7 update 04
  • VMware vFabric Hyperic 4.6.6 Server and Agent
  • Supported Database Product [MySQL, Orcale, PostgreSQL] and can use the build-in database for production deployments
Notes: For Linux, Unix-based platforms, the libxp.so.6 X library is required.

Download Link
http://www.hyperic.com/hyperic-open-source-download

ဒီမွာေတာ့ Centos 6 (64bit)  ေပၚမွာ Install လုပ္ပံုကို ေဖာ္ျပမွာျဖစ္ပါတယ္..

Current OS Setting
  • CentOS 6 (64 bit)
  • i7 CPU 950 @ 3.07GHz
  • 2GB RAM
  • 30GB HDD
  • 100 MBps Network Cards
  • java-1.6.0-openjdk-devel-1.6.0.0-1.45.1.11.1.el6.x86
Notes: OS virtually installed on ESXi .

အရင္ဆုံး OS installation ျပီးျပီ ဆိုတာနဲ႕ Update လုပ္ဖို႕ မေမ့သင့္ပါ
#yum update

လိုအပ္တဲ့ Packages ေတြကို Download လုပ္ျပီး Server ရဲ့ အဆင္ေျပတဲ့ ေနရာမွာ ခဏ တင္ထားပါမယ္.. ဒီမွာေတာ့ /mnt မွာထားပါတယ္..


လိုအပ္တဲ့ libxp library  ကို install လုပ္ပါမယ္
#yum install libXp


User တခု Add ပါမယ္.. Username: hyperic | Home Directory location: /home/hyperic
#useradd hyperic


ျပီးေနာက္ အေစာက /mnt ေအာက္က packages ေတြကို hyperic user ရဲ့ home directory (/home/hyperic) ေအာက္ထဲကို ေရႊ႕လိုက္ပါမယ္...
#mv /mnt/* /home/hyperic


 Packages ေတြရဲ့ Owner ကို Hyperic user သို႕ change ေပးပါ
#chown hyperic:hyperic *


package ေတြကို extract လုပ္ပါမယ္..
#tar -zxvf hyperic-hq-installer-4.6.6-x86-64-linux.tar.gz
#tar -xvf hyperic-hq-agent-4.6.6-x86-64-linux.tar



စျပီး Server ကို install လုပ္ပါမယ္
#cd hyperic-hq-installer-4.6.6
#./setup.sh


Note: ဒီမွာေတာ့ Default Build-in Database နဲ႕ပဲ အသံုးျပဳမွာ ဆိုေတာ့ Script  အေနာက္မွာ ဘာ option  မွမပါပဲ install လုပ္ပါတယ္. အကယ္၍ database ကို mysql သံုးမယ္ဆိုရင္ေတာ့ option အေနနဲ႕ -mysql ဆိုျပီး run လုပ္ရပါမယ္ (#./setup.sh -mysql) MySql server ကို install လုပ္ျပီး database ကို create လုပ္ထားဖို႕ေတာ့လိုပါမယ္.. Default မသံုးဘူး တျခား database နဲ႕ အသံုးျပဳမယ္ဆိုရင္ေတာ့ link ပါ PDF မွာ ဆက္လက္ ၾကည့္ပါရန္..

Script ကို run လိုက္ျပီဆိုတာနဲ႕ ေအာက္က steps ေတြအတိုင္း သြားပါမယ္ ..

##########
[hyperic@centos02 hyperic-hq-installer-4.6.6]$ ./setup.sh
Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs...
Taskdefs loaded
Initializing Hyperic HQ 4.6.6 Installation...
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1
HQ server installation path [default '/home/hyperic']:
/home/hyperic/hyperic-hq-installer-4.6.6
Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default '192.168.1.138']:
enter
Enter the email address that HQ will use as the sender for email messages [default 'hqadmin@168.1.138']:
enter
Choices:
        1: Yes
        2: No
Would you like to use an auto generated encryption key to encrypt the database password? [default '1']:
enter
What should the username be for the initial admin user? [default 'hqadmin']:
enter
What should the password be for the initial admin user?: type password
(again): type password
What should the email address be for the initial admin user? [default 'hqadmin@168.1.138']:
enter
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Unpacking server to: /home/hyperic/hyperic-hq-installer-4.6.6...
Creating server configuration files...
Using "small" installing profile...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server db-upgrade files...
Copying server libs...
Setting up server database...

Now login to another terminal as root and execute this script:

    /home/hyperic/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh


This script sets up the proper shared memory settings to run the
built-in database.

Press Enter after you run the script to continue this installation.


ဒီေနရာမွာ enter ႏွိပ္ျပီး ဆက္ မသြားေသးပဲ တျခား terminal  တခု ဖြင့္ျပီး root user နဲ႕ ဒီ /home/hyperic/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh ကို ေပးရပါမယ္
# sh /home/hyperic/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh


 Root user နဲ႕ script ကို run ျပီး ဆိုရင္ေတာ့ install လုပ္ေနတဲ့ terminal ကိုျပန္သြားျပီး enter ႏွိပ္ေပးရပါမယ္.. သူ႕ဟာသူ လိုအပ္ သလို လုပ္ေဆာင္ သြားပါလိမ့္မယ္..

Setting up JDBC driver...
Copying database files...
Configuring database...
Loading taskdefs...
Taskdefs loaded
Starting repopulation of configuration table...
Waiting for built-in database to start (on port 9432)...
Starting built-in database...
Preparing database...
Loading taskdefs...
Taskdefs loaded
Loading taskdefs...
Taskdefs loaded
Loading taskdefs...
Taskdefs loaded
Waiting for server to stop...
Stopping built-in database...
Built-in database stopped.
Installing the server JRE ...
Unpacking JRE amd64-linux-1.6_30.tar.gz to: /home/hyperic/hyperic-hq-installer-4.6.6/server-4.6.6...
Setting permissions on /home/hyperic/hyperic-hq-installer-4.6.6/server-4.6.6...
Setting permissions on server binaries...
Fixing line endings on text files...
--------------------------------------------------------------------------------
Installation Complete:
  Server successfully installed to: /home/hyperic/hyperic-hq-installer-4.6.6/server-4.6.6
--------------------------------------------------------------------------------


 You can now start your HQ server by running this command:

  /home/hyperic/hyperic-hq-installer-4.6.6/server-4.6.6/bin/hq-server.sh start (server  ကို run ရန္ script location)

 Note that the first time the HQ server starts up it may take several minutes
 to initialize.  Subsequent startups will be much faster.

 Once the HQ server reports that it has successfully started, you can log in
 to your HQ server at:
(Server ကို Access လုပ္ရန္ Information)
  http://192.168.1.138:7080/
  username: hqadmin
  password: xxxxxxxx


 To change your password, log in to the HQ server, click the "Administration"
 link, choose "List Users", then click on the "hqadmin" user.

Setup completed.
A copy of the output shown above has been saved to:
  /home/hyperic/hyperic-hq-installer-4.6.6/installer/logs/hq-install.log

Deleting temporary JRE
##########
ဒါဆို ရင္ေတာ့ Hyperic Server Installation  ျပီးသြားပါျပီ..
ဆက္လက္ျပီး Hyperic Agent ကို Install လုပ္ပါမယ္..

Server Install လုပ္တုန္းက script ကိုပဲျပန္ run ပါမယ္
#cd hyperic-hq-installer-4.6.6
#./setup.sh

#############
[hyperic@centos02 hyperic-hq-installer-4.6.6]$ ./setup.sh
Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs...
Taskdefs loaded
Initializing Hyperic HQ 4.6.6 Installation...
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
2
HQ agent installation path [default '/home/hyperic']:
/home/hyperic/hyperic-hq-agent-4.6.6
Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating agent install configuration...
Installing the agent...
Looking for previous installation
Unpacking /home/hyperic/hyperic-hq-installer-4.6.6/hyperic-hq-agent-4.6.6-x86-64-linux.tar.gz to: /home/hyperic/hyperic-hq-agent-4.6.6/agent-4.6.6...
Setting permissions on /home/hyperic/hyperic-hq-agent-4.6.6/agent-4.6.6...
Setting permissions on agent binaries...
Fixing line endings on text files...
--------------------------------------------------------------------------------
Installation Complete:
  Agent successfully installed to: /home/hyperic/hyperic-hq-agent-4.6.6
--------------------------------------------------------------------------------
You can now start your HQ agent by running this command:

       /home/hyperic/hyperic-hq-agent-4.6.6/agent-4.6.6/bin/hq-agent.sh start ( agent ကို run ရန္ script ပါ )
Setup completed.
A copy of the output shown above has been saved to:
  /home/hyperic/hyperic-hq-installer-4.6.6/installer/logs/hq-install.log

Deleting temporary JRE
############
Hyperic Agent ကို Installation ျပီးပါျပီ..

Server  နဲ႕ Agent  ကို အခ်ိတ္အဆက္ လုပ္ပါမယ္..

အရင္ဦးဆုံး Server ကို run ပါမယ္..
# sh /home/hyperic/hyperic-hq-installer-4.6.6/server-4.6.6/bin/hq-server.sh start


ျပီးရင္ Agent ကို configure လုပ္ဖို႕ Agent Script ကို ပါမယ္..

#sh /home/hyperic/hyperic-hq-agent-4.6.6/agent-4.6.6/bin/hq-agent.sh start

############
[hyperic@centos02 /]$ sh  /home/hyperic/hyperic-hq-agent-4.6.6/agent-4.6.6/bin/hq-agent.sh start
Starting HQ Agent...... running (5530).
[ Running agent setup ]
What is the HQ server IP address: 127.0.0.1 ( Server ေရာ Agent ေရာ တေနရာထဲမွာ တင္ေတာ့ Server ကို 127.0.0.1  ပဲ type ပါမယ္)
Note: Agent ကို တျခား Machine တေနရာမွာ တင္ျပီး ခ်ိတ္ဆက္ ဖို႕ support မေပးေသးပါ
Should Agent communications to HQ always be secure [default=yes]: enter
What is the HQ server SSL port [default=7443]: enter
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]: enter
What is your HQ password: type password
What IP should HQ use to contact the agent [default=192.168.1.138]: enter
What port should HQ use to contact the agent [default=2144]: enter
- Received temporary auth token from agent
- Registering agent with HQ
The server to agent communication channel is using a self-signed certificate and could not be verified
Are you sure you want to continue connecting? [default=no]: yes
- HQ gave us the following agent token
    1348630693911-7668705443229188126-6509605970126664619
- Informing agent of new HQ server
- Validating
- Successfully setup agent
##################
Hyperic Server and Agent Installation ျပီးဆုံး ပါျပီ..

Hyperic Server ကို Restart လုပ္ေပးလိုက္ပါ..
# sh /home/hyperic/hyperic-hq-installer-4.6.6/server-4.6.6/bin/hq-server.sh restart

ျပီးေနာက္ Web-browser  မွာ server ip port 7080  နဲ႕ browse လုပ္ျပီး အေစာက server installation တုန္းက username password နဲ႕ ဝင္ျပီး အသံုး ျပဳႏိုင္ပါျပီ..



  ဒီ server ကေန ဥပမာ network router  တလုံးကို monitoring လုပ္မယ္ဆိုရင္ေတာ့ ထို router မွ snmp support လုပ္ဖို႕ေတာ့ လိုအပ္ ပါမယ္
hyperic က snmp version 1, 2, 3 support ေပးပါတယ္..

Server မွာ Resource Add တာေတြ Server Function ေတြကိုေတာ့ ကိုယ္ဟာကို စမ္းေစ ခ်င္ပါတယ္ .. (တကယ္ေတာ့ က်ေနာ္လဲ Fully မစမ္း ရေသး လို႕ပါ .. :D)


>>

UTEE


Ref : http://www.hyperic.com/
        https://support.hyperic.com/download/attachments/77004927/vFabric_Hyperic_4.5_Installation_and_Configuration.pdf



Thursday, 20 September 2012

Useful Tricks and Command of Linux !!

Hi Guys,

I founded some of the shortcut, command and tricks for linux. So I wanna share with you. Check it out below..

1.) Ctrl+U and Ctrl+Y.
Do you know that moment when you’re typing a long command, and then suddenly realize you need to execute something else first? Especially when working over an SSH connection, when you can’t easily open a second terminal on the same machine, this can be very annoying. Solution: ensure your cursor is at the end of your current command (shortcut: Ctrl+E), press Ctrl+U to get a clean line, type the other command you need to execute first, execute it, then press Ctrl+Y and voila! Your long command is back on the line. No mouse needed for copying, just quick hotkeys.

2.) Ctrl+R.
Speaking of long commands: when you need a previously used command again but don’t want to retype it because it’s long or complex, there’s a good chance it’s stored in your history file. The quickest way to retrieve and execute it is to press Ctrl+R and type a few characters that are part of your command. For example:
for pid in $(pidof plugin-container); do file /proc/”$pid”/fd/* |
fgrep /tmp/Flash | cut -d: -f1 | xargs mplayer; done
Now that’s a command that I wouldn’t like to type every time I use it. It’s a one-liner to play the temporary media files Flash secretly stores when you play, for example, a YouTube movie. When I want to execute this monster, I only type the following:
Ctrl+R
“pidof”
Enter
The stuff between quotes is literally typed, as in I press p, then i, and so on. The reason this works is that I almost never use the pidof command except in this one-liner, so the most recent command executed that contains “pidof” is almost always the right one. However, suppose I did recently execute a different command containing “pidof”. By repeatedly pressing Ctrl+R after typing “pidof” but before pressing Enter, I can cycle through the list of commands until I hit the one I meant to execute, and then press Enter. And, last but not least, you can still edit the command you found using Ctrl+R before hitting Enter; just press the right or left arrow to get out of the history search mode, and edit away!

3.) The screen command.
When working over an ssh connection, commands that take long to execute can seriously get in your way. You have to keep the connection open to allow the command to complete, which means that you can’t turn off your computer, and you can’t execute a different command without opening a second ssh connection or (temporarily) terminating the running command. Both annoyances melt away when you use screen.
The screen command allows you to run multiple terminal sessions inside a single terminal session, and manage the multiple sessions using hotkeys. Try it! Just execute “screen” in your terminal (install it first if necessary) and see an empty terminal opening. Now execute the command “sleep 9999″. This will take quite long and block your terminal. However, if you press Ctrl+A, let go of the keys, and then press C, you will get a fresh new terminal ready to take commands. The sleep command on the other terminal keeps running without being interrupted. To cycle between the two open terminals, use Ctrl+A N for next and Ctrl+A P for previous (remember to let go of all keys after pressing Ctrl+A). Finally, to shut down screen without interrupting the commands that are running, press Ctrl+A D for detach. You will return to your original terminal, and if it’s an ssh session, you can exit it without interrupting the commands running in screen. To get back to the screen terminals you opened before, execute “screen -R” for reattach. To exit a screen session, just exit all terminals in it as you would normally exit terminals (Ctrl+D).
For more information about screen, read its man page by executing “man screen”. It’s a very powerful tool that even allows multiple people to use a single terminal at the same time!

4.) The xargs command.
Whenever you want to execute a command on multiple files, or for every line of a certain file, xargs is the first tool to look at. Here’s an example:
find . -iname ‘*.php’ -print0 | xargs -0 svn add
Anyone who has ever worked with a version control system like svn probably knows the annoyance of having to svn add every newly created code file after a few hours of editing. This command does it for you in an instant. How does it work?
  1. “find . -iname *.php -print0″ prints all files in the current directory (“.”) or its subdirectories that end in .php (case-insensitive) and separates them by null characters (“-print0″). The null character is never used in filenames, while a newline may be, so it is safer to separate by null characters.
  2. “xargs -0 svn add” receives the output of find on its standard input through the pipe (“|”), separates it by null characters (“-0″) and feeds the filenames as arguments to svn, after the “add” argument. It minds the limits the system imposes on the amount and size of command line arguments, and will run svn multiple times as necessary while still invoking it as few times as possible.
To find out more about xargs, read the man page by executing “man xargs”. Using xargs is safer and more versatile than using the -exec option of find. For ultimate versatility, however, use the slightly less elegant for loop, which is described in the second part of this list.

5.) Using bash as a simple calculator.
Sometimes you need to quickly do a calculation that is too large or too important to do using your head. When you’re working in a graphic environment, you might just fire up kcalc or gcalctool, but tools like that may not always be available or easy to find. Fortunately, you can do basic calculations within bash
itself. For example:
echo $((3*37+12)) # Outputs 123
echo $((2**16-1)) # Two to the power of sixteen minus one; outputs 65535
echo $((103/10)) # Outputs 10, as all these operations are integer
arithmetic
echo $((103%10)) # Outputs 3, which is the remainder of 103 divided by
10
The $((something))-syntax also allows bitwise operations, and as such it interprets the caret (“^”) as a bitwise operator. That’s why “**” is used for “to the power of”. The syntax also supports showing the decimal equivalent of a hexadecimal or octal number. Here’s an example:
echo $((0xdeadbeef)) # Outputs 3735928559
echo $((0127)) # Outputs 87
For more information, read the bash man page using “man bash” and search (using the / key) for “arithmetic evaluation”. If you want to do floating point calculations, you can use bc (might need to install first):
echo ‘scale=12; 2.5*2.5′ | bc # Outputs 6.25
echo ‘scale=12; sqrt(14)’ | bc # Outputs 3.741657386773
Note the setting of the scale variable. Using bc, you can perform floating point operations with any precision you like. The scale variable controls the amount of decimals behind the dot that are calculated. I used 12 here because kcalc uses that amount by default, but you can increase or decrease it as you like. Find out more about what bc can do by executing “man bc”. It even supports more advanced mathematical functions, such as the arctangent or the natural logarithm.

6.) Quoting.
To allow you to write awesome scripts, bash attaches a special meaning to many characters (like * & ; | { ! < [ # and a lot more). Sometimes, however, these characters are not to be interpreted in any special way, but just to be passed unmodified to some command. A commonly used example:
find . -iname '*.conf'
Notice the single quotes around "*.conf". What if I forgot those? Bash would interpret the *.conf as a glob expression and expand it to all files ending in .conf in the current directory. This could prevent find from looking for all .conf files in subdirectories, causing unexpected results. Therefore, it's a good habit to always quote anything that might contain special characters.
Note that only single quotes prevent every character from being interpreted; double quotes still allow bash to interpret some characters. When working with variables, double quotes come in handy to prevent word splitting. This is often used in scripting. An example:
#!/bin/bash
# This script renames a file to lowercase
newname="$(echo -n "$1" | tr '[A-Z]‘ ‘[a-z]‘)”
mv -i “$1″ “$newname”
You can see quite a lot of double quotes in this script, and all of them are necessary to prevent trouble with certain filenames. You see, when a filename contains whitespace, bash splits the name on that whitespace when you leave variables unquoted. Suppose you have a file named “spaced name.txt”, you put it in a variable (“filename=’spaced name.txt’”), and then you try to move it to “unspacedname.txt” by executing “mv $filename unspacedname.txt”. You’ll get the error “mv: target `unspacedname.txt’ is not a directory”. This is because mv gets executed like this: “mv spaced name.txt unspacedname.txt”. In other words, mv will try to move two files, “spaced” and “name.txt” to “unspacedname.txt”, and fail because moving multiple files to a single destination is only allowed when the destination is a directory. Putting double quotes around “$filename” solves this issue.
So you see, quoting is a good habit to prevent your commands and scripts from doing unexpected things. Two final notes: you can’t quote variables using single quotes, because the dollar sign loses its special meaning between single quotes, and if you ever need to use a literal single quote in some command, you can do so by putting it between double quotes. Using \’ between single quotes will not work, because even the backslash it not interpreted between single quotes.

7.) For loops.
Using xargs, you can run a command on a list of files. However, sometimes you’ll want to use more advanced functionality of bash on a list of files. For example, you might want to set up a pipe of commands, like this:
# Count the number of while loops in each of the php files in the
current directory
for file in ./*.php; do echo -n “$file”:\ ; grep ‘while’ “$file” | wc
-l; done
Let me explain what happens there part by part:
  1. “for file in ./*.php”: make a list of all the files ending in “.php” in the current directory, and for each of them, run the following code with the variable “$file” set to the filename.
  2. “do … done”: indicates the beginning and end of the code inside the for loop. Note that both of them have to start on a new line, which is why the semicolons are there. They count for starting a new line.
  3. “echo -n “$file”:\ “: print the filename, followed by a colon and a space, but not a newline (the “-n” option suppresses the default extra newline). The backslash makes sure the space is actually printed and not eaten away by bash.
  4. “grep ‘while’ “$file” | wc -l”: grep reads the file and prints only the lines containing the word “while”. These lines are piped to
    “wc -l”, which counts the amount of lines (word count with option lines).
As you can see, you can easily place multiple commands within the for loop; every bit of code between “do” and “done” is executed for every file. Imagine the possibilities, especially when you get to know more of the built-in bash functionality. Read on for an example of that.

8.) String manipulation.
There comes a time in the life of every serious bash user when some string manipulation is needed. For example, you might have a number of photos
of which the filenames start with “DSC”, and you’d like to replace that prefix with something more meaningful, like “Vacation2011″. Using a for loop as it was introduced above, you can do this in a flash (pun intended):
for file in DSC*; do mv “$file” Vacation2011″${file#DSC}”; done
How does this work? The for loop runs for every file in the current directory of which the name begins with “DSC”. For every such file, mv is executed to move the file to “Vacation2011<name of the file with DSC stripped from the front>”. The magic that strips “DSC” happens in “${file#DSC}”, where the “#” indicates that the string after it should be removed from the front of the contents of the variable before it. There also exist operations to strip from the back of the string (useful for removing file extensions), to search and replace in a string and to extract substrings. To learn more about string manipulation, visit Manipulating
Strings on TLDP
.

9.) Dynamic port forwarding.
Sometimes you need to access a website that’s only accessible from computers inside a certain network. Or, the other way around, sometimes you are in a certain network and you need unobstructed access to the internet, but some hyperactive firewall is in the way. If you have ssh access to a computer that does have the internet access you need, you can use it as an anonymous tunneling proxy without any additional tools. Just add the following option when you ssh into the server:
ssh -D <port number> user@remotehost
The -D option tells ssh to set up a dynamic port forward on local port <port number>. I like to use port number 1337, but almost any port between 1024 and 65535 will do. When you’ve logged in on the remote server, you can configure your browser to use localhost with the port number you specified earlier as a SOCKS proxy (SOCKS versions 4 and 5 are both supported). This setting is usually found in the same place as the other options for using a web
proxy. In Firefox, look under Preferences => Advanced => Network => Configure how Firefox connects to the Internet. Once you’re browsing over this SOCKS proxy, it will appear to the web as if the host you sshed into is browsing.

10.) Process substitution.
Ever wanted to diff the outputs of two commands quickly? Of course, you could redirect the output to a temporary file for both of them, and diff those files, like this:
find /etc | sort > local_etc_files
find /mnt/remote/etc | sort > remote_etc_files
diff local_etc_files remote_etc_files
rm local_etc_files remote_etc_files
This would tell you the differences between which files are in /etc on the local computer and a remote one. It takes four lines, however. Using process substitution, we can do this is just a single line:
diff <(find /etc | sort) <(find /mnt/remote/etc | sort)
What’s that <(…) syntax? It means “run the command inside it, connect the output to a temporary pipe file and give that as an argument”. To understand this more thoroughly, try running this:
echo <(echo test)
Instead of printing “test”, this will print something like “/dev/fd/63″. You see now that the <(…) part is actually replaced by a file. This file is a stream from which the output of the command inside <(…) can be read, like this:
cat <(echo test)
Now this does print “test”! Bash redirects the output of “echo test” to /dev/fd/<something>, gives the path of that file to cat, and cat reads the output of echo from that file. The shortened diff command above does the same, only for two slightly more complicated commands. This technique can be applied in any place where a temporary file is needed, but it does have a limitation. The temporary file can only be read once before it disappears. There’s no use in saving the name of the temporary file. If you need multiple accesses to the output of a program, use an old-fashioned temporary file or see if you can use pipes instead.

Bonus!
Thought you would only get 10 tricks? Wrong :) ! There’s one more thing I just can’t help but share with you. If you ever (are forced to) work with Windows, you don’t have to miss out on all of these tricks. You can ssh to remote hosts using PuTTY, which is a portable program, and copy files to and from servers with SSH access using WinSCP, which also has a portable version. And, to take it even further, you can use bash on Windows by installing Cygwin!

>>

UTEE


Ref : http://tuts.pinehead.tv/2012/09/13/ten-things-i-wish-i-knew-earlier-about-the-linux-command-line-2/




Sunday, 27 May 2012

Chat ၾကည့္ပါလား Bot နဲ႕...


စျပီး invite လာတုန္းကေတာ့ မသိေသးဘူး ေျပာရင္းေျပာရင္းနဲ႕ ရိပ္မိ လာေတာ့ ဟိဟိ... ပထမေတာ့ Block လုပ္မလို႕ပဲ ဒါေပမဲ့ အျပင္းေျပေပါ့..
ဟိုး အရင္းတုန္းကေတာ့ အျမဲ Block လုပ္ပလိုက္တယ္.. ဒီတခါေတာ့ ဒီအတိုင္းေလးပဲ ထားထား လိုက္မယ္.. :D
တခါ တေလ အလုပ္ကလဲ လုပ္စရာ သိပ္မရွိတဲ့ အခါမ်ိဳး ဒါမွမဟုတ္ တေယာက္ေယာက္နဲ႕ ေဒါသ ထြတ္ေနတဲ့ အခါမ်ိဳးမွာ ဒီလို IM Bot ေတြနဲ႕ ခ်က္ ရတာ အျပင္းလဲေျပတယ္ ေဒါသလဲ ေျပသဗ်... :D

5:33 PM Cecilia: hi :)

11 minutes
5:44 PM me: hi
5:45 PM Cecilia: i miss how it used to be when there was more people on here but oh well, so what's up with u?
 me: what do you mean?
 Cecilia: ah, so my asshole ex-bf cheated on me so i just been going out and meeting new people having a blast, i forgot how fun it was to be single again lol
5:47 PM me: ok ...
 Cecilia: well i was actually about to get on my cam did u wanna cum join me... i found an awesome site that's like a facebook for adults but with cams ;)
 me: sorry.. i don't want :D
5:48 PM Cecilia: i started using it so i couldn't be recorded but it's really fun and i love "putting on a show" if u know what i mean ;) wanna cum see?
5:49 PM me: yes i know.. but I hn't time in chatting...
 Cecilia: yay!! all u gotta do is sign-up but like i said it's 100% free and only takes a sec k?
5:50 PM me: cos go to work and gameing only
  :D
 Cecilia: kk just go to http://mywebcamshow.com/xxxsweetie/cams.php that's my profile page. at the top there u should see a gold button that says "Join Free" see it?
5:51 PM me: btw where from r you?
 Cecilia: k just click that and then all u do is just make ure account and u can start typing to me... i have a private room for us so it's just one on one :)

30 minutes
6:21 PM me: fucking bot... :D
 Cecilia: yeah u do need a card of sum kind but it doesnt get charged and actually if u look you'll see it even says it right there. it's just so they don't get in trouble for any kiddiez
6:22 PM me: and sucking bot
 Cecilia: once u get ure username though u can join the private chat i have for us and we'll be all set :) i can't wait this is gonna be so much fun!!!
6:23 PM me: shit lah
 Cecilia: ok i'm about to get changed into something a lil more "comfortable" for this babe hurry up and i'll brb before u even know i left lol+++++++++++++++++++++++++++++++++ 
10:20 AM Cecilia: hiya!
 me: hi
 Cecilia: hey thanks for the add hun, there's hardly anyone on here anymore to chat with ya know?
10:21 AM me: fuck ..
 Cecilia: i miss how it used to be when there was more people on here but oh well, so what's up with u?
 me: shit at all
10:22 AM Cecilia: ah, so my asshole ex-bf cheated on me so i just been going out and meeting new people having a blast, i forgot how fun it was to be single again lol
 me: bullshit
10:23 AM Cecilia: well i was actually about to get on my cam did u wanna cum join me... i found an awesome site that's like a facebook for adults but with cams ;)
 me: bitch ... go to hell
 Cecilia: i started using it so i couldn't be recorded but it's really fun and i love "putting on a show" if u know what i mean ;) wanna cum see?
10:24 AM me: aww aww interesting ..
 Cecilia: yay!! all u gotta do is sign-up but like i said it's 100% free and only takes a sec k?
10:25 AM me: wow is it real... ??
 Cecilia: kk just go to http://tinyurl.com/7cduemk that's my profile page. at the top there u should see a gold button that says "Join Free" see it?
 me: haha :P
 Cecilia: k just click that and then all u do is just make ure account and u can start typing to me... i have a private room for us so it's just one on one :)
10:26 AM me: u r bot at all.. go to hell :D
 Cecilia: yeah u do need a card of sum kind but it doesnt get charged and actually if u look you'll see it even says it right there. it's just so they don't get in trouble for any kiddiez
10:27 AM me: kwang kwang bullshit bot at all ... :)
 Cecilia: once u get ure username though u can join the private chat i have for us and we'll be all set :) i can't wait this is gonna be so much fun!!!
 me: a
10:28 AM Cecilia: ok i'm about to get changed into something a lil more "comfortable" for this babe hurry up and i'll brb before u even know i left lol
 me: b
 Cecilia: hey u cummin or what babe?? i just got my sexiest lil thong out and was really lookin forward to playin
 me: c
 
 >>

UTEE


Ref : Utee's Chat History .. :D

 

Thursday, 3 May 2012

လြန္စြာမွ အသံုးဝင္ေသာ LINKs ႏွစ္ခု Share ခ်င္ပါတယ္


1) တခါတေလ မိမိ Server မွာ အသံုးျပဳထားတဲ့ SSL Certificate က စိတ္ခ် ရလား Trusted ေရာျဖစ္ ရဲ့လား ဒါမွမဟုတ္ မိမိ သြားေရာက္ လည္ပတ္မဲ့ web address တခုက SSL Certificate ကေရာ စိတ္ခ် ရလား ဘာလား ညာလား Test လုပ္ခ်င္ရင္ေတာ့ ေအာက္က Link မွာ လုပ္ႏိုင္ပါတယ္.. အဲဒီမွာေတာ့ SSL Certificate Key ရဲ့ Bits Rate, Valid Date ေတြက အစ ေဖာ္ျပေပး ပါလိမ့္မယ္...

https://www.ssllabs.com/ssltest/index.html

2) ဒီတခု ကေတာ့ သင့္ Public IP  ရဲ့ characteristics ကို ခ်က္တာပါ ။ အလြယ္ဆိုရင္ေတာ့ သင့္ Public IP က Spam/Worm ေတြ ျဖန္႕ေနတဲ့  ပံုစံ ေတြရွိေနလားဘာလားေပါ့..  လြယ္ကူပါတယ္ သင့္ Public IP ကို box ထဲမွာ ႐ိုက္ထည့္ လိုက္႐ံုပဲ  အကယ္၍ သင့္ Public IP က List ထဲမွာ ဆိုျပီးျပန္ရင္ေတာ့ Remove လုပ္ျပီး သင့္ အဲဒီ IP နဲ႕ အသံုး ျပဳထားတဲ့ Server ကို ကိုျပန္စစ္သင့္ပါတယ္. အကယ္၍ ဒီ IP ကို Gateway/Firewall လိုမ်ိဳး သံုးထားတာ ဆိုရင္ေတာ့ Local တခုလုံးကို စစ္ေပါ့.. က်ေနာ္  ျဖစ္ဖူးတာေတာ့ Marketing ကလူေတြက သူတို႕ Advertise Email ေတြကို Blust လုပ္တဲ့ တခ်ိဳ႕ software ေတြေၾကာင့္လဲ ျဖစ္တတ္တယ္..  Email 500, 1000 ကိုတခါတည္း software ေတြနဲ႕ blust  လုပ္ရင္ ျဖစ္တတ္ပါတယ္ ဒီ Link အေၾကာင္း ေျပာရင္းနဲ႕ အေတြ႕အၾကံု ေလးကိုေျပာျပတာပါ.. Detail ကိုေတာ့ ေဖာ္ျပပါ Link မွာပဲ အေသအခ်ာ ဖတ္လိုက္ပါေတာ့ .. :D

http://cbl.abuseat.org/
To check or remove to your IP on CBL list http://cbl.abuseat.org/lookup.cgi

(သိျပီးသားမ်ား ျဖစ္ရင္ေတာ့ Sorry ပါဗ်ာ ..)
>>

UTEE


Ref : http://www.google.com



Tuesday, 10 April 2012

vCenter Server Linux Virtual Appliance တလုံး Setup လုပ္ျခင္း


      vCenter Server တခုကို စျပီး Setup လုပ္မယ္..

      vCenter Server တခုကို ESXi Server ေပၚသို႕ Deploy/Install လုပ္ပံုကို ဤေနရာ တြင္ ၾကည့္ပါ။

Deploy/Install လုပ္ထား ျပီးသား vCenter Server Image ကို Power-On လိုက္ပါ။

Power-On ျပီးရင္ ေအာက္ကပံု အတိုင္း ျမင္ရပါမယ္..

 

ဤေနရာတြင္ IP information နဲ႕ပတ္သတ္ျပီး Assign လုပ္ရပါမယ္ အကယ္၍ Network ထဲတြင္ DHCP Server  ရွိရင္ေတာ့ DHCP Server က  ဒီ vCenter Server Image အတြတ္ IP information ကို Auto Assign  လုပ္သြားမွာပါ DHCP Server မရွိရင္ေတာ့ IP information ကို ကိုယ္ဟာကို “Configure Network”  ေရြးခ်ယ္ျပီး Assign လုပ္ေပးရပါမယ္.

ဤေနရာတြင္ TimeZone  ကိုလည္း Setup လုပ္ဖို႕ မေမ့ပါနဲ႕  Setup လုပ္ဖို႕ေမ့ခဲ့ရင္ေတာ့ တျခားေသာ ESXi Server  ေတြရဲ့ TimeZone နဲ႕မတူရင္ vCenter Server ထဲကို ESXi Server တလုံးကို Adding လုပ္တဲ့ အခါ အခက္အခဲ ေတြ႕ႏိုင္ပါတယ္..

     IP Information Setup လုပ္ျပီးသြားရင္ေတာ့ vCenter Server ရဲ့ တျခားေသာဟာမ်ားကို Setup လုပ္ဖို႕ အတြတ္ vCenter Serverကို Web-Browser မွ  Access လုပ္ရန္ IP and Port  ကိုေပးပါလိမ့္မယ္
 

ထို IP:port နဲ႕ Web-Browser  မွ server ကို configure လုပ္ဖို႕ Login ဝင္လိုက္ပါ..  vCenter Server Image ရဲ့ Default Username နဲ႕ Password က ေအာက္ပါ အတိုင္းပါ..

Username    : root
Password    : vmware
 


EULA  ကို Accept လုပ္ေပးဖို႕ ျဖစ္ပါတယ္..

 

Accept EULA button  ကို  ႏွိပ္ျပီး Accept လုပ္ေပးလိုက္ပါ .. Accept EULA button ႏွိပ္ျပီး သြားရင္ေတာ့ EULA-Status မွာ Accepted ဆိုျပီး change သြားပါမယ္..
 

vCenter Server  ရဲ့ Status ကို ၾကည့္ရန္ Status Tag ကိုသြားလိုက္ပါ အဲဒီမွာ Service Status  နဲ႕ Database Type မွာ Not Configured ဆိုျပီ ျပေနပါမယ္ ...
 

Database ကို Configure  လုပ္ရန္ Database Tag ကိုသြားလိုက္ပါ.. ထိုေနာက္ Database Type  မွာ embedded type ကို ေရြးခ်ယ္ ေပးရပါမယ္ DB2 database type ကို ေရြးခ်ယ္ အသုံးျပဳျခင္းပါ..
 

ထိုေနာက္ Save Settings ကို ႏွိပ္ျပီ Save လိုက္ပါ Operation Was Successful ျဖစ္သည္ အထိ ေစာင့္ပါ..
 

vCenter Serverရဲ့ Status ကိုျပန္သြား ၾကည့္ရင္ Database Type မွာ embedded ဆိုျပီ ေပၚလာပါမယ္
 

ဒါဆိုရင္ေတာ့ Database Type လဲ ေရြးခ်ယ္ ေပးျပီးျပီ ျဖစ္သည့္ အတြက္ Server ကို Rebootလုပ္ရန္ System Tag  ကိုသြားျပီ Reboot ကိုႏွိပ္ပါ
 

Reboot  လုပ္ျပီး Server ျပန္တက္လာရင္ vSphere Client မွ အေစာက  လုပ္ခဲ့တဲ့ IP နဲ႕ Username:root Password:vmware တို႕နဲ႕ vCenter Server ကို Login ဝင္ျပီ vCenter Server Control ကိုလုပ္ႏိုင္ပါျပီ
 

UTEE

Ref : http://vmwire.com/2011/07/15/vsphere-vcenter-server-linux-virtual-appliance-quick-start-guide/

vCenter Server Appliance (Template OVF) တခုကကို ESXi Server ေပၚကို Deploy လုပ္ျခင္း

     ဒီမွာေတာ့ vCenter Server Appliance (Template OVF) တခုကကို ESXi Server ေပၚကို Deploy လုပ္ပုံကို ျပပါမယ္..

Note :    Template : vCenter Server 5 Appliance
             ESXi Server Version : 5

    အရင္ vCenter Server 5 Appliance Template (OVF + VMDK) Files  ေတြကို ေအာက္ပါ အတိုင္း www.vmware.com မွ Download လုပ္ပါ.


How to download vCenter Server Appliance
You may not be able to find so easily the VSA, therefore I’ve decided to guide you through steps.
1.       Select Support & Downloads and click on Account Login.
2.       Log in to the by entering user credential if account already exists or create a new account by registering yourself.
3.       Select Evaluation and Free Products as Destination, then vSphere Datacenter Products and Submit.
4.        Expand the Download the management server and select below products for download.

    Download လုပ္ျပီး သြားျပီ ဆိုရင္ေတာ့ vSphere Client 5  နဲ႕စျပီ လုပ္ပါမယ္. 
    vSphere Clientနဲ႕ ESXi Server ကို Login ဝင္လိုက္ပါ..

    Loginဝင္ ျပီးသြားရင္ေတာ့ ToolBar > File > Deploy OVF Template ကို Click ပါ.

 


     Source မွာေတာ့ အေစာက Download လုပ္ထားတဲ့ Files  ထဲက OVF extension နဲ႕ File ကိုေရြးလိုက္ပါ 


အခု Deploy လုပ္မဲ့ Template ရဲ့ Information ကိုျပပါလိမ့္မယ္..


Template ရဲ့ Name ကို ကိုယ္ဟာကို ေရြးခ်ယ္ သတ္မွတ္ ေပးပါ


Server ေပၚက ဘယ္ Resource Pool မွာ Deploy လုပ္မယ္ဆိုတာ ေရြးခ်ယ္ပါ

 

Server ေပၚက ဘယ္ Storage မွာ Store လုပ္မယ္ဆိုတာ ေရြးခ်ယ္ပါ

 
Format Type ကိုေတာ့ Thin Provision  နဲ႕ပဲ လုပ္မယ္ဆိုတာ ေရြးခ်ယ္ပါ 

 
ေနာက္ဆုံး Deploy မလုပ္ခင္ Information ကိုျပ ပါလိမ့္မယ္

  
  Deploy လုပ္ေနပါျပီ

 

Deploy Process ျပီးသြားရင္ေတာ့ Server ေပၚမွာ Deploy လုပ္လိုက္တဲ့ VM Image ေပၚလာပါျပီ

 

     vCenter Server 5 Appliance တခုကို ESXi Server ေပၚကို Deploy လုပ္တဲ့ အဆင့္ ျပီဆုံးပါျပီ  တျခားေသာ Template  ေတြကိုလဲ ဒီလိုပဲ Deploy လုပ္ႏိုင္ပါတယ္


>>

UTEE



Ref : http://www.learnmsexchange.com/hot-topics/563-vmware-vsphere-5-vcenter-server-appliance-vcsa