Linux
January 28, 2012 Maris Udris Apache, FreeBSD, Linux,
#!/bin/bash # where to store final report? DEST=/var/www/reports/ips # domain name DOM=$1 # log file location LOGFILE=/var/logs/httpd/$DOM/access.log # die if no domain name given [ $# -eq 0 ] && exit 1 # make dir [ ! -d $DEST ] && mkdir -p $DEST # ok, go though log file and create report if [ [...]
Apache, IP, Scripts, Shell
January 28, 2012 Maris Udris Apache, FreeBSD, Linux,
Use this script to run Apache 2.x with mod_fastcgi. Install Apache 22 from FreeBSD port or using source code. The script is tested under FreeBSD and Debian / RHEL / CentOS Linux.
Apache, FastCGI, PHP
January 24, 2012 Maris Udris FreeBSD, Linux,
Shell script to restart MySQL server if it not working due to ANY causes. When script detects mysql is not running (it basically sends ping request to MySQL) it try to start using /etc/init.d/mysql script; and it sends an email to user indicating the status. This script must be run from Cron Job so that it can [...]
December 13, 2011 Maris Udris Linux, Linux news,
style='float:right;margin-top:0px;margin-left:5px;'>
href='http://www.cyberciti.biz/tips/category/iptables' title='See all Firewall related tips/articles'>
![]()
src='http://files.cyberciti.biz/cbzcache/3rdparty/firewall.png' border='0' />
class="drop_cap">Linux comes with a host based firewall called Netfilter. According to the official project site:
netfilter is a set of hooks inside the Linux kernel that allows kernel modules to register callback functions with the network stack. A registered callback function is then called back for every packet that traverses the respective hook within the network stack.
This Linux based firewall is controlled by the program called iptables to handles filtering for IPv4, and ip6tables handles filtering for IPv6. I strongly recommend that you first read our
href="http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/">quick tutorial that explains how to configure a host-based firewall called Netfilter (iptables) under CentOS / RHEL / Fedora / Redhat Enterprise Linux. This post list most common iptables solutions required by a new Linux user to secure his or her Linux operating system from intruders.


/etc/sysconfig/iptables, /var/log/messages, Centos iptables rules examples, Debian iptables rules examples, enterprise linux, Fedora iptables rules examples, firewall iptables, Iptables, iptables command, iptables rules example, iptables rules examples, kernel modules, Linux, Linux distribution, linux distro, Linux Embedded devices, linux kernel, Linux laptop, netfilter, RHEL iptables rules examples, Slackware iptables rules examples, Ubuntu iptables rules examples
November 24, 2011 Maris Udris Linux, Linux news,
style="float: right; margin-top: 0px; margin-left: 5px;">
title="See all GNU/Linux related tips/articles" href="http://www.cyberciti.biz/tips/category/linux">
![]()
src="http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png" alt="" border="0" />
class="drop_cap">Unhide is a little handy forensic tool to find hidden processes and TCP/UDP ports by rootkits / LKMs or by another hidden technique. This tools works under both Linux / Unix, and MS-Windows operating systems. From the man page:
It detects hidden processes using three techniques:
- The proc technique consists of comparing /proc with the output of
href="http://www.cyberciti.biz/faq/show-all-running-processes-in-linux/" title="Linux / Unix ps command">/bin/ps.
- The sys technique consists of comparing information gathered from
href="http://www.cyberciti.biz/faq/show-all-running-processes-in-linux/" title="Linux / Unix ps command">/bin/ps with information gathered from system calls.
- The brute technique consists of bruteforcing the all process IDs. This technique is only available on Linux 2.6 kernels.


amd64, bruteforcing, dependency tree, forensic tool, hidden processes, kernels, Linux, lkms, ms windows operating systems, netstat, netstat command, posix, process ids, security projects, ss command, tcp udp ports, unhide-tcp command, UNIX
November 24, 2011 Maris Udris Linux, Linux news,
style='float:right;margin-top:0px;margin-left:5px;'>
href='http://www.cyberciti.biz/tips/category/mozilla' title='See all Mozilla FireFox related tips/articles'>
![]()
src='http://files.cyberciti.biz/cbzcache/3rdparty/firefox.png' border='0' />
class="drop_cap">The Adobe Flash Player plugin is use for viewing multimedia, and streaming video and audio, on a Firefox web browser. The same plugin is used by Google chrome and other browsers. Keeping your third-party plugins such as flash player up to date helps Firefox run safely and smoothly.


