Author: Lucas

shape
shape
shape
shape
shape
shape
shape
shape
Standard

Handling .rar files (Ubuntu / Debian)

The “.rar” extension is a native format of the famous WinRar. Linux offers to install this extension, which is included in its repository. Open the terminal and run the following command: # apt-get install unrar If the installation was successful, you can now extract a “.rar” file. To extract from a “.rar” file, just run

Standard

Installing Dev. Environment (build-essential) in Debian

The build-essential package is a list containing various packages required for compiling Debian packages. The absence of some of the packages on this list results in “command not found” when trying to compile something. Using the “root” user, to install build-essential run the following commands: # apt-get update && apt-get upgrade # apt-get install build-essential

Standard

Add Column to Existing MySQL Table

To add the“age” column of type “int (11)” to the“student” table, simply use the following SQL query: ALTER TABLE aluno ADD idade int(11) the above query will add the column“age” last column, if you want to define the position of the column use the following SQL query: ALTER TABLE aluno ADD idade int(11) AFTER nome

Standard

Protect yourself from DOS attacks on Linux with mod_evasive

The following tutorial explains how to install the “mod_evasive” module for the Apache webserver on Debian, which temporarily blocks the client in the event of several attempted connections to the server, called a DOS attack. Installation: apt-get install libapache2-mod-evasive Create a directory to store the mod_evasive logs mkdir -p /var/log/apache2/evasive chown -R www-data:root /var/log/apache2/evasive Now

Latest news

Latest news directly from our blog.