Category Archives: Debian 6

Install and maintain packages with apt-get

Apt-get is a little tool that will let you install, remove, update your different softs or typically called system packages. Usually when you want to install a new soft on your Windows for example, you need to download it from a specific website. We are trying to avoid this on Linux. A well-maintained Linux system is the one with softs or packages coming from the same repository saved in a sources.list file on your system.

Read More →

Information about your Linux system distribution

It’s not always easy to look for your Linux distribution name and version. Sometimes you will need those information because you are asked, for example on a support forum to resolve your problems.

There are a few simple and useful commands that will help you for this.

Distribution name and version

This command will be helpful to find the distribution name and it’s version like Debian X, Fedora X, Ubuntu X, etc. Read More →

Useful Linux bash search commands

Here is some useful commands you should have around you when you’re looking for something on your hard drive.

Find in content files

This linux command can be used if you want to find something into content files. Be sure to be in the desired directory where you want to start the search. It can take a while because of the (-r) recursion. It will display number lines with the -n parameter. grep –help to find more parameters. Read More →

Debian Security Update – php5 – 05 Mar 2013

Several vulnerabilities have been discovered in PHP, the web scripting language. The Common Vulnerabilities and Exposures project identifies the following issues:

  • CVE-2013-1635 If a PHP application accepted untrusted SOAP object input remotely from clients, an attacker could read system files readable for the webserver.
  • CVE-2013-1643 The soap.wsdl_cache_dir function did not take PHP open_basedir restrictions into account. Note that Debian advises against relying on open_basedir restrictions for security. Read More →

Debian Security Update – Apache2 – 04 Mar 2013

Several vulnerabilities have been found in the Apache HTTPD server.

  • CVE-2012-3499 The modules mod_info, mod_status, mod_imagemap, mod_ldap, and mod_proxy_ftp did not properly escape hostnames and URIs in HTML output, causing cross site scripting vulnerabilities.
  • CVE-2012-4558 Mod_proxy_balancer did not properly escape hostnames and URIs in its balancer-manager interface, causing a cross site scripting vulnerability.
  • CVE-2013-1048 Hayawardh Vijayakumar noticed that the apache2ctl script created the lock directory in an unsafe manner, allowing a local attacker to gain elevated privileges via a symlink attack. This is a Debian specific issue. Read More →

How to update to last kernel your debian 6 OVH box ?

I have a kimsufi Debian server on OVH.com and I want to update its Linux Debian kernel. As said on http://help.ovh.co.uk/KernelInstall, it is very easy.

You need to retrieve with a wget command the two last bzImage and System.map files from ftp://ftp.ovh.net/made-in-ovh/bzImage/latest-production specially adapted for OVH servers. You should use production releases as they are more stable that test releases, usually … Read More →

Nginx Update failed on debian

I had a little problem with Debian that didn’t want to restart after an update. Of course, no site were working.

I had this message log:

nginx created a new file : /etc/nginx/sites-available/default

I just renamed it to default.old so it takes mine instead of the default one and it works again !

Hope it helped you !