Home » Archive

Articles in the Linux Administration Category

Cross-Platform, Linux Administration, Web Development »

[25 Jun 2009 | No Comment | ]

Today, I came across a document where I had to type a degree symbol in Linux. Thanks to this post at Arch Linux Forums, it was painless to find out how. So here it is:
In windows, apparently you hold down Alt+0176.
Linux is different and to achieve the same, hold down Ctrl+Shift and type u+00b0, though if you are writing for html, the correct symbol is
°
Alternatively you can copy and paste it from this table on wikipedia, which includes other useful symbols like Pound, Registered and Copyright.
It will actually type the …

Linux Administration, Virtualization (Virtualisation), Web Development »

[10 Jun 2009 | 3 Comments | ]

Pluf is a PHP Framework developed as a port of Django to PHP. It claims to be simple, elegant and easy for people used to Django but in PHP5 so easy to deploy all over the world.
After reading the documentation, the file layout and concepts are all quite similar to django, though a downside is that we lose much of the beauty of the Python language and it doesn’t seem to have the Admin interface that makes django so delightful to work with.
Here is a sample of a helloworld, which …

Apache, Bash, Javascript, Linux Administration, Web Development »

[1 Jun 2009 | 12 Comments | ]

So, you have used Website Optimization Analyzer or you installed Yslow for Firefox or you discovered somewhere else that compressing your files (html, javascript & css) is a good thing to do. Unfortunately, it’s not always as easy as it looks to do this.
In Apache web hosting environments, there is a module called mod_deflate (for 2.x versions) or mod_gzip (for 1.3) versions. This is generally the easiest way to get content compressed. As in my last post about Magento, you should normally be able to enable this safely with the …

Linux Administration »

[1 Jun 2009 | No Comment | ]

Hopefully this helps me or someone else with the same issue in the future

suhosin[25917]: ALERT – configured POST variable limit exceeded – dropped variable ‘task_com_morfeoshow[]‘ (attacker ‘xxx.xxx.xx.xxx’, file ‘/home/user/public_html/administrator/index.php’)
in your php.ini (or suhosin.ini depending on your setup)
[suhosin]suhosin.post.max_vars = 2000suhosin.request.max_vars = 1000

Technorati Tags: suhosin, apache, joomla

Internet Goodness, Linux Administration, Open Source, Video, Virtualization (Virtualisation) »

[1 Apr 2009 | 4 Comments | ]

For my future reference. DimDim is an open source web conferencing and meeting software with the following features:

No Install to Host/Join meetings
Easy Share Screens&Webpages
Audio & Video Conferencing
Present PowerPoint and PDFs
Private & Public Chat
Whiteboard & Annotations
Record and Playback Meetings
Open Source and open APIs
SynchroLive Co-Browsing
Free Recording & Archiving
Mac & PC Screen Sharing (no Linux??)
Multiple Presenters
Free Teleconferencing Calls
Secure, Private Meetings
Faster and Easier than ever
No Install to Host meetings

It’s available as a vmware virtual appliance or for those of you using Qemu / KVM / Xen, you should be able to convert the image …

Apache, Linux Administration, Open Source, Web Development »

[29 Jan 2009 | No Comment | ]

Hopefully this helps me or someone else with the same issue in the future

suhosin[25917]: ALERT – configured POST variable limit exceeded – dropped variable ‘task_com_morfeoshow[]‘ (attacker ‘xxx.xxx.xx.xxx’, file ‘/home/user/public_html/administrator/index.php’)
in your php.ini (or suhosin.ini depending on your setup)
[suhosin]suhosin.post.max_vars = 2000suhosin.request.max_vars = 1000

Technorati Tags: suhosin, apache, joomla

Bash, Linux Administration, Open Source »

[19 Oct 2008 | 2 Comments | ]

Sometimes I forget what power there is in free software. I put this quickie together the other day. Just be aware that it won’t handle any spaces in the PDF filename.
for i in *.pdf;do pdfimages $i ${i%.*};done && for i in *.ppm;do ppmtojpeg $i >> ${i%.*}.jpg;done; rm -f *.ppm
images are exported as
-00n.jpg – ie: the n’th image found in the pdf.

Linux Administration »

[29 May 2008 | No Comment | ]

Here ’tis
w | awk ‘{a[$1]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
stumbled on this issue with a HP-UX server we run where the maxusers kernel paramater is set to 600 (512 by default). To change this setting, requires a reboot of the server (something not easily achievable at midday with 600 users logged in). You can change kernel parameters via SAM in HP-UX
This is a slight modification of the 1 liner that sorts your bash history by commands used:
history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” …

Cross-Platform, Linux Administration, Open Source, Video »

[29 May 2008 | 6 Comments | ]

I haven’t spent much time with Video editing / DVD authoring on either Linux or Windows. Mostly because I don’t watch much video except for a wierd philia for watching Cop Chases on Youtube or at the other end of the spectrum, watching the extremely interesting TedTalks using Miro or Google Tech Talks.
Anyway, my sister-in-law purchased a Mini-DVD Sony camera. It just so happens that Linux doesn’t support this format at the moment (though Windows 2003 doesn’t natively either), so be warned. Anyway, we managed to use Sony’s software to …