Linux Blog

Getting a Hand With Bash

Filed under: General Linux — TheLinuxBlog.com at 8:27 am on Wednesday, October 1, 2008

If you use the bash shell, or as many know it the terminal on a regular basis then there is a package that you can install that will make your life a whole lot easier. Firstly I’ll tell you a little bit more about it.
When I first started using Linux a friend told me to install this package. I never really understood what it exactly did, but using the terminal was a whole lot easier then using the command prompt in Windows. I couldn’t explain it but things just worked. Features that were missing from Dos were there. There was awesome auto completion that knew what I wanted to type. Over the years I became more accustomed to using Linux and the Bash shell. I upgraded hardware, changed distributions and never really noticed what I was missing out on. The other day I was thinking, wouldn’t it be nice if I could press tab and this would auto complete. Then it hit me, the package my friend had told me to install when I first was starting out. The package happened to be exactly for this purpose. Since I was a novice and he was helping me out I didn’t really have the time to ask about the details of every single package, so here I am now letting you in on a little secret. (Read on …)

Upgrading Slackware to Current

Filed under: Linux Video Tutorials — TheLinuxBlog.com at 12:09 am on Tuesday, July 29, 2008

Hey there everyone!

I actually made this Linux video tutorial on how to upgrade Slackware to Current quite some time ago but forgot to post it. The sound quality of this video is not the best, so I’d adjust the volume if I were you.

Anyhow, here is the video:


on a side not there are more Linux Video Tutorials to come!

The New Gentoo

Filed under: General Linux,Linux Software — TheLinuxBlog.com at 9:23 am on Tuesday, July 8, 2008

I don’t keep up with releases of new Linux distributions really. If I did then I probably wouldn’t have time to write on this blog, but I noticed that Gentoo was released on Sunday the 6th of July (http://www.gentoo.org/news/20080706-release-2008.0.xml) I’ve never been a big Gentoo guy, I’ve dabbled with it but it never really caught my attention. I think it may be time for me to revisit Gentoo, at least in a virtual environment to check it out again. I do have a need for a small footprint, easy to maintain and expandable operating system. I have been using Slackware for simplicity and small footprint, but it is not the easiest to maintain or expand. Gentoo on the over hand can be configured well, updates easily and is pretty expandable through portage and emerge. The only thing that concerns me is the compile time, often the reason I want a minimal installation is for a project that has to run on less than adequate hardware. Using Gentoo rather than another distribution could be a problem since it seems like it takes for ever to install by copying and extracting files, let alone compile them.

Anyhow, have fun with the new Gentoo!

Apache “Directory index forbidden by Options directive:”

Filed under: Quick Linux Tutorials — TheLinuxBlog.com at 9:29 pm on Friday, June 27, 2008

This is a common problem with the Apache web server. It is considered a security risk to show the directory contents by default. Especially those in the root directory. The way to fix this is pretty simple, you first need to make sure that there are no -Index directives in any of the configuration files. In your httpd configuration directory grep with a line number for Options like so:

grep -n Options *

If you don’t see any -Indexes then its possible there are included files. Check these directories if you know them, if you don’t grep your configuration file for the Includes:

grep -n Include *

If you’re still getting the test page or a permission denied error after removing the directive that disables Indexes then it may be a permissions issue. Apache needs +x access for all users to enable directory listings. Change the permissions and it should work.

On Fedora there is a file called welcome.conf in the conf.d directory. This can be removed and if you have Options All set, then you should be good to go. On other distributions like Slackware it is easier to accomplish. I wouldn’t recommend allowing any sort of directory listing in a production environment but in my development case, where I only allow access to my test server on a per host basis this is not a big problem.

Also, remember to restart the server after making changes.

Hope this helps, if it doesn’t be sure to drop a comment!

The Linux Blog | New Category Added

Filed under: Linux Video Tutorials,The Linux Blog News — TheLinuxBlog.com at 3:00 am on Friday, February 1, 2008

I posted a Linux Video Tutorial on How to Partition Slackware earlier this morning. This is a follow up post, basically the point is I think that I’m going to test the waters in creating Linux Video Tutorials. A certain amount of effort goes into creating these videos and since I’m no video editing whiz it will probably be a slow building category. I’d like as much support as possible with this, those around me seem to think that it could do well and are impressed with the results but unfortunately when I upload them to YouTube its a different story. The quality of the How to partition Slackware video very poor. So in retaliation I am working on getting the necessary bandwidth to support high resolution videos. Stay Tuned for more information on these Linux Video Tutorials!

In other news January 2008 has been the best month for me so far. I would like to take a moment to thank everybody that visits on a regular basis for reading and ask for more comments. I havn’t made any money from this site yet (and nor do I plan to make masses) but feedback is always appreciated.

I’m looking for people to help with the daily blogging on Linux technologies so, if your interested shoot me an e-mail at owen -at- thelinuxblog.com

MPlayer Installer

Filed under: The Linux Blog News — TheLinuxBlog.com at 7:54 am on Monday, December 3, 2007

The current MPlayer Installer script that I uploaded to this site had a slight problem.

mplayer_setup.sh: line 9: rm-rf: command not found

I have fixed the spacing issue and re-uploaded the file.

Once I had done this I tried reinstalling again just to make sure it works and found out that it doesn’t work any more. The reason being the MPlayer package has been removed.

That being said I am going to be working on a new version of the Slackware Mplayer Installer but the first priority is to make the installer work. I will be swapping the essential codec pack to the all codec pack bundle. Then I will be working on making the installer more user friendly.

Hang tight, I should have it fixed soon. Once it is, I’ll make another post.