Posted by: Master Will | April 8, 2017

Solusvm auto FTP backup shown ftpbackup.pid already exists

If you see error like below in “Auto FTP backup” feature

/usr/local/solusvm/tmp/ftpbackup.pid already exists. Is backup already runing?

 

Just delete the file /usr/local/solusvm/tmp/ftpbackup.pid and the SolusVM backup will run fine.

rm -rf /usr/local/solusvm/tmp/ftpbackup.pid

Advertisements
Posted by: Master Will | April 2, 2017

Auto FTP backup — debug

Run this command on solusvm master node.

/usr/bin/php /usr/local/solusvm/includes/autoftpbackup.php –debug=1

Posted by: Master Will | July 14, 2016

SolusVM – Moving the SolusVM Master

Moving the SolusVM Master

Posted by: Master Will | July 14, 2016

SolusVM – Change to Standard Web Ports

Change to Standard Web Ports

Posted by: Master Will | April 20, 2016

NetworkManager for CentOS

yum install system-config-network-tui
system-config-network
Posted by: Master Will | February 25, 2016

Windows 10 cannot Left click on Start button‏

To fix Windows 10 cannot do left click at start button.

Right click at Start button > select Command Prompt (Admin) > type powershell > press Enter > wait a bit until you see….
PS C:\windows\system32>

At the flashing prompt, copy and paste this( please use Copy and paste to avoid typo)

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml“}

> press Enter.

Ignore any error in red.

When finished, try Start button again.

Good luck

Posted by: Master Will | January 20, 2016

Install whm/cPanel

To install cPanel & WHM on your server, run the following command:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

 

WHMxtra Install Instructions
Installation notes: Please ensure the following prior to running any installer:

1. Run the below command:

rm -rf xtra.sh;rm -rf cpx.sh;rm -rf pro.sh;rm -rf basic.sh;rm -rf xlite.sh

This will remove any old installer files laying around.

2. Turn off any firewall you may be using, or the installer may not be able to connect to our server to retrieve the proper files.

3. Run the following command to install

Install: wget http://whmxtra.com/pro/pro.sh;sh pro.sh

 

Attracta’s Powerful Tools to Your Customers
wget -N http://www.attracta.com/static/download/cpanel-install
sh cpanel-install

Posted by: Master Will | August 11, 2015

Install suphp on directadmin using custombuild

While managing DirectAdmin server  you might sometime want to change the php handler to suphp instead of default mod_php. Because suphp provides better protection to server than mod_php because it runs the php scripts under the user account instead of default user apache. DirectAdmin custombuild provides a very easy way to do it.

cd /usr/local/directadmin/custombuild/
./build set php5_cgi yes
./build set php5_cli no
./build set ioncube yes
./build all d
./build rewrite_confs

Note: If you just want to upgrade PHP
./build set php5_ver 5.5
./build update
./build php n

service httpd restart

Note: If you just want to build ioncube
cd /usr/local/directadmin/custombuild
./build update
./build ioncube
./build php-ini
service httpd restart

Now after suphp is installed on the server. You will need to fix phpMyAdmin, Roundcube and squirrelmail

./build roundcube
./build squirrelmail
./build phpmyadmin

No you can fix the permissions of all the files and folders of the users.

for i in `/bin/ls /usr/local/directadmin/data/users/` ; do chown -R $i.$i /home/$i/domains/* ; echo $i ;done
for i in `/bin/ls /usr/local/directadmin/data/users/` ; do find /home/$i/domains/ -type f -exec chmod 644 {} \; ; echo $i ;done
for i in `/bin/ls /usr/local/directadmin/data/users/` ; do find /home/$i/domains/ -type d -exec chmod 755 {} \; ; echo $i ;done

Source: http://servermanagementplus.com/linux-server-support/install-suphp-directadmin-using-custombuild

Useful link: http://forum.directadmin.com/showthread.php?t=29824

Posted by: Master Will | June 9, 2015

OpenVZ quota recalculate

vzctl stop 1100

vzquota drop 1100

vzctl start 1100

While starting VE with VEID 200 quota will be recalculated

Purpose

In our base CentOS 6.3 image it uses a few endpoints in the EPEL repos that are set by default that use SSL 3.0. Due to this you will receive the error noted below when attempting to use yum update from the instance. This article will show you how to remedy that while we work on deploying an updated CentOS 6.x image.

 

Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again.

Notes

We will update this knowledge base article once we have an updated and fixed CentOS 6.x image.

The CentOS 5.8 and CentOS 7 images available to use don’t have this issue.

Walkthrough Steps

Running this command will update the repo to use HTTP rather than HTTPS:

sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo

You should then be able to update with this command:
yum -y update


Source: https://community.hpcloud.com/article/centos-63-instance-giving-cannot-retrieve-metalink-repository-epel-error


					

Older Posts »

Categories