|
Dear
Network Administrators,
This
CPTTM NetAdmin newsletter is to bring useful news to
you, Network Administrators in
Macau, for references without obligations, so that you can do your jobs
easier and better! Hope you like it. if you'd like to unsubscribe or
recommend your friends to subscribe, just email me at kent@cpttm.org.mo. Old issues are available here.
Also printable version for this newsletter.
Topics
in this issue:
Check
your MySQL Server Performance by MySQLTunner
As
a freely available DBMS, many SMEs and individuals are using MySQL.
However, for DBAs,
they may be concerned with how to fine tune the performance of the
MySQL server and optimize the MySQL databases. The good news is, you
could do it easily with MySQLTuner.
MySQLTuner is a free Perl script that can
instantly show what MySQL is doing and related statistics. It can also
advice you on how to improve its performance and stability.
However, you must be clear that MySQLTuner can only help you improve
the performance instead of a silver-bullet for your MySQL performance
problems. For example, you could use MySQLTuner to test the performance
of the SQL statements of your applications, so that you could optimize
them, which MySQLTuner can't do by itself. If you'd like
achieve the best performance, ultimately you have to perform the
testing and evaluation yourself.
Debug
your shell scripts with bashdb
Have you
ever written shell scripts in Linux to automate your administration
tasks? If so, you should know that it is very difficult to get them
right. When programming in C/C++, there are powerful debuggers allowing
you to set breakpoints, inspect variables and execute step by step. But
when writing shell scripts, there are usually no such aids. The good
news is, now, you can use the Bash Debugger Project (bashdb)
to do that.
After
installing bashdb, you could run it like:
bash
--debugger xxxx.sh (your shell script file name)
or
bashdb xxxx.sh (your shell script file name)
Then you can debug your script using next (execute next step), bt
(backtrack), list (list the current statement), examine or print
(inspect the values of variables). These functions will
significantly reduce the time and effort needed to write scripts and
improve their accuracy.
Windows
Installer Cleanup Utility
When
you are working on your computer and installing a new program, the
installation suddenly fails. Now you are left with a partly installed
program. You try to install the program again, but you are
unsuccessful. Or, maybe you have problems trying to remove an old
program because the installation files are corrupted.
Do not worry. Windows
Installer CleanUp Utility might be able to help.
You can use the utility to remove installation information for programs
that were installed by using Windows Installer. Be aware that Windows
Installer CleanUp Utility will not remove the actual program from your
computer. However, it will remove the installation files so that you
can start the installation, upgrade, or uninstall over.
When you use Windows
Installer CleanUp Utility, you can perform the following
functions:
- Select one or more programs that were installed
by Windows Installer from the Windows
Installer CleanUp dialog box.
To do this, select the programs that you want in the Installed Products list in the
Windows Installer
CleanUp
dialog box. After you make this selection, the utility removes only
Windows Installer configuration information that is related to those
programs.
- Remove all Windows Installer information
associated
with the selected programs. This includes the entries for the programs
in the Add Or Remove Programs item in Control Panel. Be aware that only
the Installer information for that particular program is removed, not
the files.
Windows
Installer CleanUp Utility does not perform the following
functions:
- Remove Windows Installer
- Remove files of any programs that are installed
by Windows Installer, such as Microsoft Office 2003
If
you use this utility to remove Windows Installer configuration
information for your program and you plan to reinstall the program, you
should reinstall the program in the same folder where you originally
installed it. This prevents duplication of files on your hard disk or
disks.
Book
Review
CCENT/CCNA
ICNA1
- This book is designed to provide information about the Cisco
ICND1 (640-822), ICND2 (640-816), and CCNA (640-802) exam.
CCNA
ICND2
- This book is designed to provide information about the Cisco
ICND1 (640-822), ICND2 (640-816), and CCNA (640-802) exam.
CCNA
Voice
- This book is designed to provide information about
the 640-460
Implementing Cisco IOS Unified Communications (IIUC)
certification exam.
CCNA
Wireless
- This book is designed to provide information about
the 640-721
Implementing Cisco Unified Wireless Networking Essentials (IUWNE)
certification exam.
CCNA
Security - This book is designed to provide the information
necessary to be successful on the Cisco IINS (640-553) exam.
You can borrow this book from the CPTTM
IT Book Shelf
at Cyber-Lab.
Upcoming
courses for network administrators
In addition, there are some interesting IT courses
for your kids:
Feedbacks
Any
questions, ideas
or experiences to share? Contact me at 88980601 or kent@cpttm.org.mo. We
also
have 3 more
newsletters: CIO
newsletter, Software developer newsletter and E-flow newsletter.
Until
next time,
Kent Tong
|