It is currently Sun Apr 28, 2024 10:04 am

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


RvSkin/RvSiteBuilder PHP configuration requirements

RvSkin/RvSitebuilder PHP configuration requirements

Following values should be adjusted in the cPanel`s PHP (/usr/local/cpanel/3rdparty/bin/php) configuration file:

$RVSReq->{'memory_limit'} = '164M';
$RVSReq->{'max_execution_time'} = '180';
$RVSReq->{'post_max_size'} = '105M';
$RVSReq->{'upload_max_filesize'} = '100M';
$RVSReq->{'enable_dl'} = 'On';
$RVSReq->{'file_uploads'} = 'On';

To perform automatic adjustment one can use following script (available after Rv* product installation)
Code: Select all
perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl
Read more : RvSkin/RvSiteBuilder PHP configuration requirements | Views : 2539 | Replies : 0 | Forum : Server Side Actions


OpenVZ updates list

Read more : OpenVZ updates list | Views : 2470 | Replies : 0 | Forum : OpenVZ related


Rebuild the NET::SSLeay

Can't locate auto/Net/SSLeay/ssl_read_un.al in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/cpanel/Cpanel/CPAN/overload/__File__GlobMapper /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/perl /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.6.2/IO/Socket/SSL.pm line 676
Can't locate auto/Net/SSLeay/ssl_write_a.al in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/cpanel/Cpanel/CPAN/overload/__File__GlobMapper /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/perl /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.6.2/IO/Socket/SSL.pm line 601

Below is the step of rebuild the NET::SSLeay :
Code: Select all
cd /usr/local/cpanel/src/3rdparty/perl/
make netssleay
make netssleayinstall

The above can be simplified to:
Code: Select all
/usr/local/cpanel/bin/nativessl-install
Read more : Rebuild the NET::SSLeay | Views : 1861 | Replies : 0 | Forum : Server Side Actions


Phpmyadmin - MySQL client version: 4.1.22

Recently rebuilt apache and PHP with MySQL 5 and PHP 5 but in phpmyadmin it says "MySQL client version: 4.1.22."

Check:
Code: Select all
cat /home/username/.cpanel/datastore/_usr_sbin_mysqld_--version

If:
Server version: 5.0.77-community-log MySQL Community Edition (GPL)

Do:
Code: Select all
/scripts/makecpphp
Read more : Phpmyadmin - MySQL client version: 4.1.22 | Views : 2259 | Replies : 0 | Forum : Server Side Actions




Enable date-stamp in your .bash_history file

Enable date-stamp in your .bash_history file

While it’s easily cleared by a malicious person, this can easily extend the usefulness of your history file with the information of when you ran that command.

This works in bash v3 and up.

If you’d like to add the time-stamping to all users on the machine, the file you’d want to edit is probably /etc/profile. If not, add it to your .bash_profile in your home directory (~).

Add ...
Read more : Enable date-stamp in your .bash_history file | Views : 2565 | Replies : 0 | Forum : Linux specific


configure grsec on a Cpanel box configure grsec on a Cpanel box

How to configure grsec on a Cpanel box

First lets start by moving into the correct directory

cd /usr/src

Now let's download the kernel from kernel.org

wget http://www.kernel.org/pub/linux/kernel/ ... .10.tar.gz

Let's open the tar file now

tar zxvf linux-2.6.27.10.tar.gz

We need to also create a symlink

ln -s linux-2.6.27.10 linux

Let's grab the grsec patch

wget http://grsecurity.net/grsecurity-2.1.12 ... 7.patch.gz

Let's open the grsec ...
Read more : configure grsec on a Cpanel box | Views : 2175 | Replies : 0 | Forum : Server Side Actions


Cpanel - Disk Quota Does not working

There a two "quota systems" used by OpenVZ:

1 Level Quota:

Space Hostnode to Container:
Is set by --diskspace barrier:limit (/--diskinode barrier:limit) config how much a container can use the diskspace/indodes on the hardwarenode

2 Level Quota:

Is how many User/Group in this container can use the space above, set by --quotaugidlimit num (= limit of quota u(ser) g(roup)id) set how many User/Groups ID are accounted).
Add line:
/etc/sysconfig/vz-scripts/{VEID}.conf
QUOTAUGIDLIMIT="5000"

Reboot the VM:
vzctl restart ...
Read more : Cpanel - Disk Quota Does not working | Views : 2943 | Replies : 0 | Forum : OpenVZ related


HyperVM Migration

Minimum Requirements

* There should be a separate node for each entity of hyperVM such as for Master hyperVM Node a corresponding FluidVM Management Node, for a slave openvz/xen node in hyperVM a corresponding openvz/xen compute node ....
* The target FluidVM node/server should be of almost equal or greater hardware configuration.
* Free Hard disk space for the new openvz/xen node is required to be greater than that of the filesystem space occupied by ...
Read more : HyperVM Migration | Views : 5690 | Replies : 2 | Forum : FluidVM


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22