adobe flash player, adobe flash plugin, Debian Firefox Upgrade Flash Player, Debian Google Chrome Upgrade Flash Player, Debian Upgrade Flash Player, firefox, flash support, Linux, Linux Firefox Upgrade Flash Player, Linux Google Chrome Upgrade Flash Player, Linux Upgrade Flash Player, Mozilla, root user, terminal window, ubuntu, Ubuntu Firefox Upgrade Flash Player, Ubuntu Google Chrome Upgrade Flash Player, Ubuntu Upgrade Flash Player, web browser
October 13, 2011 Maris Udris Linux, Linux news,
style='float:right;margin-top:0px;margin-left:5px;'>
href='http://www.cyberciti.biz/tips/category/sys-admin' title='See all UNIX/Linux SysAdmin related news/tips'>
![]()
src='http://files.cyberciti.biz/cbzcache/3rdparty/sysadmin-logo.jpg' border='0' />
class="drop_cap">Our FAQ section is updated in last few days with new howtos:
-
href="http://www.cyberciti.biz/faq/linux-rhel-fedora-centos-lighttpd-networkerror-eckey-undeclared/">Lighttpd: network.c:483: error: ‘EC_KEY’ undeclared (first use in this function) Error and Solution
-
href="http://www.cyberciti.biz/faq/linux-unix-rhel-centos-memcache-failedto-setrlimit/">memcached: Failed To Set rlimit For Open Files Error and Solution
-
href="http://www.cyberciti.biz/faq/mplayer-shuffle-ubuntu-redhat-fedora-debian-bsd/">Mplayer Shuffle Command: Play Files In Random Order
-
href="http://www.cyberciti.biz/faq/linux-unix-howto-check-if-bash-variable-defined-not/">Bash Shell: Find Out If a Variable Is Set or Not
-
href="http://www.cyberciti.biz/faq/rhel-centos-debian-fedora-mount-partition-label/">Linux: Mount Disk Partition Using LABEL
-
href="http://www.cyberciti.biz/faq/howto-empty-linux-unix-directory-delete-all-files/">Linux / UNIX: HowTo Empty Directory
-
href="http://www.cyberciti.biz/faq/unix-linux-bsd-applesox-delete-remove-files-from-tar/">Linux / Unix: Tarball Delete ( remove ) File
-
href="http://www.cyberciti.biz/faq/unix-linux-import-file-in-ksh-call-ksh-script/">KSH: Import File With Variables and Functions
-
href="http://www.cyberciti.biz/faq/debian-change-hostname-permanently/">Debian Linux: Change Hostname / Computer Name Permanently
-
href="http://www.cyberciti.biz/faq/unix-appleosx-linux-bsd-agent-admitted-failuretosignusingkey/">SSH: Agent Admitted Failure To Sign Using The Key Error And Solution
-
href="http://www.cyberciti.biz/faq/linux-unix-bsd-appleosx-ksh-csh-bash-find-hidden-dotfiles/">Linux / Unix: Bash Find Matching All Dot Files
-
href="http://www.cyberciti.biz/faq/nfs4-server-debian-ubuntu-linux/">Linux / Unix: Find Out What tty I’m Using
-
href="http://www.cyberciti.biz/faq/mount-nfs4-reason-given-by-server-no-such-file-directory/">Debian / Ubuntu Linux: Setup NFSv4 File Server
Make the most of nixCraft FAQ Section
Get intimated about our new howtos / faqs as soon as it is released via
href="http://www.cyberciti.biz/faq/feed/rss/?k=1">RSS feed OR follow us on
href="twitter.com/#!/nixcraft">twitter.


disk partition, howtos, Linux, linux setup, memcached, Sys admin, unix howto
September 5, 2011 Maris Udris Linux, Linux news,
style='float:right;margin-top:0px;margin-left:5px;'>
href='http://www.cyberciti.biz/tips/category/sys-admin' title='See all UNIX/Linux SysAdmin related news/tips'>
![]()
src='http://files.cyberciti.biz/cbzcache/3rdparty/sysadmin-logo.jpg' border='0' />
class="drop_cap">Our FAQ section is updated in last few days with new howtos:
-
href="http://www.cyberciti.biz/faq/redhat-fedora-enable-ntfs3g-support/">RHEL / CentOS Linux: Mount and Access NTFS Partition
-
href="http://www.cyberciti.biz/faq/rhel-fedora-debian-ubuntui-linuxjbd-barrier-sync-failed/">JBD: Barrier-based Sync Failed On md0-8 – Disabling Barriers Error and Solution
-
href="http://www.cyberciti.biz/faq/apple-osx-move-bottom-dock-top-menu-bar-second-monitor/">Mac OS X: Move the Dock and Menu Bar To External Display
-
href="http://www.cyberciti.biz/faq/redhat-scientific-fedora-install-gpass-rpm-yum-command/">CentOS / RHEL: Install gpass Password Manager For GNOME2 Desktop
-
href="http://www.cyberciti.biz/faq/redhat-linux-yum-install-flash-player-for-firefox/">RHEL 6 / CentOS 6: Install Adobe Flash Player For Firefox Browser
-
href="http://www.cyberciti.biz/faq/rhel-centos-linuxrpmbuild-error-installed-but-unpackaged-files-found/">rpmbuild: error: Installed (but unpackaged) file(s) found Solution
-
href="http://www.cyberciti.biz/faq/installing-slackware-linux-bootable-usb-stick/">HowTo: Create Slackware Linux Bootable USB Pen Drive
-
href="http://www.cyberciti.biz/faq/linux-clearing-out-master-boot-record-dd-command/">Linux Delete / Remove MBR
-
href="http://www.cyberciti.biz/faq/linux-download-manager-authentication-credentials-username-password/">Linux Download Password Protected Large ISO Images [ Authentication Credentials ]
-
href="http://www.cyberciti.biz/faq/openbsd-install-firefox-web-browser/">OpenBSD: Install Firefox Web Browser
FAQ & Howtos RSS Feed
Get intimated about our new howtos / faqs as soon as it is released via
href="http://www.cyberciti.biz/faq/feed/rss/?k=1">RSS feed.


