High Performance MySQL [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

High Performance MySQL [Electronic resources] - نسخه متنی

Derek J. Balling

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








B.2 Getting mytop


Getting mytop installed and running is fairly
painless. If you've ever installed Perl modules from
CPAN before, you'll feel right at home with
mytop. It is also written in Perl and packaged
much like a typical Perl module.

As of this writing,
mytop has been packaged for
several Linux and Unix distributions. FreeBSD users will find
mytop available in the FreeBSD Ports system and
can install it using pkg_add -r
mytop. Debian GNU/Linux users can simply execute
sudo apt-get install
mytop, and SUSE Linux users will find an RPM
package on the mytop web site.


B.2.1 Requirements


To install and use
mytop, you'll also
need the following Perl modules:

DBI

DBD::mysql

Term::ReadKey


Additionally, if you've installed any of the
following optional modules, mytop will detect
that and take advantage of them:

Time::HiRes

Term::ANSIColor


Of course, you'll also need Perl. Any version as of
5.005 and beyond should work.


B.2.2 Installation


Once
you have the required software installed, download and extract the
latest version of mytop from http://jeremy.zawodny.com/mysql/mytop/:

$ wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.5.tar.gz
$ tar zxvf mytop-1.5.tar.gz

Then run the Perl Makefile and install
mytop:

$ cd mytop-1.5
mytop-1.5$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for mytop
mytop-1.5$ make install
Installing /usr/local/man/man1/mytop.1p
Installing /usr/bin/mytop
Writing /usr/local/lib/perl/5.8.0/auto/mytop/.packlist
Appending installation info to /usr/local/lib/perl/5.8.0/perllocal.pod

Finally, try executing mytop to make sure
it's installed properly along with all the
prerequisites.


/ 105