Install Mytop in Linux and Cpanel


Cheap reseller Hosting


How to install mytop in linux and cpanel

 

MySQL is one of the most important programs on a server, unfortunately it is also pretty resource intensive. One a  server it is not uncommon for a single user or even a query to take up the bulk of the servers CPU cycles. Mytop is a very useful program to see what queries a server is currently processing as well as which user is executing them. Think of mytop as top for mysql. If you see a lot from a user that means they are probably the hog. Mytop can also be useful for figuring out exactly which queries are causing the problem in the case of a self-designed website.

 

 

install mytop

 

The following commands use  how to install mytop on the server and run it.

1) To Install Term Read Key:

cd /usr/local/src

wget http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-2.30.tar.gz

tar -zxf TermReadKey-2.30.tar.gz

cd TermRead*

perl Makefile.PL

make test

make

make install

cd ..

 

2) Now,To Install DBI:

wget http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.48.tar.gz

tar -zxf DBI-1.48.tar.gz

cd DBI*

perl Makefile.PL

make test

make

make install

cd ..

 

3) Finally  To Install MYTOP:

wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.4.tar.gz

tar -zxf mytop-1.4.tar.gz

cd mytop*

perl Makefile.PL

make test

make

make install

 

NOTE: You may get following error in CentOS 5.3

Error in option spec: “long|!”

Search for the line in Makefile.PL

“long|!” => \$config{long_nums},

Change it to by commenting using #

#”long|!” => \$config{long_nums},


Cheap web Hosting


Install Easy Hosting Control Panel


Cheap reseller Hosting


EHCP

Easy Hosting Control Panel

 

                 EHCP (Easy Hosting Control Panel) is an open source hosting control panel for administrators who want to sell hosting or set up hosting servers. EHCP is compatible with a server running a Debian-based system such as Debian Squeeze, Ubuntu, Linux Mint, etc. Ehcp is a Hosting Control Panel (hcp). hcp is a tool in a server to facilate the process of hosting domains, emails, adding domains, ftp users and so on.

 

EHCP Features:

EHCP has many unique features compared to other control panels.

General Features:

* Full php, full opensource, easily modifiable, customazible, ehcp templates
* Unlimited “resellers, panel users, domains, ftp users, emails, mysqls”
* Domains, subdomains, ftp, mysql, dns (automatic), email etc. management
* password protected domains,
* Email forwarding, autoreply, catch-all emails
* Web-stats (webalizer)
* web-ftp (net2ftp)
* Easy Install Scripts (scripts easily downloaded and copied by means of server)
* Disk quota control,
* Custom http, custom dns, domain aliases, domain redirect,
* Ssl support
* Different languages, templates support, a few lang/templates included,
* Different Menus/pages for Server Admin, Reseller, domain admin, email user (4 level)
* server backup/restore (files+db)
* domain transfer to another ehcp user
* simple, light, fast, host hundreds of domains in it.
* supports Ubuntu 6-9.10, debian 4,5, all debian based linux’es
* Any server related program may be installed with Ubuntu’s apt-get command
* Almost all programs are always up-to-date when you update your server, with Ubuntu’s: apt-get update ; apt-get upgrade
* Opensource, GPL, free, full php, object oriented, modular, easily modifiable/extendable design..
* More features that I forgot to write..

New with 0.29.12:

* Customizable, templates
* add domain to my ftp
* add ftp with any directory under home
* add ftp with subdomain
* add ftp with subdirectory under domainname
* list related/similar functions in ehcp
* edit dns/apache template for a domain
* domain aliases
* email forwardings
* catch all email
* default domain settable for ehcp gui
* “fix apache configuration” link in options
* “fix email (postfix) configuration” link in options
* apache ssl support
* new default theme: xp5-z7
* more “easy install scripts”, a total of 30 scripts
* disk quota support
* smtp auth support
* more options for ehcp
* bulk add domain feature
* multi server intro: separate mysql server support
* improved installer

 

EHCP

 

How to Install Easy Hosting Control Panel (EHCP) In Ubuntu 14.04 ?

 

1) Login as root user using ssh and download the EHCP installation script using the following command:

 

# wget http://www.ehcp.net/ehcp_latest.tgz

 

2) Extract the downloaded file using tar command:

 

# tar -zxvf ehcp_latest.tgz

 

3) Switch to the extracted folder and run the installation script using the following commands:

 

# cd ehcp
# ./install.sh

 