adobe flash player, authentication credentials, FAQ, howtos, iso images, Linux, linux bootable, linux mount, mac os x, password manager, pen drive, rpmbuild, Sys admin, web browser
September 5, 2011 Maris Udris Linux, Linux news,
style='float:right;margin-top:0px;margin-left:5px;'>
href='http://www.cyberciti.biz/tips/category/sys-admin' title='See all UNIX/Linux SysAdmin related news/tips'>
![]()
src='http://files.cyberciti.biz/cbzcache/3rdparty/sysadmin-logo.jpg' border='0' />
class="drop_cap">Our FAQ section is updated in last few days with new howtos:
-
href="http://www.cyberciti.biz/faq/redhat-fedora-enable-ntfs3g-support/">RHEL / CentOS Linux: Mount and Access NTFS Partition
-
href="http://www.cyberciti.biz/faq/rhel-fedora-debian-ubuntui-linuxjbd-barrier-sync-failed/">JBD: Barrier-based Sync Failed On md0-8 – Disabling Barriers Error and Solution
-
href="http://www.cyberciti.biz/faq/apple-osx-move-bottom-dock-top-menu-bar-second-monitor/">Mac OS X: Move the Dock and Menu Bar To External Display
-
href="http://www.cyberciti.biz/faq/redhat-scientific-fedora-install-gpass-rpm-yum-command/">CentOS / RHEL: Install gpass Password Manager For GNOME2 Desktop
-
href="http://www.cyberciti.biz/faq/redhat-linux-yum-install-flash-player-for-firefox/">RHEL 6 / CentOS 6: Install Adobe Flash Player For Firefox Browser
-
href="http://www.cyberciti.biz/faq/rhel-centos-linuxrpmbuild-error-installed-but-unpackaged-files-found/">rpmbuild: error: Installed (but unpackaged) file(s) found Solution
-
href="http://www.cyberciti.biz/faq/installing-slackware-linux-bootable-usb-stick/">HowTo: Create Slackware Linux Bootable USB Pen Drive
-
href="http://www.cyberciti.biz/faq/linux-clearing-out-master-boot-record-dd-command/">Linux Delete / Remove MBR
-
href="http://www.cyberciti.biz/faq/linux-download-manager-authentication-credentials-username-password/">Linux Download Password Protected Large ISO Images [ Authentication Credentials ]
-
href="http://www.cyberciti.biz/faq/openbsd-install-firefox-web-browser/">OpenBSD: Install Firefox Web Browser
FAQ & Howtos RSS Feed
Get intimated about our new howtos / faqs as soon as it is released via
href="http://www.cyberciti.biz/faq/feed/rss/?k=1">RSS feed.


adobe flash player, FAQ, Sys admin
July 12, 2011 Maris Udris Linux, Linux news,
style='float:right;margin-top:0px;margin-left:5px;'>
href='http://www.cyberciti.biz/tips/category/linux' title='See all GNU/Linux related tips/articles'>
![]()
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' />
class="drop_cap">XPenguins is a program for animating cute cartoons animals in your root window. By default it will be penguins they drop in from the top of the screen, walk along the tops of your windows, up the side of your windows, levitate, skateboard, and do other similarly exciting things. Now you can send an army of cute little penguins to invade the screen of someone else on your network.
/>
/>


ascii, cartoons animals, cute cartoons, desktop fun, lemmings, Linux, Linux desktop, little penguins, root window, sonic the hedgehog, steam locomotive, swarms, turtles, unix desktop, wget