It is currently Thu Mar 28, 2024 4:56 pm

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum


Unique option prefix pass instead of password is deprecated

Noticed strange warning recently during the work with MySql:
Code: Select all
# mysqladmin pr
Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.
+-------+------+-----------+----+---------+------+-------+------------------+
| Id    | User | Host      | db | Command | Time | State | Info             |
+-------+------+-----------+----+---------+------+-------+------------------+
| 41269 | root | localhost |    | Query   | 0    |       | show processlist |
+-------+------+-----------+----+---------+------+-------+------------------+

# mysql ...
Read more : Unique option prefix pass instead of password is deprecated | Views : 11656 | Replies : 0 | Forum : Server Side Actions


A command line interface for WordPress

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser.
Read more : A command line interface for WordPress | Views : 5717 | Replies : 0 | Forum : Interesting links


Disable Awstats for one account (cPanel case)

Suppose, you have Awstats available and enabled by default for all users under "WHM -> Server Configuration -> Statistics Software Configuration".
For some reason you want to exclude one account from statistics update (web service access log parsing for it) and you can do it via:

* WHM interface

"WHM -> Server Configuration -> Statistics Software Configuration -> User Permissions -> Choose Users"
Choose Specific Stats Programs for: accountname
Here you can specify which stats ...
Read more : Disable Awstats for one account (cPanel case) | Views : 14125 | Replies : 0 | Forum : Server Side Actions


OMD - The Open Monitoring Distribution

OMD avoids the tedious work of manually compiling and integrating Nagios addons while at the same time avoiding the problems of pre-packaged installations coming with your Linux distribution, which are most times outdated and provide no regular updates.

OMD bundles Nagios together with many important addons and can easily be installed on every major Linux distribution. We provide prebuilt packages for all enterprise Linux distributions and also for some other, such as Ubuntu.

Features
...
Read more : OMD - The Open Monitoring Distribution | Views : 6782 | Replies : 0 | Forum : Monitoring


Install and keep updated PhpMyAdmin with git

Suppose, you need phpMyAdmin running on your server to provide simple web interface for end users for MySql databases management and perform regular updates with cron task.
First step is to create separate system user in order to enhance security:
Code: Select all
useradd phpmy

Next step is to clone STABLE branch of PhpMyAdmin from the official PhpMyAdmin SCM Git repository:
Code: Select all
sudo -u phpmy -H git clone --single-branch --depth=1 -b STABLE https://github.com/phpmyadmin/phpmyadmin.git /home/phpmy/public_html

"sudo -u" is used to ...
Read more : Install and keep updated PhpMyAdmin with git | Views : 9014 | Replies : 0 | Forum : Server Side Actions


Error: ploop-lib conflicts with vzkernel

When running "yum update" on OpenVZ carrier server you might face the following error which prevents update process:
...
...
--> Processing Conflict: ploop-lib-1.6-1.x86_64 conflicts vzkernel < 2.6.32-042stab061.1
--> Finished Dependency Resolution
Error: ploop-lib conflicts with vzkernel

To resolve it use "yum shell":
Code: Select all
# yum shell
> update vzctl
> remove ploop\*
> run
> quit

Such sequence of actions will allow you to resolve runtime dependencies.
===============================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================================================================================================
Installing: ...
Read more : Error: ploop-lib conflicts with vzkernel | Views : 10284 | Replies : 0 | Forum : OpenVZ related


View configure options MySQL server was compiled with

To view configure options of MySql server we can use handy 'mysqlbug' utility which among other information reports options MySql server was compiled with:
# mysqlbug

Finding system information for a MySQL bug report
test -x /bin/vi
Using editor /bin/vi
You can change editor by setting the environment variable VISUAL.
If your shell is a bourne shell (sh) do
VISUAL=your_editors_name; export VISUAL
If your shell is a C shell (csh) do
setenv VISUAL your_editors_name
File ...
Read more : View configure options MySQL server was compiled with | Views : 6106 | Replies : 0 | Forum : Server Side Actions


Page cache isolation

New strict page cache isolation feature, appeared in the kernel 042stab068.8 and later kernels.
The feature disables bouncing page cache pages between host and containers on physpages shortage in container. The internal reclaimer will drop cached data if container exceeded its physpages limit and pagecache isolation is turned on.
Current state can be obtained by reading the /proc/bc/<id>/debug:pagecache_isolation file. It is disabled by default.
http://wiki.openvz.org/Page_cache_isolation
Read more : Page cache isolation | Views : 5739 | Replies : 0 | Forum : OpenVZ related


Setup serial console device for 'virsh console' (Centos) Setup serial console device for 'virsh console' (Centos)

If you plan to use 'virsh console' for access to KVM domains from the carrier server you should setup correct guest console device first.

1. Centos6 case

Centos 6 use upstart for configuration of serial consoles (terminals). You can find tip on it in the /etc/inittab configuration file.
Content of default Centos 6 /etc/inittab :
# cat /etc/inittab
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE ...
Read more : Setup serial console device for 'virsh console' (Centos) | Views : 18149 | Replies : 0 | Forum : KVM related


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron