Linux CentOS

Commands Linux CentOS
Nodejs Service Run on Server Reboot in Linux CentOS
January 2, 2018
0
,
My nodejs software is installed in /root/soccer/public_html/ folder. I have a .sh script that start the service of nodejs, the .sh script name: node_auto.sh which file content is as follows: ################################### #!/bin/bash # My first script echo “Expost node Path ” export NODE_PATH=”/usr/local/lib/node_modules/npm/node_modules” echo “Start ProGateway servere” forever start app.js forever list ########################### Linux Command […]
Commands Linux CentOS Security Server
How To Check SHA 2/TLS 1.2 compatibility of your Linux server for Uninterrupted Communication
September 3, 2017
0
,
Its been set that we must SHA 2/TLS 1.2 migrate by October 31st, 2017. This is how you can check by yourslef if your server is ready for the migration, review your LINUX server OS and see if it is running with OS that has TLSv1.2 support. I cheked my server OS & found RHEL […]
HostWay Linux CentOS Programming Server
Common Ports to Set for Linux New Server in Firewall
September 3, 2017
0
Common Ports to Set for Linux New Server in Firewall
Sometimes I have found after hosting new web project to new Linux Server, so many services stop working like webmail, ssl, WHM, cpanel. Later, I figure it out that, most of it because Firewall blocks them as there are no authorized port described / configured in the firewall. It always so tough to remember all […]
Commands Linux CentOS
How To migrate SVN repository to Another Repository?
May 3, 2017
0
, ,
The simplest way is using: svnadmin dump path/to/repos > repos.out This will create a portable format for your repository (with history) in the file repos.out. You can then use svnadmin load path/to/newrepos < repos.out   Ref: http://stackoverflow.com/questions/939963/how-do-i-migrate-an-svn-repository-to-another-svn-repository
Commands Linux CentOS
Linux Centos Command: How to see Processor Core & Processor Number
September 12, 2016
0
How to Get Number of Physical Core: # grep “cpu cores” /proc/cpuinfo |sort -u |cut -d”:” -f2 | awk ‘{s+=$1} END {print s}’ To Get the Number of CPU Core: # nproc # cat /proc/cpuinfo| grep processor| wc -l # grep -c processor /proc/cpuinfo lscpu gathers CPU architecture information form /proc/cpuinfon in human-read-able format # lscpu […]
Commands Linux CentOS MySQL
Linux How to Find Files based on the File Size
May 13, 2016
0
If you want to search all the files that are more than 100MB in your linux server /var folder, type thee below command: # find /var -type f -size +100M To Know which directories are taking most spaces of the hard disk, type the below command in your Linux Console: # du -a /var | […]
Linux CentOS MySQL
MySQL: ERROR 1129 (HY000) Host 'Crowder' is blocked because of many connection errors
May 13, 2016
0
Type the below command in Linux Console Mode: # mysqladmin flush-hosts
Commands Linux CentOS
How To Install BoogieBounce Email Bounce Checker for Linux
October 6, 2015
0
BounceStudio API For Linux, a shared object (.so file), enables your application to recognize thousands of email bounce formats. Easy to use, robust, extremely fast, and accurate, BounceStudio API was designed for professional Linux developers who demand the best. If you’re managing your opt-in email communications on the Linux platform, and in need of a professional bounce detection engine, then BounceStudio API is for you.
Commands
Finding Last 5 Modified Files of a Folder
October 1, 2015
0
Try using head or tail. If you want the 5 most-recently modified files: ls -1t | head -5 ls -1t | tail -5  
Commands Linux CentOS Tips & Tricks
FINDING OUT APACHE CONTINUOUS DOWN PROBLEM
May 19, 2015
0
,
You can check the apache logs using the following command via ssh. ################################## tail -f /usr/local/apache/logs/error_log ################################## Please use the following commands for checking which all processes are taking a lot of resources. ################################## ps aux nice top -c ps aux | grep arzerin — command for checking the processes running under the user “arzerin” […]