It is currently Sun Dec 22, 2024 1:00 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

Remove old account backups on a cPanel server

#!/usr/bin/perl
#################################################
# version 1.1
#
# Clean old cpanel backups
#
# Author: Igor Russian
##################################################


use Date::Parse;

my @all_dirs = ('/backup/cpbackup/daily', '/backup/cpbackup/weekly');

my $query = "ls -l |";
my $expire_day_period = 30; # Number of days
my $expire_period = $expire_day_period * 24 * 60 * 60 ; # expire_day_period in seconds
my $i=1;
my @rm_dirs = ();
my @dir_en = ();
my $type;
my $name;
my $group;
my $mtime;
my $diff_time;

#If backup ...
Read more : Remove old account backups on a cPanel server | Views : 8844 | Replies : 2 | Forum : Server Side Actions




Softaculous auto installer (Fantastico analog)

Softaculous is an auto installer for cPanel and DirectAdmin.
Unlike other auto installers Softaculous is much faster, well designed and it installs all scripts in just ONE STEP.
http://www.softaculous.com/
The Free License has 60 scripts while the Premium one has 250+ scripts:
http://www.softaculous.com/pricing
Read more : Softaculous auto installer (Fantastico analog) | Views : 6783 | Replies : 2 | Forum : Server Side Actions


FSArchiver

http://www.fsarchiver.org/Main_Page
Code: Select all
wget "http://downloads.sourceforge.net/project/fsarchiver/fsarchiver-bin/0.6.12/fsarchiver-bin-0.6.12.tar.gz"
Read more : FSArchiver | Views : 2507 | Replies : 0 | Forum : Xen related


XGU.RU

Read more : XGU.RU | Views : 2204 | Replies : 0 | Forum : Interesting links


Short TUN/TAP devices description

In computer networking, TUN and TAP are virtual network kernel drivers. They implement network devices that are supported entirely in software, which is different from ordinary network devices that are backed up by hardware network adapters.

TAP (as in network tap) simulates an Ethernet device and it operates with layer 2 packets such as Ethernet frames. TUN (as in network TUNnel) simulates a network layer device and it operates with layer 3 packets such as ...
Read more : Short TUN/TAP devices description | Views : 3200 | Replies : 0 | Forum : Xen related


cPanel/WHM and Ruby

Easiest way to install Passenger:
1. Open a terminal, and type:
Code: Select all
gem install passenger

2. Type:
Code: Select all
passenger-install-apache2-module

Or, if you want to install the Nginx version instead:
Code: Select all
passenger-install-nginx-module

And follow the instructions.
Log into the server via SSH
Code: Select all
unset RUBYOPT
/scripts/installruby
/usr/local/cpanel/bin/ror_setup
passenger-install-apache2-module

* The passenger-install-apache2-module command is interactive. Accept its notices by pressing the Enter button. At the end of the passenger-install-apache2-module, you'll need to update Apache configuration files.
* Create /usr/local/apache/conf/ruby.conf and add ...
Read more : cPanel/WHM and Ruby | Views : 2525 | Replies : 0 | Forum : Server Side Actions






How to view the contents of RPM file

To view the content of RPM package please use the following syntax:
Code: Select all
rpm -qlp /path/to/file.rpm
Read more : How to view the contents of RPM file | Views : 2960 | Replies : 0 | Forum : Linux specific


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron