Tag Filter - (Ubuntu)

Testing TCP / UDP clients and servers with a Linux platform

Sometimes you need a quick method or mechanism to test either a TCP or UDP client or server works, this can be done with the Linux netcat application...

Filed under: Linux  Tags: Debian, Ubuntu

How to purge your exim emails and handle a Line mismatch error

Just a quick post mainly for my reference on how to purge your exim mail queue and handle the "Line mismatch:" error you can get sometimes when things aren't working as they should...

Filed under: Linux  Tags: Debian, Ubuntu

Windows7 PC read error when accessing SAMBA share through PDC

If your getting a connection reset by pair (full error text below) when trying to access your Linux SAMBA share running in SERVER mode (SHARE mode should not encounter this error) from your Windows7 PC with the SERVER authentication being handled by an external Primary Domain Controller (PDC) you will need to set the Local Security settings as follows to get things running correctly...

Filed under: Linux  Tags: Redhat, Debian, Ubuntu

Load, Reload or Refresh your fstab mounts

In order to load your new mount entries, reload, or refresh your fstab mount points you can do this simply with the mount command as follows...

Filed under: Linux  Tags: Debian, Ubuntu

How to get exim running as your MTA with a smarthost

If you need to configure exim 4 as your default MTA (mail transport agent) with an external smart host (SMTP) server then these instructions might help. This setup expect that the SMTP server requires no authentication. I've also tagged on some useful commands for clearing your mail...

Filed under: Linux  Tags: Redhat, Debian, Ubuntu

redhat error while loading shared libraries

If you get an shared library loading error similar to the following its probably due to RedHat not including the /usr/local/lib shared library directory...

Filed under: Linux  Tags: Redhat, Debian, Ubuntu

My quick NTP notes

These are just some quick notes on the Network Time Protocol (NTP) server for my reference and will get updated when time permits.

To install simply run...

Filed under: Linux  Tags: Debian, Ubuntu

Linux disk usage statistics

The following are some useful commands to figure out which directory is consuming all of your disk space...

Filed under: Linux  Tags: Debian, Ubuntu

How to reboot a locked up local or remote Linux box

On the odd occasion your Linux box will lock up and won't appear to be working, at this point you go darn I'd love to do a controlled shutdown, here's one way of rebooting your local or remote Linux box...

Filed under: Linux  Tags: Debian, Ubuntu

Command to list only directory names under Linux

Sometimes you need to only only list the directory names under Linux, a simple command for this is...

Filed under: Linux  Tags: Debian, Ubuntu

How to setup a 30 second Cron job

Sometimes you need a cron job at a frequency less than the minimum of 1 minute (60 seconds) that cron allows. One way of achieving this is by...

Filed under: Linux  Tags: Debian, Ubuntu

Find your ethernet driver under Debian

The following is a break down of the various Debian Etch commands that can be used to figure out what ethernet driver you are currently running...

Filed under: Notes, Linux  Tags: Debian, Ubuntu

How to stop those darn Cron emails

How to stop Cron related emails ? The alert emails are generated when cron has trouble runnning a particular script or command...

Filed under: Linux  Tags: Debian, Ubuntu

Debian VM network error SIOCSIFADDR no such device

A common error when moving your debian VMWare virtual machine (VM) or creating another instance on your local machine you will encounter at system restart the "SIOCSIFADDR: no such device" network configuration error...

Filed under: Linux  Tags: Debian, Ubuntu

Finding your Debian and Ubuntu install version

Need to figure out your Debian, Ubuntu, RedHat (CentOS) install version? What package version am I using? What version of Glib is installed? Here's what to do...

Filed under: Linux  Tags: Debian, Ubuntu
(default) 9 queries took 8 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1DESCRIBE `posts`17171
2DESCRIBE `comments`11111
3DESCRIBE `tags`220
4DESCRIBE `categories`221
5DESCRIBE `posts_tags`221
6DESCRIBE `categories_posts`220
7SELECT Post.* FROM posts Post, posts_tags pt, tags t WHERE t.tag = ('Ubuntu') AND t.id = pt.tag_id AND pt.post_id = Post.id AND Post.status = 1 ORDER BY Post.created DESC15152
8SELECT category, COUNT(*) AS cat_cnt FROM categories_posts c2p INNER JOIN categories Cat ON c2p.category_id = Cat.id GROUP BY category15151
9SELECT tag, COUNT(*) AS tag_cnt FROM posts_tags t2p INNER JOIN tags Tag ON t2p.tag_id = Tag.id GROUP BY tag49491