Why does my linux server boot so slow? (systemd)
Some users have asked me in the past: "Why does my server boot so slow?" or "My server takes forever to boot -- why?" Typically, the reason is the processes that start up when the...
The only one that seems to be having fun.
Some users have asked me in the past: "Why does my server boot so slow?" or "My server takes forever to boot -- why?" Typically, the reason is the processes that start up when the...
When attempting to update sendmail configuration, some times an error will be received using m4: # m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf m4:/etc/mail/sendmail.mc:10: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory # m4 sendmail.mc > sendmail.cf m4:sendmail.mc:10:...
If your servers CPU seems to be running slow, it may be clocked down via the default installed CPUSPEED Daemon. This will re-clock your CPU (on supported models) to save power when it's not in...
For CentOS / RedHat -- if you want to see which modules are installed and/or enabled for Apache, run the following command: # apachectl -M For Debian and/or Ubuntu, you're probably running Apache2 so instead...
Came across a server with MySQL crashing. It was a master server that replicates to a slave. It was out of drive space as there were a ton of these: -rw-rw---- 1 mysql mysql 1073795569...
Quick example on removing blank lines from a file for future reference: # cat testfile.txt line1 line2 line3 line4 line5 line6 # sed '/^$/d' -i testfile.txt # cat testfile.txt line1 line2 line3 line4 line5 line6
So far I've found for CentOS and RedHat you just need to get a listing of the directory /dev/disk/by-uuid/ as shown here: [root@uno vhosts]# ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 9 Jan...
Linux: Sort du -h (human-readable) Output By Size. Useful for sorting files by size in human-readable. Nice when used in conjunction with Finding large files and then sorting them by actual size.