Archive for the ‘Linux’ Category
11
Jan
2012
Today I upgraded my Fedora 15 installation to Fedora 16 with KDE 4.7.4. Although it was a pretty smooth transition this time, there were a few problems. One of them was that Konsole 4.7.4-2.fc16 was hiding underscores, which is pretty annoying when you're programming.

How the hell are you… Read more
IT, Linux | No Comments » | Tags: Fedora 16, KDE, Konsole
23
Dec
2011
On my Fedora 15 laptop, I'm almost always connected to several VPNs simultaneously. One VPN to my office or to my home (depending on where I am), one to the data center, one to a customer. These connections all have their own DNS server with their own suffix.
To make… Read more
Linux | No Comments » | Tags: dhcp, dns, dnsmasq, Fedora 15, NetworkManager
6
Dec
2011
When you're running Linux, pressing CTRL+ALT+F1 will bring you to console #1. If you want to go to the console of a vmware guest, this won't work, because the host will go to the console instead of the guest. Making it pretty hard to get to a console.
The correct… Read more
IT, Linux | No Comments » | Tags: Linux, VMWare
8
Nov
2011
This night, some scriptkiddie decided it'd be fun to overload one of my servers by bruteforcing the FTP. The FTP server taking 90% of the CPU made the whole server slow. Especially the Postfix mailserver experienced a huge delay.
Anyway, I just firewalled out the scriptkiddie and Postfix could start… Read more
IT, Linux | No Comments » | Tags: CentOS 5, Postfix, Syslog
4
Aug
2011
Step 1. Install ntp and synchronize clocks
We'll be using winbind, kerberos and ntlm to authenticate the user. This requires the clocks of the AD server and the proxy server to be synchronized.
[[code]]czoxMzM6XCJ5dW0gLXkgaW5zdGFsbCBudHA8YnIgLz4Kc2VkIC1pICZxdW90O3MvXnNlcnZlciAvI3NlcnZlciAvZyZxdW90OyAvZXR7WyYqJl19Yy9udHAuY29uZjxiciAvPgplY2hvICZxdW90O3NlcnZlciBZT1VSU0VSVkVSTkFNRSZxdW90OyAmZ3Q7Jmd0O1wiO3tbJiomXX0=[[/code]]
…
Read more
IT, Linux | No Comments » | Tags: Active Directory, Apache, CentOS, CentOS 6, Linux, mod_auth_ntlm_winbind, NTLM, Samba, wbinfo, winbind
3
Jul
2011
CentOS 5's and Fedora 15's base installations are pretty good prepared to use X11 over SSH. You just need to install one more package on the server you're connecting to: xorg-x11-xauth. According to yum info, the purpose of this package is:
xauth is used to edit and display the… Read more
Linux, Networking | No Comments » | Tags: CentOS, Fedora, Linux, ssh, x11, xorg-x11-xauth
15
Jun
2011
Installation of Nagios on Fedora 15 is easy as yum install nagios nagios-plugins* php nrpe. I only found one problem: Error: Could not read object configuration data!
The webserver runs as user apache, which cannot access /etc/nagios/objects by default. Chmod or chown the directory to fix it, or add user… Read more
IT, Linux | 4 Comments » | Tags: Fedora 15, Nagios
5
Jun
2011
Since WordPress 2.8, you can easily add your own links to the plugin page. This can be useful to jump right to the settings of the plugin. Example code:
<span style="color: #000000; font-weight: bold;">function</span> set_plugin_meta<span style="color: #009900;">(</span><span style="color: #000088;">$plugin_meta</span><span style="color: #339933;">,</span> <span style="color: #000088;">$plugin_file</span><span style="color: #339933;">,</span> <span style="color: #000088;">$plugin_data</span><span style="color: #339933;">,</span> <span style="color: #000088;">$status</span><span style="color: #009900;">)</span><span style="color: #009900;">{</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span>plugin_basename<span style="color: #009900;">(</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">)</span><span style="color: #339933;">!=</span><span style="color: #000088;">$plugin_file</span><span style="color: #009900;">)</span> <span
… Read more
IT, Linux | No Comments » | Tags: PHP, WordPress, WordPress plugins
5
Jun
2011
To start, I setup a clean, minimal Fedora 15 installation.
Install requirements
After installation, we install a few more tools that we need:
yum install asterisk asterisk-fax #base
yum install perl-Email-MIME libtiff-tools #for mailer script
yum install telnet mc vim ntp rsync #for convenience and backup
Synchronize… Read more
IT, Linux | No Comments » | Tags: Asterisk, Asterisk 1.8, fax, Fedora 15, FoIP, pstn, voip