Quantcast
Channel: glossopgeek » Linux
Browsing all 31 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Qmail Mail Queue

Qmail. Someone’s got to use it and sadly it seems to be the preferred MTA for Plesk or CPanel. Given my deep love for control panels, to view the queue size and mails in QMail: Queue Size:...

View Article



Image may be NSFW.
Clik here to view.

EPEL Repo Install

Centos 5 (i386) rpm -Uvh http://mirrors.ukfast.co.uk/sites/dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm Centos 6 (x86_64) rpn -Uvh...

View Article

Image may be NSFW.
Clik here to view.

Find Mail Source With QMail/Plesk

Shamelessly taken from http://kb.parallels.com/1711 There is a way to determine from what folder the PHP script that sends mail was run. Note: Depending on your OS and Plesk version, the paths can...

View Article

Image may be NSFW.
Clik here to view.

Qmail Change Outbound Interface

Like with any decent MTA, you should be able to change the bind from which mails are sent from.   Surprisingly, Qmail actually has this functionality!  You’ll need to create a plain text file with the...

View Article

Image may be NSFW.
Clik here to view.

Spam Checker

Spam Checker Handy website for parsing emails to see what SpamAssasssin score they might get

View Article


Image may be NSFW.
Clik here to view.

Exim Cheatsheet

Exim Cheatsheet

View Article

Image may be NSFW.
Clik here to view.

Parallels Plesk PCI Compliance

Plesk is handy enough to include a couple of scripts for assisting users in becoming PCI compliant (thankfully) /usr/local/psa/admin/bin/pci_compliance_resolver –help It will give options for panel,...

View Article

Image may be NSFW.
Clik here to view.

WordPress File Permissions

In the interests of keeping WordPress as locked down as is reasonably possible, directory and file permissions should be set accordingly: find ~/public_html -type d -exec chmod 755 {} \; find...

View Article


Image may be NSFW.
Clik here to view.

Magento Database Credentials Location

If you need to update the database configuration for Magento the configuration file is held in: <doc_root>/app/etc/local.xml This is very useful following operations such as new databases,...

View Article


Image may be NSFW.
Clik here to view.

Plesk 10 Turn On SpamAssassin For All Accounts

for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e “select concat(mail.mail_name,\”@\”,domains.name) as address from mail,domains,accounts where mail.dom_id=domains.id and...

View Article

Image may be NSFW.
Clik here to view.

Rude Linux Command

Somewhat dark, but hey-ho. Date; wine; talk; touch; unzip; touch; strip; gasp; finger; gasp; groupadd; mount; fsck; nice; more; yes; wait; watch; gasp; man paste; eject; gasp; umount; make clean; kill;...

View Article

Image may be NSFW.
Clik here to view.

Plesk Rebuild Web Config

To rebuild Plesk’s web config: Plesk 11 /usr/local/psa/admin/bin/httpdmng –reconfigure-all   Older Versions /usr/local/psa/admin/bin/websrvmng -a   Filed under: Linux Tagged: httpdmng, linux, plesk,...

View Article

Image may be NSFW.
Clik here to view.

Kernel Housekeeping

Linux loves a bit of housekeeping and the kernel is no exception.   This is often noticed as the generally small /boot partition fills up.  You could manually purge older kernel versions but RHEL makes...

View Article


Image may be NSFW.
Clik here to view.

MySQL Through SSH Tunnel

Below is my way of connecting to a remote MySQL server via an SSH tunnel. Fairly self explanatory but I can never quite remember the exact format for SSH tunnels. ssh -f -L 3307:127.0.0.1:3306...

View Article

Image may be NSFW.
Clik here to view.

rsync Bandwidth Limit

It’s the –bwlimit switch. For example: rsync -avz /home/user/Music foo@bar.com:/dest/to/new/folder --bwlimit=2000 The bwlimit switch is in Kb/s Filed under: Linux Tagged: bandwidth, limit, linux,...

View Article


Image may be NSFW.
Clik here to view.

rSync Progress

To show the status of rsync transfers as they happen use the –progress switch. rsync -aWv /home/user/Music foo@bar.com:/dest/to/new/folder –progress   Music/Artist/Album/05-Song.mp3 7136020 100%...

View Article

Image may be NSFW.
Clik here to view.

Linux Passwords

Just a small one for those occasional times when user management is needed. To force a user to change their password upon next login # chage is the command chage -d 0 [username] Occasionally you get...

View Article


Image may be NSFW.
Clik here to view.

Renaming Volume Groups

After getting my hands on a fresh OS install from a managed hosting company (who shall remain nameless), the LVM set up looked like this: ]# df -h Filesystem Size Used Avail Use% Mounted on...

View Article

Image may be NSFW.
Clik here to view.

-bash: /bin/rm: Argument list too long

Always one to make you smile/growl when trying to delete the contents of a directory (depends on how it got in that state I guess!) rm -rf clientmqueue/* -bash: /bin/rm: Argument list too long find,...

View Article

Image may be NSFW.
Clik here to view.

WordPress Import Failure

When trying to import a WordPress XML dump from another instance, after submitting the upload it returned a blank screen containing only “Import WordPress”. A quick check of the php logs showed the...

View Article
Browsing all 31 articles
Browse latest View live




Latest Images