Fedora

Free Linux distribution from RedHat, much more up to date. Better for Desktop.

Install Tomcat on Fedora or CentOS

To install tomcat5 (or tomcat 6) on Fedora 14 or CentOS,

  1. Run yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps (or to install tomcat6 run yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps )
  2. Your configuration files are in /etc/tomcat5. (or /etc/tomcat6)

Solr for two sites running Drupal 6 Search on Tomcat 6 / CentOS 6

Note this tutorial sets up two seperate solr applications in tomcat, not multi core in one java application.

ApacheSolr for Drupal 6 improves on the out-of-the-box search experience for Drupal users. The easiest way to get Solr running on your Drupal web site is to use the hosted service provided by Acquia; it is way easier than running your own Solr. You simply point your queries to their Solr server and you’re done.

How to setup Home Video surveillance with IPcam webcam

When my sons IPod was taken from our house I decided it was time to setup video surveillance of our home.

I first select the IPcam FI8918w and have it FTP images to my Fedora server.

For my Android phones and Tablets IP Cam Viewer is a great application.  The pro version does support two way audio and cost $3.99

I found out that audio support on the Iphone is limited with this camera, the Baby monitor app does include audio but it costs $6.99.

To get audio to work with Firefox you must first download and install the Mozilla plugin from videolan.org as mentioned on this support page.

Adding Swap Space to Linux without Rebooting

Today I got an error in MySQL "InnoDB: Error: connot allocate   bytes... you should increase swap"
I wanted to add more swap you can do it with a file like below or if you have space create a partition or logical volume (lv).

So, here's a simple step to add a swap space (Read more for details):

Fedora 14 Install and configure tips

I like to start by following these guides, with a few short cuts and additions:

The Perfect Desktop - Fedora 14 i686 (GNOME)

This is a great screen by screen guide to help you download and install Fedora 14

easyLife

After installing Fedora 14 the big short cut is to use easyLife, download and install easyLife for Fedora 14 here.  This provides one application that you can use to add all the "not completly opensource" stuff you really need to make Fedora useful.  Things like the following list are just a couple of clicks away:

Upload progress PECL uploadprogress library

In my Drupal status report I get the following message:

Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library

So I decided to enable this on my Fedora server (same for CentOS), since I will probably need to do this on more servers, here are the steps it takes:

# yum install php-devel
# pecl install uploadprogress

if you get: pecl: command not found then you will need to run:

# yum install pear

Note: I found out this did not work because the name is now php-pear so use:

# yum install php-pear

Which is better #Fedora 13 or #Ubuntu 10.04

The state of the Linux desktop

I'm a fan of Fedora and Ubuntu, but for different reasons. Fedora, while unpolished, is a solid distro for adventurous Linux users and developers who want to be on the bleeding edge. Power users deserve a good distro that is usable and feature-complete without a lot of polish or distraction - and that's what Fedora is.
Ubuntu is the flip side. It's very polished, closing in on Apple in terms of usability and applications. It's not quite there yet, but getting closer and certainly a persuasive distro for people switching from Windows. If you're looking to get a friend started with Linux, don't hesitate to begin with Ubuntu.

Fedora 11 add remi repository

To add this repo:

wget http://rpms.famillecollet.com/remi-release-11.rpm
rpm -Uvh remi-release-11.rpmwget http://rpms.famillecollet.com/remi-release-11.rpm
rpm -Uvh remi-release-11.rpm

To update Firefox, you must enable the repo, as it is disabled by default

yum --enablerepo=remi update firefox

Check for RPM packages available in yum

To get a list of all available php modules, use this command (as root):

yum list | grep php-

Install awstats web site statistics on Fedora

First install awstats with RPM or from the Add/Remove Software menu.

Configure Awstats

Then run the following command to configure awstats

sudo /usr/share/awstats/tools/awstats_configure.pl

You will be prompted to:

  1. supply the path to your /etc/httpd/conf/httpd.conf file.
  2. want to create a new config file? y
  3. name the config: mydomain.com
  4. path to the config file: /etc/awstats

Automate updating the awstats

Finally I added the following to a script file usage.sh and called it from a cron entry every week:

Fedora 12

Install Guide for Fedor 12

Easy Live

There is a great third party product for Fedora called Easy Life that you can download that installs and configures a ton of settings by default for you (ubuntu users may compare it to the deceased automatix).

It does the following

Create a samba mount

This will allow you to connect to a smb share by createing a mountin fedora

 mount -t cifs //hostname/sambashare /mountdir -o username=username

To see samba shares on a server

Ten outstanding Linux backup utilities

  • Date: July 21st, 2009
  • Author: Jack Wallen

A dependable backup tool is not a luxury - everyone needs to have one. But that doesn’t mean you need to spend a fortune to get the feature set that meets your needs. Jack Wallen introduces some great Linux backup solutions, including a few that are cross platform.


Whether you’re in the IT industry or you’re a computer power user, you need to have a backup tool at the ready. With this tool, you will need scheduled backups, one-time backups, local backups, remote backups, and many other features.

Fedora 11 one or more disks are failing

Problem:

SMART stores various statistics about your disks. I believe taht the Palimpset disk utility is being overly pedantic. All disks have errors - thats a fact of manufacturing. Thankfully the firmware that runs your hard drive is clever enough to be able to work around errors without you even noticing them.

Syndicate content