Follow installation wizard and read the instructions carefully, the install script will install all required packages including Apache, MySql and Postfix. You will need to provide some information to configure the services and set the admin passwords.

When the installer is finished. you will be provided with the ehcp login page in your Web browser window, if you are on your local machine, otherwise, you need to connect to your new web Server by entering the IP address of you server.

 

http://hostripples.com/vhosts/ehcp

 

Your default admin username: admin
Default admin pass: 1234

 


Cheap web Hosting


How to install and configure Nginx on cPanel servers


Cheap reseller Hosting


nginx

 

Nginx is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server.

How to set up Nginx?

 

Follow the steps to install nginx as reverse proxy in a cPanel server:

 

1) SSH to server as root.
2) Change the directory to “/usr/local/src”

 

# cd /usr/local/src

 

Download & Install Nginx on cPanel servers

 

#wget http://nginxcp.com/latest/nginxadmin.tar
#tar xf nginxadmin.tar
#cd publicnginx
#./nginxinstaller install

 

In WHM, now Nginx Admin plugin will be available under plugins section. After installing make sure Nginx process is running on the server

 

1) You can chcek this by using the following command.

 

# ps aux | grep nginx

 

2) If it is not showing any process, then kill httpd and restart httpd

 

#killall -9 httpd
#/etc/init.d/httpd restart

 

3) Nginx Admin Uninstall instruction:

 

#cd /usr/local/src
#wget http://nginxcp.com/latest/nginxadmin.tar
#tar xf nginxadmin.tar
#cd publicnginx
#./nginxinstaller uninstall

 

Make sure that the Nginx is running on port 80 and Apache on different port (like 8080).

Also open the new port the server firewall.

.

.

That’s it!


Cheap web Hosting


How to Install Zamfoo


Cheap reseller Hosting


What is Zamfoo ?

zamfoo

Zamfoo is a plugin which provides additional features to a Reseller and makes his work a bit easy. Zamfoo plugin needs to be installed on the server and can be integrated with Reseller center. The OS recommended for Zamfoo is Cent OS, as its the most compatible OS for cPanel/WHM. Altough there are few limitations to use the this with WHM reseller.

 

Zamfoo_ashishkale.in

 

To Install Zamfoo 

Run the following commands in SSH:

cd/

Use of this commands : This will take you to the root directory of your server.

 

wget http://www.zamfoo.com/downloads/zamfoo_installer.tar

Use of this commands : This command will download zafoo on your server.

 

tar -xvf zamfoo_installer.tar

Use of this commands : This command will extract contents on the server.

 

chmod 755 runme.cgi

Use of this commands : This command will modify the permissions to make it executable.

 

./runme.cgi

Use of this commands : This command will run the installer.

 

After firing all these commands,

You will have to enter the license key here:-

$license=”License key”

Once enter the License key
press CTRL + X

then Save it.

.

.

.

.

 Zamfoo will be installed on your Linux server.


Cheap web Hosting


Installing LAMP On Linux Mint


Cheap reseller Hosting


Installing LAMP (Linux, Apache, MySQL and PHP) On Linux Mint. 

LAMP stands for Linux, Apache, MySQL, PHP. How to install Linux the L of LAMP.

LAMP_ashishkale_in

Install Apache

To start off we will install Apache.

1) Open up the Terminal

(Applications > Accessories > Terminal)

2) Copy/Paste the following line of code into Terminal and then press enter

sudo apt-get install apache2

3) Type you’re password, and then press enter.

The page should display the words

.

.

.

.

“It works!” 

 

Testing Apache

 

To make sure everything installed correctly we will now test Apache to ensure it is working properly.

1) Open up any web browser and then enter the following line.

http://localhost/

2) You should see a folder entitled apache2-default/.

3) Open it and you will see a message saying 

.
.
.
.
“It works!”, congrats to you!

 

Install PHP

PHP is an open source web scripting language that is widely use to build dynamic webpages.

To install PHP

1) Open up the Terminal

(Applications > Accessories > Terminal)

2) Type in this command

sudo apt-get install php5 libapache2-mod-php5

After you answer yes to the prompt twice, PHP will install itself.

3) It may also be useful to add php to the directory index, to serve the relevant php index files

sudo nano /etc/apache2/mods-enabled/dir.conf

 

Test PHP

To ensure there are no issues with PHP let’s give it a quick test run.

1) Open up the Terminal

(Applications > Accessories > Terminal)

2) Type in this command

sudo gedit /var/www/testphp.php

This will open up a file called phptest.php.

