HOME CentOS DNS SMTP CentOS7 mysql mysqld timeout metaWeblog API file attachment db autorepair OAuth samba NTP network-scripts Network Port Network Diagnostic Tools netstat mysqlcheck Port Postfix resolv.conf mount setlocale SMTP Server SMTP Server Hostname sysconfig Timezone traceroute traceroute6 ifcfg-eth0 bash CentOS 7 chmod cron crontab exec find Hardware time httpd hwclock MySQL Port ifcfg-eth1 ifconfig LC_ALL LC_CTYPE LC_TYPE localtime max_connections anacron mount.cifs

LINUX ( 1 / 1 )

Network diagnostic tool for IPv4/IPv6 - traceroute/traceroute6   (created at Mar 06, 2024)   164  

Traceroute and Traceroute6 are both network diagnostic tools, but they are designed for different network protocols. Here's the key difference between them:Traceroute is for IPv4, while Traceroute6 is for IPv6. Depending on the network infrastructure you a...

chmod by type (directory and file permission)   (created at Jan 15, 2024)   177  

To change permission by type (directory or file), the easiest way can do it is using find command and do something as a follow up action. To change permission for file by 0664,Note that you should put space between {} and \ To change permiss...

Check network port is open or not on CentOS 7   (created at Jan 15, 2024)   106  

To check listening port on CentOS 7, you can do it by "netstat" simply, or you can try it by "ss". I was easily able to check which port is open or not on CentOS 7.The above shows its result like below:The above shows its result like below: 

Change MySQL port number for security purpose   (created at Jan 15, 2024)   140  

The default port that MySQL database server is running under Linux and Unix is 3306/TCP. In order to change the default MySQL/MariaDB database port in Linux, open MySQL server configuration file for editing by issuing the below command.Search for the line ...

CentOS warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory on CentOS 7   (created at Jan 15, 2024)   132  

If you faced an error "cannot change locale (UTF-8)", it can be simply solved to add following lines at /etc/environment

Set up an SMTP server on CentOS 7   (created at Jan 15, 2024)   120  

To set up an SMTP server on CentOS 7, you can use a popular mail server software called Postfix. Here are the steps to install and configure Postfix:1. Update System: Make sure your system is up-to-date by running the following commands:2. Install Postfix:...

Adding new cron job for automated processing on every 10 minutes on Centos 6.7   (created at Nov 02, 2015)   202  

The software utility Cron is a time-based job scheduler in Unix-like computer operating systems. People who set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or interv...

How to optimize MySQL automatically in CentOS Linux   (created at Mar 06, 2012)   206  

I am using CentOS Linux for service purpose. Main reason to use CentOS is cheaper hosting for private purpose. Actually MySQL requires periodical optimization process in my experiences, and I use /etc/cron.hourly usually for those kind of bath processing.&...

How to mount windows shared folder on Centos 6.8 - mount error 12 = Cannot allocate memory to the mount.cifs(8)   (created at Jan 31, 2018)   192  

In order to mount windows shared folder on CentOS, you need to install some packages like belowAnd the easiest way can mount the folder you want will be like belowIn case that you encounter error message like “mount error(12): Cannot allocate memory to the...

Configuring IP Address on Centos 6.7   (created at Nov 08, 2015)   127  

On Centos 6.7, you can check IP address configuration by ifconfig command as below:# ifconfig The below is the example of files on "/etc/sysconfig/network-scripts"# cd /etc/sysconfig/network-scripts# cd ls -Faltotal 220drwxr-xr-x. 2 root root 4096 Oct...

Set timezone and time on Centos 6.7   (created at Nov 02, 2015)   145  

When using OAuth 1.0a, it requires timestamp for authentication. The followings are the example of shell commands which can set time information. Setup timezoneTo set the timezone of your system clock do the following:# rm -rf /etc/localtime# ln -s /u...

How can I increase MySQL max connections?   (created at Mar 18, 2008)   64  

edit the file /etc/my.cnfThe file should look like this:Increase 100,000 to the number you desire.After the setting is applied, you should restart your database.