How to Fix client intended to send too large body

    Posted in Linux Servers on Aug 24, 2018

    First you need to edit the /etc/nginx/nginx.conf file by typing the vi command:

    $ sudo vi /etc/nginx/nginx.conf

    In http (server/location) section add the following directive to set the

    maximum allowed size in 10MB:
    
    client_max_body_size 10M;

    Save and close the file.

    Test nginx configuration for error

    Run the following command:

    $ sudo nginx -t

    Sample outputs:

    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    nginx: configuration file /etc/nginx/nginx.conf test is successful

    If no error means, restart the nginx web server.

    $ sudo systemctl reload nginx
    
    OR
    
    $ sudo service nginx re...
    [Read more...]

    How to change the location for virtual hosts in Plesk for Windows Server

    Posted in Plesk Control Panel on Aug 16, 2018

    vps-server-cloudtechtiq.jpg

    Connect to a Plesk server via RDP.

    Launch Plesk Reconfigurator at Windows Start > All Programs > Plesk.

    In Plesk Reconfigurator, select Change Virtual Hosts location.

    host.PNG

    Specify the new location for virtual hosts and click Next. All existing virtual hosts data will be transferred to the new location as well.

    vhostslocation.PNG

    [Read more...]

    How to change the mailaccount location in Plesk for Windows Server

    Posted in Plesk Control Panel on Aug 14, 2018

    windows-dedicated-server-hosting.jpg

    Connect to a Plesk server via RDP.

    Launch Plesk Reconfigurator at Windows Start > All Programs > Plesk.

    In Plesk Reconfigurator, select Change Plesk Mail Data location.

    maillocation.PNG

    Specify the new location for Plesk mail data and click Next. All existing mail data will be transferred to the new location as well.

    mail.PNG

    [Read more...]

    How to change the location for backup files in Plesk for Windows Server

    Posted in Plesk Control Panel on Aug 08, 2018

    vps-server-cloudtechtiq.jpg

    Connect to the Plesk server via RDP.

    Launch Plesk Reconfigurator at Windows Start > All Programs > Plesk.

    In Plesk Reconfigurator, select Change Plesk Backup Data location.

    Pleskbackup.PNG

    Specify the new location for backup files and click Next. All existing backup data will be transferred to the new location as well. During this operation Plesk will be stopped.

    backuplocation.PNG

    [Read more...]

    How to Manage Cphulk From Command line

    Posted in Whm/Cpanel on Aug 01, 2018

    linux-dedicated-seerver.jpg

    Manage Cphulk From Command line

    Use the following methods to manage cPHulk on your server:-

    Debug mode

    To enable debug mode for cPHulk, run the following command:-

    touch /var/cpanel/hulkd/debug

    Check cPHulk's status

    You can check cphulk's status from command

    "ps aux | grep -i".

    this will return a result like :-

    1 root 1501 0.0 0.4 34816 5076 ? S 07:58 0:00 cPhulkd - processor

    Restart the cPHulk daemon (cphulkd)

    To restart the cphulkd daemon, perform either of the following actions:

    Perform a soft restart. To do this, run the following command:

    /scripts/restartsrv_cphulkd

    Perform a hard resta...[Read more...]

    How to setup automysql backup/dump scripts for regular backups

    Posted in Linux Servers on Jul 30, 2018

    First download it via following link :-

    root@cloudtechtiq.com:~$ wget http://ncu.dl.sourceforge.net/project/automysqlbackup/AutoMySQLBackup/AutoMySQLBackup%20VER%203.0/automysqlbackup-v3.0_rc6.tar.gz

    Create a directory in /root named as automysqlbackup and Unzip file :-

    root@cloudtechtiq.com:~$ tar zxvf automysqlbackup-v3.0_rc6.tar.gz /root/automysqlback

    After unzip install that file :-

    root@cloudtechtiq.comk:~$ sh install.sh

    -> Press enter

    -> Press enter

    then open:- /etc/automysqlbackup/automysqlbackup.conf

    root@cloudtechtiq.com:~$ vim /etc/automysqlbackup/automysqlbackup.conf
    make followin...[Read more...]

    How to Create mySQL database in cPanel

    Posted in Whm/Cpanel on Jul 27, 2018

    linux-vps-hosting.jpg

    Create database

    Login to cPanel for the Domain you want to add database Under the Databases submenu click "MySql Databases" under Create New Database

    Database name

    Click "**Create Database"**
    
    Click **"Go Back"**
    
    **Create user**:-

    Under Add New User

    **Username:**   
    **Password:**  
    **Password(again)**    
    **Click "Create User"**     
    **Click "Go Back"**   

    Add User to database:-

    Under Add User to Database
    User:       
    Database:       
    Click "**Add**"     
    Choose **Privileges**       
    Click "**Make Changes**"
    [Read more...]

    How to Install Magento 2 in cPanel

    Posted in Magento Hosting, Whm/Cpanel on Jul 23, 2018

    linux-dedicated-seerver.jpg

    To easily install Magento 2, you can use the Softaculous auto-installer available from your cPanel. It will automate the steps needed for the installation into one configuration page and 30 seconds of waiting for the install.

    STEP 1 Locate Softaculous in cPanel

    To access your Softaculous auto-installer simply login in your cPanel navigate to the Software/Services section and click on the Softaculous Apps Installer icon.

    2-2-1.png

    Now you will need to use the Search bar to look for Magento and click on it.

    2-2-2.png

    STEP 2 Configure the Installation

    Here you will see different tabs containing overview of the fe...

    [Read more...]

    Secure Your WordPress Website in 2018: Here Are 23 Simple Tricks

    Posted in WordPress Hosting on Jul 10, 2018

    I’ve heard many website owners complain about the security of WordPress. The main question is whether or not you’re able to completely secure your WordPress website. Are you going to find that it’s easy for someone to hack your site?

    The thought is that an open source script is vulnerable to all sorts of attacks.

    Luckily, this is mostly untrue. In fact, sometimes it’s the other way around. Okay, let’s say that it’s partially true. But even then the blame shouldn’t fall on WordPress.

    Why? Because it’s usually the user’s fault that their site got hacked. There are some responsibilities that you ...

    [Read more...]

    How to create MySql db and username via CLI

    Posted in Linux Servers on Jun 23, 2018

    linux-dedicated-seerver.jpg

    Login to mysql

    mysql -u <username> -p

    Creating a database

    create database database_name;

    put database name at the place of database_name.

    Creating a user

    create user 'username'@'localhost' IDENTIFIED BY 'passwordhere';

    Grant privileges to user on database

    grant all privileges ON database_name .* TO 'username'@'localhost';

    TO grant on all databases need to issue below query

    grant all privileges ON *.* TO 'username'@'localhost';

    The asterisks(*) in above query is representing all database(first asterisks) and all tables of that databases(second asterisks).

    Grant privileges with remote access

    gr...
    [Read more...]