Technology Insights

Linux: Setup TFTP Server on CentOS

The below steps will allow you to set up a TFTP server on Linux but specifically on a CentOS server. All you need to do is install a couple files with yum, enable the server, and restart xinetd.

  1. Install TFTP Server: Use the below syntax to install the TFTP server on CentOS.
  2. bash

    1. [root@centos-server ~]#yum install tftp-server

Technology Errors

[ERROR] Could not use /var/log/mysql-err.log for logging (error 13)

081004  2:35:11 [ERROR] Could not use /var/log/mysql-err.log for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.

The above error displayed in the mysqld.log file fter adding the below line to /etc/my.cnf under [mysqld].

log=/var/log/mysql.log

Before restarting mysql I created the file and applied the proper permissions by entering the commands below from the console.