3) Copy/Paste this line into the phptest file:

<?php phpinfo(); ?>

4) Save and close the file.

5) Now open you’re web browser and type the following into the web address:

http://localhost/testphp.php

The page should look
.
.
.

Congrats you have now installed both Apache and PHP!

 

Install MySQL

To finish this guide up we will install MySQL. MySQL is a powerful database management system used for organizing and retrieving data

To install MySQL,

1) Open terminal and type in these commands

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

During the installation, MySQL will ask you to set a root password. If you miss the chance to set the password while the program is installing, it is very easy to set the password later from within the MySQL shell.

2) Once you have installed MySQL, we should activate it with this command

sudo mysql_install_db

3) Finish up by running the MySQL set up script

sudo /usr/bin/mysql_secure_installation

4) The prompt will ask you for your current root password.

Type it in.

5) Enter current password for root (enter for none)

OK,

.

.

.

successfully used password, moving on…


Cheap web Hosting


How To Install Apache Solr In Ubuntu


Cheap reseller Hosting


Apache Solr

Solr is a search engine platform based on Apache Lucene. It is written in Java and uses the Lucene library to implement indexing.

If you want to install Solr the easy way, you should use this steps. Solr doesn’t work alone; it needs a Java servlet container such as Tomcat or Jetty.

Apache Solr

To Install Apache Solr In Ubuntu

Step 1. To Installing Java

Installing Java from the command line.

sudo apt-get install openjdk-7

Step 2. To Installing Tomcat

Install Tomcat from the command line.

sudo apt-get install tomcat7

Step 3. To Installing Solr

1) Download the latest version of Solr 4.8.1 from

http://lucene.apache.org/solr/

2) Expand the archive, and copy Solr’s Java libraries to the Tomcat library directory

sudo cp solr-4.8.1/dist/solrj-lib/* /usr/share/tomcat7/lib/

3) Copy Solr’s logging configuration file to the Tomcat configuration directory

sudo cp solr-4.8.1/example/resources/log4j.properties /var/lib/tomcat7/conf/

4) Copy the Solr webapp to the Tomcat webapps directory.

sudo cp solr-4.8.1/dist/solr-4.8.1.war /var/lib/tomcat7/webapps/solr.war

5) Define the Solr context by modifying the solr.xml file.

sudo vim /var/lib/tomcat7/conf/Catalina/localhost/solr.xml

6) Context fragment pointing to the webapp file from above and to the Solr home directory.

<Context docBase=”/var/lib/tomcat7/webapps/solr.war” debug=”0″ crossContext=”true”>
<Environment name=”solr/home” type=”java.lang.String” value=”/usr/share/tomcat7/solr” override=”true” />
</Context>

Step 5. Configuring Solr

1) Create the Solr home directory.

sudo mkdir /usr/share/tomcat7/solr

2) Copy the Solr configuration files to the Solr home directory.

sudo cp -r solr-4.8.1/example/solr/collection1/conf /usr/share/tomcat7/solr/


Cheap web Hosting


Install OpenKM Document Management System In Ubuntu


Cheap reseller Hosting


About OpenKM

                 OpenKM is an Open Source, Web-based DMS (Document Management System) that can be used as an alternative for commercial DMS solutions such as Sharepoint, Hummingbird and Documentum etc. It works well on multiple operating systems such as GNU Linux, Windows, Mac OS X and Solaris.

Install OpenKM

Install OpenKM On Ubuntu

 

1) OpenKM requires java, and install it with the following command:

 

sudo apt-get install openjdk-8-jdk openjdk-8-jre

 

2) Check the installed Java version using command:

 

java -version

 

Sample output:

 

openjdk version “1.8.0_45-internal”
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)

 

3) Download the latest OpenKM community version from here.

 

4)  Downloaded installation file using command:

 

sudo chmod +x openkm-6.3.0-community-linux-x64-installer.run

 

5) Run the following command to begin installation.

 

sudo ./openkm-6.3.0-community-linux-x64-installer.run

 

6) Click Forward to continue.

 

7) Accept the License Agreement and click Forward

 

8) Select the installation directory and click Forward.

 

9) Setup is now ready to begin installing on your computer.

 

10) Click Forward to begin installation.

 

11) Please wait few minutes while Setup installs OpenKM on your system.

 

12) Click Finish to complete the setup.

.

.

.

.

.

Congratulations! Now, OpenKM has been installed successfully on your Ubuntu system.


Cheap web Hosting


1 2 3 4