Category Archives: CentOS

Install ngx_pagespeed (Google PageSpeed) with VestaCP

Move to root dir.

Install additional software

Then download the module and extract it

The next step is to download PSOL utils and extract them

No move again to root folder

Download and extract Nginx

Now we will add custome repos to install gcc 4.8

Now tipe and […]

Also posted in Hosting, Linux Post | Leave a comment

Amazon (AWS) Ec2 automatic SnapShot

Bash script for Automatic EBS Snapshots and Cleanup on Amazon Web Services (AWS) How it works: ebs-snapshot.sh will: Determine the instance ID of the EC2 server on which the script runs Gather a list of all volume IDs attached to that instance Take a snapshot of each attached volume The script will then delete all […]

Also posted in Debian, Hosting, Linux Post, RHEL, Scripting, Ubuntu | Leave a comment

Deleting files older then N days

Hello, If you have a lot of files and you want to delete a couple of them older then N days. You can use next command

this will find files in map /somewhere files older then 10 days.

Also posted in Linux Post, OS's, Scripting | Leave a comment

How To Install Foreman With Puppet In CentOS And Ubuntu

About Foreman Foreman is an open source application that can be used to manage, provision, configure, and monitor a single or group of servers. Foreman smart proxy architecture allows you to automate repetitive tasks, quickly deploy applications, proactively manage change using configuration management systems such as Puppet, Chef and Salt. Foreman has an interactive and […]

Also posted in Application, Linux Post, Ubuntu | Leave a comment

cPanel & WHM Installation

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

or

This command changes your session to the home directory, downloads the latest version of cPanel & WHM, and runs the installation script.

Also posted in Application, Hosting, Linux Post | Leave a comment