Category: Linux

How to enable mod_rewrite in Apache 2.2

The mod_rewrite is a module for Apache Web Server which allows you to rewrite and manipulate URLs which are sent to your webserver. In this tutorial I will explain how to enable mod_rewrite with Apache 2.2* in a Debian Linux. To enable the module, type this command: a2enmod rewrite Output: root@server:~# a2enmod rewrite Module r...
Continue reading...

How to change owner and group to a file

Before you try the codes below remember that these commands can only be used by the owner of the files or by root. To change the owner of a file or a directory type: #change owner to a file chown username file #change owner to a directory chown username directory To change the group to […]
Continue reading...

How to interrupt a command in foreground

If you started a command in foreground (not in background) and you want to interrupt it you can use this command: CTRL + C The above command will interrupt the previous started command and will return the shell prompt.
Continue reading...

Not replacing deleted config file /etc/phpmyadmin/apache.conf

If you installed phpmyadmin in your Debian and you receive this kind of errors: Not replacing deleted config file /etc/phpmyadmin/apache.conf Not replacing deleted config file /etc/phpmyadmin/config.footer.inc.php Not replacing deleted config file /etc/phpmyadmin/config.header.inc.php Not replacing deleted config file /etc/phpmy...
Continue reading...

Remove duplicate lines using uniq

Display all the lines sorted in alphabetic order: sort file_name Now show only the unique lines: sort file_name | uniq And finally save the unique lines in a new file: sort file_name | uniq > file_name_uniques
Continue reading...

Snort – Network Intrusion Detection and Prevention System

A NIDS (Network Intrusion Detection Systems) is a system for monitoring the network traffic to identify patterns of potentially hostile packages in response that can be carried out certain actions (notification via email, closing a connection, logging on a database). Snort is an open source network intrusion prevention system, c...
Continue reading...

11 Linux Firewall Software (Free)

List of Firewall Software (Free) for Linux Systems: IPCop Firewall 1.4.21 IPCop Firewall is a Linux firewall distribution geared towards home and SOHO (Small Office/Home Office) users. The IPCop interface is very user-friendly and task-based. IPCop offers the critical functionality of an expensive network appliance using stock, ...
Continue reading...