Tag Archives: lamp

Expand Your OwnCloud Server Usefulness

The Following instructions are no longer valid in ownCloud 9+

We love our ownCloud server here on the farm. As we’ve discussed before, it keeps the farm and family well organized and secure.

With ownCloud running on a LAMP stack, let’s take advantage of that server by adding other useful goodies to it!

The root of your www server directory will contain a directory called owncloud, and there is nothing to keep you from adding other handy web-type resources to it. Here on the farm, we  use our server to also store all of our equipment manuals that we may need to view quickly.

In today’s example, I have a rather extensive web page I built up years ago for my antique Wheel Horse tractor. The page contains dozens of charts, manual sheets, parts lists etcetera. Having all that information available anywhere on my network is really handy!

As seen in this example, my www root has an OwnCloud directory, and the index.html file just does a quick redirect to the ownCloud instance. I do it this way so I can easily add new resources, like the tractor directory as shown.

Root www directory

Root www directory

Once you have your new web resource uploaded to your server, you will then go to the ownCloud Admin panel to add the external link to your ownCloud software. Note that you need to link using a secure connection, so don’t forget the https://

OwnCloud Configuration

OwnCloud Configuration

Once you’ve told ownCloud about your new page, you will find that page in the ownCloud main menu! In this example, Tractor.

New Menu Item Called Tractor

New Menu Item Called Tractor

Clicking on my new Tractor menu item, takes me to an embedded page of my tractor information, with the ownCloud menu still handy at the top, so you can check your calendar or start making your parts list for repairs.

Tractor manuals, I've collected for my old Wheel Horse.

Tractor manuals, I’ve collected for my old Wheel Horse.

I’ve got separate web pages on my ownCloud install for most of the equipment I’ve collected manuals for. All equipment manuals we get are scanned, saved as a PDF and then stored as web pages on our ownCloud server.

ownCloud and LAMP, what can’t it do!


Firefox Crashes

I’ve had a terrible time with Firefox crashing up to 10 times an hour on my bedside computer. I was just about ready to change browsing software, when, for other purposes, I uninstalled the LAMP server I had running on that computer and moved it to a dedicated machine.

Since LAMP is gone from this computer, Firefox no longer crashes, been stable for over a week!

Calendar Software

It’s busy on the farm, and Mrs. Goat and I wanted a way to keep track of our schedules and happenings.

Enter WebCalendar, a full featured calendar that will run on your LAMP stack on any server on your local network. *(See the previous post)

Installing the calendar is straight forward, just dump the source files into your www folder (you’ll need root access to do this) and run the installer that comes with the package, directly from your web browser.

The reason I chose this software, is because you can customize it for any look and feel you wish, and it has a nice feature that will email you for upcoming events, and you can also export your calendar into a proper .ics file that can then be imported into your smart phone!

Run a Local Server

The easiest way to run a web server on your local network is with a LAMP stack.

LAMP stands for:

Linux     – your operating system

Apache – an open source web server

MySQL – an open source database engine

PHP     – the php programming language

How hard is it to set up? Not at all! Just open your Linux distribution’s software manager and search for ‘server’ which will give you a long list of options.

Simply select and install Apache2, MySQL and PHP and you’re good to go!

You can also execute each of the following commands in the Linux terminal to also install what you need:

sudo apt-get install apache2 mysql-server libapache2-mod-php5
sudo apt-get install php5-gd php5-json php5-mysql php5-curl
sudo apt-get install php5-intl php5-mcrypt php5-imagick

What can you do with it? Anything from hosting a home calendar to to-do lists and most anything else you can think of!