Category Archives: Linux

General linux issues that we had during work will be posted here!

XDebug not working Ubuntu PHP 5.6

I faced the issue that Ubuntu with PHP 5.6 didn’t load xDebug. I installed xDebug by entering: sudo apt-get install php5-xdebug First issue that I encountered was that the xdebug.ini was not added to apache. Enter: find / -name ‘xdebug.so’ … Continue reading

Posted in Linux, PHP | Leave a comment

Jail shell centos

Install rssh and edit config: 1.) Secure root: sudo yum install rssh 2.) Config RSSH # /etc/rssh.conf logfacility = LOG_USER allowscp #allowsftp #allowcvs #allowrdist #allowrsync Rssh user creation: http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html 3.) Create the sftp init script Let’s call it /etc/init.d/sftpod. Just … Continue reading

Posted in Linux | Leave a comment

mkdir(): Too many links in * on line *

By now I’m working on an foto upload script and encountered the following error: mkdir(): Too many links in * on line * When I took a deeper look at it I discovered sth: shell # ls -d */ | … Continue reading

Posted in Linux, PHP | Leave a comment

Linux HDD error

By today my ubuntu system clained: “Fehler zu beheben, I für Ignorieren, S, um das Einhängen” So it looks like my HDD crashed but I don’t know what to press because the screen is cut. By looking at ubuntu lang … Continue reading

Posted in Linux | 1 Comment

PXE server / DHCP + buildroot client

This week I created a custom linux for on one my clients using buildroot. In my buildroot system I needed to have an internet connection. So what I did is I configured DHCP3-Server and the other remaning stuff. What I … Continue reading

Posted in Linux | 1 Comment

DHCP3-server Autostart

If you find my blog you’re maybe very frustrated already about dhcp3-server and auto starting it. Please note that my “howto” requires that your dhcp server starts manually already. If it doesn’t start manually of cause it wouldn’t even start … Continue reading

Posted in Linux | 1 Comment

IP tables forward port / Mail port forward

In this tutorial / report I’m going to show you how could still use a mail server even if your provider has blocked the mail outgoing port 25. I did it with iptables. My solution is a “port forwarder”. Just … Continue reading

Posted in Linux | Leave a comment

Modrewrite without www to with www

Every time when I register a new domain the first thing that I do is to setup a new rule in my httpd.conf file. I redirect the domain from without www to with www. I do it because I would … Continue reading

Posted in Linux | 1 Comment

Buildroot pciutils & HAL

A few days I had some issue with buildroot that took a lot of time of me and my developer friend. The problem was the HAL manager detects the vendor but couldn’t print the name. By doing some reseach in … Continue reading

Posted in Linux | Leave a comment

Mysql repair all dbs

Repair & Optimize mysqlcheck -Aor -u root -p Repair Only mysqlcheck -Ar -u root -p Optimize Only mysqlcheck -Ao -u root -p

Posted in Linux | Leave a comment