Fedora Linux Support Community & Resources Center
  #1  
Old 18th July 2012, 02:14 PM
petmor Offline
Registered User
 
Join Date: Apr 2012
Location: Brisbane
Posts: 41
linuxubuntufirefox
Web Server/Cloud

Hi

I'm looking at creating a cloud for my own use and that of the kids (so must be easy to use). I have played with OwnCloud on the lan and been impressed but now am wondering what the differences between OwnCloud, the Fedora Cloud and the Ubuntu Cloud are.

I would like the experience of running my own proper cloud as I'm thinking of moving into a Linux career in the future, so Fedora or Ubuntu sound interesting but are they just too over the top for such small use?

Would the Fedora cloud or OwnCloud installed on Fedora run on a Raspberry Pi with virtual storage on a NAS? I have a spare Atom box if not, would an Atom be enough?

Also since I'll be opening this up to the internet are there good tutorials for best practice and security (both hardware and Fedora based) so I can make it as secure as possible?

thanks in advance
Reply With Quote
  #2  
Old 15th August 2012, 01:32 PM
CoffeeNKeyboard Offline
Registered User
 
Join Date: Sep 2011
Location: TheCloud
Posts: 25
windows_7firefox
Re: Web Server/Cloud

Sorry, I can't answer your question. But I was curious to know about your findings for ownCloud on Fedora.

Which Fedora release did you try?
What installation procedure did you follow? Was it smooth, or did you have to tinker a fair bit?
Did you try setting up authentication and authorisation?
Reply With Quote
  #3  
Old 15th August 2012, 02:47 PM
glway Offline
Registered User
 
Join Date: Sep 2011
Posts: 44
windows_xp_2003firefox
Re: Web Server/Cloud

I don't think fedora is a good choice for anything other than a personal computer/laptop simply because it is not the most stable choice and the life of a version is just 12 months. You might want to try the older brother centos. Also to be perfectly honest I was messing around with clouds and such and I found the Opensolaris solution quite good for the job... Idk personal opinion.
Reply With Quote
  #4  
Old 15th August 2012, 03:06 PM
CoffeeNKeyboard Offline
Registered User
 
Join Date: Sep 2011
Location: TheCloud
Posts: 25
windows_7firefox
Re: Web Server/Cloud

Fedora's 6 month cycles may seem short, but it still offers us the choice. The benefit comes in terms of support for newer hardware.

I update my machines on alternate releases. Had Fedora 15 earlier. Once I found that Fedora 17 was looking good, I moved to it.
--- Update ---

Sorry: Let's not hijack this thread.

Last edited by CoffeeNKeyboard; 15th August 2012 at 03:08 PM. Reason: comment
Reply With Quote
  #5  
Old 16th August 2012, 08:45 AM
petmor Offline
Registered User
 
Join Date: Apr 2012
Location: Brisbane
Posts: 41
windows_7firefox
Re: Web Server/Cloud

