Tag: linux

Installing rrdtool using yum

Between apt-get, up2date, yum or smart and a few more, which one is the best?. Actually I dont have favorite package manager. I just use whatever the server already has on board. If on Ubuntu, apt-get is more than enough. Right now I’m working on Centos 5 that need rrdtool […]

Steps how to install Cacti on CentOS 5.2 + DirectAdmin

First of all, I’m not an Linux/DirectAdmin expert. I just played around with them and found the way to do it. I tried to install Cacti on my server but I couldn’t find a complete instruction to do it. So, I just gathered all information I found into one place […]

Shell Script To Update Spamhaus Lasso Spam Database for PF Firewall

#!/bin/sh # A shell script update Spamhaus Lasso Spam Database for PF Firewall # Put this script at /etc/periodic/daily/10.drop-lasso file. # Tested under FreeBSD 6.x and 7.x and PF Firewall # ————————————————————————- # Copyright (c) 2007 nixCraft project <http://www.cyberciti.biz/fb/> # This script is licensed under GNU GPL version 2.0 or […]

Linux: 25 PHP Security Best Practices For Sys Admins

PHP is an open-source server-side scripting language and it is a widely used. The Apache web server provides access to files and content via the HTTP OR HTTPS protocol. A misconfigured server-side scripting language can create all sorts of problems. So, PHP should be used with caution. Here are twenty-five […]

20 Linux Server Hardening Security Tips

Securing your Linux server is important to protect your data, intellectual property, and time, from the hands of crackers (hackers). The system administrator is responsible for security Linux box. In this first part of a Linux server security series, I will provide 20 hardening tips for default installation of Linux […]

Linux x86_64: Detecting Hardware Errors

The Blue Screen of Death (BSoD) is used by Microsoft Windows, after encountering a critical system error. Linux / UNIX like operating system may get a kernel panic. It is just like BSoD. The BSoD and a kernel panic generated using a Machine Check Exception (MCE). MCE is nothing but […]

Linux or UNIX Recover deleted files – undelete files

If you rum rm command accidentally and deleted important a file, recovery becomes critical under Linux and/or UNIX oses. Since Linux is multiuser and multitasking operating system other users/process can overwrite deleted file disk space. So you need to take down system to single user mode. First use wall (only […]

List of LINUX troubleshooting commands/tools part # 1

Generic troubleshooting tips 1) Use tail –f to watch log file in real time, advantage is simple you can spot error or warning message in real time. tail –f /path/to/log/file Example(s): # tail –f /var/log/maillog 2) Use telnet command to see if you get response or not. Sometime you will […]

AirVideo Server under Linux

AirVideo is a Client/Server-Mediaplayer, which allows you to stream videos directly from your PC to your iPhone. Its server software started as Windows-/Mac-only but now there’s also a Linux server module available, too. All details are explained in their user forums. Compile the special FFmpeg under Ubuntu download the customized […]

Roundcube Fatal error: ini_set/set_include_path does not work.

Try to drop a php.ini file into the root RC directory and putting all of the PHP settings in there. This works depending on how the server is set up of course. Here is mine: Code: display_errors = Off log_errors = On error_log = logs/errors zlib.output_compression = Off magic_quotes_gpc = […]