How to push files to particular GitHub branch by branch name

To push files to particular GitHub branch by branch name

STEP 1 : clone

# git clone --single-branch -b BRANCH_NAME  https://github.com/**************.com.git

STEP 2: Config

# git config push.default upstream

STEP 3: Check out

#git checkout BRANCH_NAME

STEP 4: Do the changes and add

 
#git add .

STEP 5: Commit the changes

#git commit -m "home page change"

STEP 6: Finally

#git push origin BRANCH_NAME

You almost done

How to access phpMyAdmin directly without redirecting to cPanel

most of the case we need to share our phpMyAdmin database with others,since our cpanel contains lot of other personal files and info ,we can’t share the cpanel login info with them .Here am going to share how to shre your phpMyAdmin link with out sharing cpanel info

we know that our cpanel access link is

https://YOUR-SERVER-IP_ADDRESS:2083

we know that our WHM access link is

https://YOUR-SERVER-IP_ADDRESS:2087

SO here is the phpMyAdmin link without using cpanellogin

 https://YOUR-SERVER-IP_ADDRESS:2083/cpsess9036983843/3rdparty/phpMyAdmin/sql.php

phpMyAdmin directly without redirecting cPanel

How To Install Free cPanel in Linux Centos ?

Unfortunately cpanel is not a free software it is asking around Cost of 15 USD per month.But we have lot of similar software doing exactly the same functionality,out of that Zpanel is free and most popular.In this article am elaborate how to intall Zpanel in your system

1)  Clean OS (This installer is designed to install and configure ZPanel on a clean OS installation only!) 

#rm -rf *

2) Reboot your OS
#reboot

3 ) Download the install files from Github

# wget https://raw.github.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh

4)  Change the permissions

#chmod +x 10_1_1.sh
5)  Run the installer

#./10_1_1.sh

Location of php.ini file in plesk server

Location of php.ini file in plesk server is inside etc folder. you can login using your details (provided by hosting provider) in to ssh login prompt after you can type below commant to edit your php.in file.

# vim /etc/php.ini

you can type “i” key to make this file editale, you can use “esc” command to escape from editable mode .To save you can use “wq:”.

you can always use phpinfo(); to check the exact location of php in server.

create a php file e.g info.php with below conntent

echo phpinfo();

save this and upload in your root folder

check “domain.com/info.php” it will show you exact location of “php.ini ” files.Also it will show all the details about your php version.