I installed OwnCloud on 17 Desktop edition. I just followed the instructions here (http://owncloud.org/support/install/) and found that fairly simple. I did also use some other threads but unfortunately lost my usbkey and lost what the links where (another reason I need a cloud).

I also install Gallery3. The biggest issues I found where to do with SELinux and getting that working. Once I had figured that out I was fine.

I did play with users but not much.

I have since found out that Fedora doesn't work that well in Raspberry Pi (I built the server up on a netbook to test how it worked) but will now be using Debian. I also installed all this on Ubuntu and found it much easier.

Hope this helps.
Reply With Quote
  #6  
Old 16th August 2012, 09:58 AM
glway Offline
Registered User
 
Join Date: Sep 2011
Posts: 44
windows_xp_2003firefox
Re: Web Server/Cloud

I am still waiting to get my hands on a Raspberry pi... However
Quote:
Despatch expected in 15 week(s)
Yeah right....
Reply With Quote
  #7  
Old 16th August 2012, 11:59 PM
petmor Offline
Registered User
 
Join Date: Apr 2012
Location: Brisbane
Posts: 41
windows_7firefox
Re: Web Server/Cloud

I have mine but haven't had time to play with it yet. Only got the base Debian on it. Will be installing OwnCloud etc this weekend hopefully.
Reply With Quote
  #8  
Old 20th August 2012, 09:46 AM
glway Offline
Registered User
 
Join Date: Sep 2011
Posts: 44
windows_xp_2003firefox
Re: Web Server/Cloud

Any news yet? Keep us updated.
Reply With Quote
  #9  
Old 22nd August 2012, 01:40 AM
petmor Offline
Registered User
 
Join Date: Apr 2012
Location: Brisbane
Posts: 41
windows_7firefox
Re: Web Server/Cloud

Unfortunately I got side tracked on another project of putting a mini itx board into a MS Xray case . This is also a Fedora forum and since I'll be putting Debian on it I wasn't sure it was still appropriate but if you want updates I'll continue.

I have it booted up, first thing I need to do is change the user and password then I'll start the installs.
Reply With Quote
  #10  
Old 12th September 2012, 03:49 AM
petmor Offline
Registered User
 
Join Date: Apr 2012
Location: Brisbane
Posts: 41
windows_7firefox
Re: Web Server/Cloud

Not sure if anyone is still interested but just in case. I gave up with the Raspberry Pi and went back to a mini ITX Atom board.

Basic install is as follows. I can provide more details if anyone wants them.

To install Lamp I followed this thread until the finish of installing Php.
http://fedorasolved.org/server-solutions/lamp-stack
Beware some of the lines marked as older versions still need to be run. ie restarting iptables and Apache.

Then switched to this doc to install the remaining packages
http://owncloud.org/support/install/

I have moved my document root to a different partition so needed to up date Apache with that info by editing it in /etc/httpd/conf/httpd.conf. There are two places this needs to be done.

The document says to allow overrides for all of the root but I added a new Directory entry for the OwnCloud directory and set it in there. I didn't do ‘a2enmod rewrite’ and ‘a2enmod headers’ and still am not overly sure what they mean.

Create the data directory and change the owner on it and apps and config to Apache.

The biggest issue was the SELinux context but found that
sudo chcon -t httpd_sys_rw_content_t filename
works. Do it for data, config and apps.

Make sure all parent directories are owned by root and owncloud is owned by Apache.

This was a lot of testing and messing around so I may have missed something. I am now using OwnCloud with no apparent issues.

Next I need to determine how secure it is before I open my server to the internet.

Any questions let me know.
Reply With Quote
  #11  
Old 12th September 2012, 08:03 PM
coffee412 Offline
Registered User
 
Join Date: Aug 2005
Location: Ask the Government.
Posts: 447
linuxfirefox
Re: Web Server/Cloud

I run FC17 on my surf box but apache2 on my ubuntu12.x box. I loaded owncloud on it and kinda checking it out. I have noticed some things and decided to update it to the beta version. Seems to run better but some issues still remain.

1. The music link on the left doesnt list all songs. There is something wrong with some songs and they either listed as unknown or not at all. Im thinking some tag issue?

2. Pictures link on left - doesnt show all the pics. The latest ver. 4.07 it did work but on the beta it doesnt. Shows them overlapping but cannot seperate them. just checked them again right now and they are working (?). So, Ill amend this to "now and again".

Incidently, I wanted to change the storage of files to my raid instead of my system disk. So, I basically did the following below and its worked just fine.

1. Create a directory on raid (mine was /mnt/raid5/owncloud/data)

2. Go into the config.php file and change path:

Quote:
'datadirectory' => '/var/www/owncloud/data',
To the path you need:

Quote:
'datadirectory' => '/mnt/raid5/owncloud/data',
**** Be sure to copy and chown the old data directory to the new one.

Now, Changing the graphics is easy enough as most are all png files and you can sub out what you want instead.

Regards,

coffee
__________________
Fedora20 AMD X6 1090T - 8GIG RAM - Nvidia GTX-650 - LXDE. Linux since 1995 - No Gnomes allowed.
Mythbuntu - Mythtv .27 - AMD 6core- 8 gigs ram Nvidia GTX-650 Ceton 4 port tunner
Mint 17 64bit - Dual Core AMD 5200 2gig ram -GT 9400
Galaxy Blaze 4G ICS ClockworkMOD :)

Last edited by coffee412; 12th September 2012 at 08:05 PM. Reason: Left a step out of the data directory comment
Reply With Quote
  #12  
Old 12th September 2012, 11:57 PM
petmor Offline
Registered User
 
Join Date: Apr 2012
Location: Brisbane
Posts: 41
windows_7firefox
Re: Web Server/Cloud

I haven't added my music as I have a large ipod that I take everywhere and use that. Later I will be looking into putting my media up either through a vpn pipe for some friends or through something like OwnCloud but this is my first webserver so I want to run it with minimal data first and not have my nas open to the web. Thanks for the info on changing the location though.

I also won't use OwnCloud for pics as I want to use Gallery3 so I can use its tagging. I finally got it install last night.
Reply With Quote
  #13  
Old 13th September 2012, 01:58 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,855
linuxfirefox
Re: Web Server/Cloud

Quote:
Originally Posted by petmor View Post
...
The biggest issue was the SELinux context but found that
sudo chcon -t httpd_sys_rw_content_t filename
works. Do it for data, config and apps.
Not good - making everything read write - especially the config and apps. These should be readonly (httpd_sys_content_t), the CGI should be httpd_sys_script_exec_t.

This prevents accidentally changing the configuration via some apache interface, and the same goes for the CGI.

The static data should be read only, but read/write data files need to be httpd_sys_rw_content_t.
Reply With Quote
  #14  
Old 13th September 2012, 06:45 AM
petmor Offline
Registered User
 
Join Date: Apr 2012
Location: Brisbane
Posts: 41
windows_7firefox
Re: Web Server/Cloud

Thanks for that. I'm still new and not 100% sure I'm using the right contexts. That's one thing I need to study up more on.

I did pick up in their instruction document that they wanted more access than I though so I have already restricted it but I'll do this tonight when I get home.

ta

---------- Post added at 05:45 AM ---------- Previous post was at 02:33 AM ----------

I tried changing the context to httpd_sys_rw_content_t for both apps and config and it errored saying it needed write for both.

I've had to change it back but thanks for the suggestion.
Reply With Quote
  #15  
Old 13th September 2012, 09:46 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,855
linuxfirefox
Re: Web Server/Cloud

That sounds like a security problem somewhere.
Reply With Quote
Reply

Tags
cloud, server or cloud, web

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloud server seabird Servers & Networking 8 23rd April 2012 12:12 AM
A Fedora cloud?! 3xp10r3rX13 Using Fedora 1 1st September 2011 10:00 PM
The Perils of The Cloud pythagorean Reviews, Rants & Things That Make You Scream 9 20th January 2011 10:20 PM
Cloud Computing? steelaworkn Wibble 12 10th April 2009 01:19 PM


Current GMT-time: 10:21 (Tuesday, 23-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat