Owncloud + VestaCP on one machine?

Soldato
Joined
18 Aug 2007
Posts
9,838
Location
Liverpool
I'm Linux savvy but fairly new to serverside, so please don't go in dry. :p

I have a VPS with Debian Wheezy x86 which runs VestaCP for LAMP, nginx, vsftp, exim4 and so on. It was originally CentOS but I switched to Debian as my background was mostly deb based at the time I bought it, and so I found it easier to troubleshoot. These days I prefer CentOS but the server refuses to die (typical Debian) and it's been left to run.

Basically I use it to run our personal domain mail for IMAP access over SSL and that's about it these days. I used to run a couple of busy sites, a forum and FTP on there but they all got binned along the way. VestaCP makes configuring everything a case of a few GUI clicks and done, with automatic fail2ban, iptables setup etc. That obviously made it instantly appealing especially considering it's free of charge and OSS.

I'm pretty privacy conscious and run a mixture of BSD, CentOS and Fedora at home mostly. We also run VPNs on all devices, so it seems foolhardy to continue using Google-everything (calendar, secondary mail accounts, contacts sync, photo backup, drive) on top.

I've discovered opencloud and it seems ideal for what we want; basic storage and sync capabilities, file and media browsing and streaming, *nix, iOS and Android sync clients, and all that good stuff. We'd be able to sync our contacts, run calendars and backup personal documents and photos etc from our machines and phones without paying third parties and having Google snoop and profile our data.

The only thing I'm struggling with ATM is whether you can run opencloud alongside VestaCP. I'm guessing probably not, since opencloud obviously runs on LAMP but Vesta installs these itself. That alone might not necessarily induce conflict - Vesta installs LAMP, sets itself up with GUI access over port 8083 (so not conflicting with opencloud on 80) and would take care of the email and domain side of things while opencloud ran sync and storage. Maybe.

I've googled around for a couple of days but can't find any answers. I see it's possible to run roundcube as a plugin on opencloud for an existing mail server running locally (it's worded like it's aimed at postfix or exim running as a standalone service, user set), but I don't know whether I can just install Vesta then throw owncloud on top in a domain I've set up through VestaCP beforehand.

Does anyone have any experience of this type of thing? I could always rent a second cheap OVH VPS to keep them separate (our needs are minimal there's only my wife and me), but with the 50GB+ storage we'd need it starts to go over £10 a month which is a bit steep when Drive is £2.

I specced up a Kabini based microATX box with multiple TB of storage and everything a little home server would need and it was only £150 (basically 15 months of paying for a VPS we'll never own or have real control over). Since we have reliable 160/12 at home that would be ample for us to run a little personal server off and it'd soon pay for itself versus VPS costs. I'm just hoping someone can please chime in with some practical experience on running owncloud + VestaCP (ideally) or owncloud + a self configured mail server at worst?

Thanks in advance for any input or ideas.

EDIT: Sorry to add to the wall of text, but I'm researching as well as just asking on here. I think maybe FreeNAS would be a huge step forward over the above? It supports OwnCloud so effectively I could grab a microserver or build a Kabini box, then pile on FreeNAS + owncloud plugin and run data backup, calendar, a mail server, and have qBittorrent or Transmission running to stream to the network rather than each machine needing to download separately. It would also be possible to directly link the machine to AirVPN over OpenVPN with RDNS linking it to rainmakersowncloud.airdns.org so it can serve from behind the VPN for double security. Four birds one stone. Win?
 
Last edited:
Yeah I've read the documentation mate, sorry. I was more worried there might be conflicts between VestaCP and OwnCloud due to them both wanting to control things. I'm guessing since owncloud operates from /var/www/domain rather than root it would be fine though? As per the edit above (sorry) I think FreeNAS + owncloud plugin + exim4 would be a neater (and more flexible) solution rather than relying on Vesta, maybe?
 
OwnCloud is nothing more than a web app written in HTML/PHP so there's nothing to cause conflict so to speak.

Im not a VestaCP user but I run owncloud on a Debian VPS with Virtualmin, from your OP it would appear VestaCP and Virtualmin are just two different ways of skinning a car

Cheers mate. I'm gonna set up a couple of VMs tomorrow with bridged networking (i.e. give them a 'clean' LAN IP unrelated to the host) and have an experiment with a couple of different setups to see what works. I was more worried about integrating mail with owncloud. As I said I'm a server noob really, and VestaCP is literally 'Add doman name > add email addresses you want to be live > done' so I'd love to be able to have something that easy with owncloud on top. If I can run Vesta (or similar) to take care of fail2ban, iptables, exim4 and all the DNS records etc while still running FreeNAS and/or OwnCloud the job's a good 'un. I'm tempted to build a new pfSense router to go with it now. A home server seems as good an excuse as any to 'need' one. lol :D
 
Tried VestaCP + OwnCloud today in a VM and no dice. Vesta tries to control the contents of /www including permissions, which OC also wants to do. After copying across the OC contents and launching the browser I get permissions errors. I wrote and executed the script it asked for (to restore permissions) but Vesta just over-rides it and restores its own default permissions meaning OC is unusable. Back to the drawing board. I'll try the FreeNAS route and if not I'll just install CentOS 6 with LAMP and set it up manually. :)
 
Back
Top Bottom