Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


owncloud step by step (baby steps) - how to install and get to work on CentOs 6.6 64bit
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

owncloud step by step (baby steps) - how to install and get to work on CentOs 6.6 64bit

Hello.

I'm trying to setup owncload on my own VM with CentOS 6.6 64bit OS. I have followed several guides now, and I don't get it to work. I thin every guide thinks you have something already in place, that I don't have on my completely clean install.

I have tried following guides, and done anything extra if they says so.
http://dynobin.com/blog/install-owncloud-on-centos-6-4-x86_64/
https://www.howtoforge.com/how-to-install-owncloud_7-on-centos_6.5
https://www.vultr.com/docs/install-owncloud-on-centos-6-with-nginx-w-ssl-php-fpm-and-pgsql-automated-startup-script
http://sw32.com/owncloud-7-install-on-centos-linux-and-access-with-goodreader-ipad-2/

The result for every one of this guides, is that I can't access https://my-server-ip/owncloud.

I have also used the IPtables guide:
http://www.cyberciti.biz/faq/linux-iptables-firewall-open-port-80/

I have also make sure that PHP 5.x is installed, first I tried this guide:
https://webtatic.com/packages/php55/

Then I have used my own Remi repo guide, to install PHP 5.6.5

Still, no luck.

Can somebody please tell me step by step on a totally clean CentOS 6.6 64bit minimal installation, how I can get owncloud up and running. I will be really great full.

Etc: Maybe can see what is wrong in this script made for Vultr VPS servers, I have tried it on my server (running Hyper-V) but it stops at Nginx.
https://www.vultr.com/docs/install-owncloud-on-centos-6-with-nginx-w-ssl-php-fpm-and-pgsql-automated-startup-script

Comments

  • Waiting for this too. Anyone?

    Thanked by 1myhken
  • The result for every one of this guides, is that I can't access https://my-server-ip/owncloud.

    Why are you trying to install OwnCloud to a subdirectory? IIRC even the creators of OwnCloud say that it's not supported and you shouldn't try it.

    You could probably do it with loads of really messy redirects, but why? Just use a subdomain.

  • It's only the address one of the guide gave me. Since I clearly can't do this by my self, I depends on guides. So if a guide tells me that this is the thing, I have tried that.
    As mention, I have tried every guide I linked to in my first post. Still no success.
    But of course, maybe it would have worked if I only typed in https://my-ip-address on some of the guides.

  • Should I install LAMP before trying to install owncloud?
    As mention, my server is totally blank, just 6.6 minimal + yum update + install wget

  • ivanhivanh Member
    edited February 2015

    Have you tried using the web installer after installing LAMP?

  • I have not installed LAMP, I asked if I should? I will test that.

  • socialssocials Member
    edited February 2015

    @myhken said:
    I have not installed LAMP, I asked if I should? I will test that.

    Uhm.. isn't.. OwnCloud.. uhm.. a web application? How do you think you're going to run it without a web server?

    Installing OwnCloud is as simple as installing any other typical web application:
    1) install LAMP/LEMP stack
    2) create a database for OwnCloud
    3) configure your web server (create a VirtualHost)
    4) download OwnCloud and untar it
    5) start your web server
    ..) enjoy

    Edit: FYI, no one is going to spoonfeed you commands here (at least I hope), since setting up OwnCloud is as basic as it gets and if you can't even do it with Google, just stop. There's enough badly configured servers on the Internet waiting to be exploited. Look for hosted OwnCloud.

    Thanked by 1yomero
  • @socials said:
    Edit: FYI, no one is going to spoonfeed you commands here (at least I hope), since setting up OwnCloud is as basic as it gets and if you can't even do it with Google, just stop. There's enough badly configured servers on the Internet waiting to be exploited. Look for hosted OwnCloud.

    So LET has stopped helping people that actually need some help? Nobody can do everything in the world. I can much, but I can't seem to get owncloud to work.
    So I need help from this forum. I'm sure somebody has done it before. If it's so simple as you say, there can't be any problem making a quick step by step guide that actually work on a clean CentOS 6.6 64bit version VM.

    Anybody willing to help me?

  • That's because you are not being good asking questions.

    Honestly, if you are trying to accomplish this without even trying a little bit, this will go nowhere.

    Instead of trying to get someone to do the work for you, you should write what have you tried before. If you want a detailed explanation, then we expect a detailed explanation of what steps you have done and where you are stuck.

  • So to do it with Nginx, it takes a bit more work (custom rules you'll need to google to add to your sites config). By default the packaged installer sets up apache + php + mysql + etc etc.

    What stage do you get to? Can you not load up /owncloud at all?

    Note: if you're using Cloudflare, it won't work.. at all. It's messed. It goes into a weird redirect loop - I ran into that at first and saw a bunch of other reports about it after doing some googling.

    But basically you need to follow a standard web server install for apache or nginx or lighttpd + php + mysql. Drop the owncloud files into your web root, and then load it up. At that point you get a WordPress-style install screen where you pick a user & pass, and hook up to your database.

    I used the EasyEngine script to set up an nginx + mysql + php-fpm system. Then created a new site with the --mysql flag (creates a new virtual host for a php site as well as a new empty database), and then I had to modify my sites config and add a few things (if you search 'owncloud nginx' it'll give you a working sample config, think there's one on the nginx website). Loaded up mydomain/owncloud after that and all was good, works great.

    Don't think of it as a separate system, it's just a web app like WordPress - that runs on php + mysql + whatever web server. However, you'll have to google for the virtualhost/.htaccess 'tweaks' depending on your web browser - tons of working sample configs out there.

  • It's really really simple, if you've install wordpress before - you can do this.

    This is a guide for Ubuntu/Debian - but once you get past the standard LAMP/LEMP install stuff up top, it'll show you how to setup the app itself. http://www.lowendguide.com/3/database/how-to-setup-owncloud-on-ubuntu/

    Thanked by 1myhken
  • @yomero said:
    That's because you are not being good asking questions.

    Honestly, if you are trying to accomplish this without even trying a little bit, this will go nowhere.

    Instead of trying to get someone to do the work for you, you should write what have you tried before.** If you want a detailed explanation, then we expect a detailed explanation of what steps you have done and where you are stuck.**

    As I wrote in my first post. I have tried all the guides I linked to, and I wrote that I also have tried/done the extra parts if a guide mention that you should do anything before doing the guide. So I have followed all guides, step by step, on a clean CentOS 6.6 4bit installation. And when I mean clean, it's just CentOS minimal + yum update + yum install wget. Nothing else.

    But, I did now try with CentOS 7, and there I have more success, but not total success.
    I followed this guide: http://setovi.blogspot.no/2015/01/how-to-install-owncloud-7-on-centos-7.html every part of it. + I set a password to Mysql, that is not mention in the guide, but you need it for later.
    I now have my owncloud up and running on my site, but only in http mode.
    https wil not work. I did open for it in the firewall like the guide told me. Still no https access, only normal http.

    See here:

    The field is grayed out, and saying that I have to set this from https.
    But when I try to use https, I only get a error page, with this error code at the bottom:

    What is missing, so https also work on my new CentOS 7 server?

    Thanked by 1yomero
  • The apache config has SSL enabled? Ownclowd won't configure it by you.
    Do you have a certificate? At least a self signed one?
    Apache is running? netstat shows 443 listening?

  • @yomero said:
    The apache config has SSL enabled? Ownclowd won't configure it by you.

    Can you take a quick look at the guide, and see if I have SSL enabled?

    Do you have a certificate? At least a self signed one?

    No, I don't. It was not mention in the guide.

    Apache is running? netstat shows 443 listening?

    netstat don't work in CentOS 7. This is the new commands: ss, ip route (for netstat-r), ip -s link (for netstat -i), ip maddr (for netstat-g) see this page...
    What should I use, and what should i look after?

    Thanked by 1Umair
  • Why everyone is going after OwnCloud so much ?? Lately seeing lots of interest in it.

  • myhken said: netstat don't work in CentOS 7

    Looking for something like "netstat -ntp"

    myhken said: and see if I have SSL enabled?

    Doesn't seem like that.

    And I haven't used Centos 7, then I don't know any of that shortcut-commands (firewall-cmd or systemctl stuff) they use, so, I don't know how they work and what files get modified by these. But that guide seems incomplete to me.

  • @Umair said:
    Why everyone is going after OwnCloud so much ?? Lately seeing lots of interest in it.

    I also have seen allot about it, and I just got me two servers with 2 x 3 TB disks in each server, so I wanted to see if I could use owncloud to take backup of my personal stuff.

    @yomero said:
    And I haven't used Centos 7, then I don't know any of that shortcut-commands (firewall-cmd or systemctl stuff) they use, so, I don't know how they work and what files get modified by these. But that guide seems incomplete to me.

    Anybody that has used CentOS 7, that know how I can get https to work?

  • @myhken: Anybody that has used CentOS 7, that know how I can get https to work?

    With.. Apache? Read this: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04

    Thanked by 1myhken
  • myhkenmyhken Member
    edited February 2015

    Just found it and followed it, and now iit's working. But thanks for posting the link.
    It was the missing link in the CentOS 7 guide ;)

    OK, next issue, I installed CentOS 7 on a 500 GB disk. Owncloud is only using 50 GB.
    I can see the reason here:

    Is there something I did wrong in the setup prosess for CentOS 7? Or is it something else. I used to that a CentOS 6.x installation is using all disk space to there I have websites.

  • aglodekaglodek Member
    edited February 2015

    @myhken: I've found Ubuntu easier to work with than CenOS, so if you're not "married" to CentOS, maybe try the same on Ubuntu for a change?

    From your OP, can't tell what your aim is: a working OwnCloud or playing sysadmin and learning how to set things up yourself? If it's OwnCloud, you can start with DO's one click app template.

    There are also tutorials at DO (Google: owncloud+digital+ocean), not listed in your OP, however they cover installing stuff on Ubuntu for the most part.

    Thanked by 2myhken netomx
  • @aglodek said:
    myhken: I've found Ubuntu easier to work with than CenOS, so if you're not "married" to CentOS, maybe try the same on Ubuntu for a change?

    From your OP, can't tell what your aim is: a working OwnCloud or playing sysadmin and learning how to set things up yourself? If it's OwnCloud, you can start with DO's one click app template.

    There are also tutorials at DO (Google: owncloud+digital+ocean), not listed in your OP, however they cover installing stuff on Ubuntu for the most part.

    There's no doubt Ubuntu is generally a better desktop environment, but when your'e working in a CLI, both are pretty much equally "easy". CentOS is probably more widely supported with more documentation for purposes such as these as well. (server applications, web servers, etc). Not sure why you're suggesting ubuntu.

    Thanked by 1myhken
  • @mykhen You have a 50GB partition on / and the rest on /home. By default apache/nginx install the root folder on / - at like /var/www

    You need to move your web folder root to /home/something/whatever - and then update your apache/nginx/whatever config to point there. As well as chown & chmod folders accordingly.

    Thanked by 1myhken
  • aglodekaglodek Member
    edited February 2015

    @Jonchun said: There's no doubt Ubuntu is generally a better desktop environment, but when your'e working in a CLI, both are pretty much equally "easy". CentOS is probably more widely supported with more documentation for purposes such as these as well. (server applications, web servers, etc). Not sure why you're suggesting ubuntu.

    I was referring to CLI. Just my personal experience, not religion. This said, always install OpenVZ on CentOS ;) Don't know about OwnCloud, but since OP seems to have hit a wall on CentOS, I thought maybe try a different OS approach and different set of tuts, is all ;)

  • @aglodek said:
    myhken: I've found Ubuntu easier to work with than CenOS, so if you're not "married" to CentOS, maybe try the same on Ubuntu for a change?

    From your OP, can't tell what your aim is: a working OwnCloud or playing sysadmin and learning how to set things up yourself? If it's OwnCloud, you can start with DO's one click app template.

    I have tested DO and Vultr one click app template. And it works very well. But I don't have 6 TB disk space at VULTR or DO :D Therefor I want to learn how to setup owncloud on my own dedicated server (or on a VM on the dedicated server).
    Now, I'm almost ready, just have to try out what @mikeyur told me in his last post.
    Regardless of that, I think I will setup a new CentOS 7 server now, doing all the right ting. Just playing around with the disk setup in CentOS 7, so I can get all space at /.

  • Thank you for all the help. I actually have made it. Not on CentOS 6.6, but that don't matter. I can use CentOS 7 to this project. (time to start learning using CentOS 7 also).

    For other people having issues like me with this, the following two guide helped me:
    http://setovi.blogspot.no/2015/01/how-to-install-owncloud-7-on-centos-7.html
    Just remember to set MySQL password before setting up owncloud, using:
    mysqladmin -u root password NEWPASSWORD
    And this guide for how to get https to work:
    https://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certificate-on-apache-for-centos-7

    And remember, the best way to use all you disk space to owncloud, is to do it under the installation of CentOS 7. Choose do it manually, but then click on "do it automatically for me" (the only thing you can click on on the top of the disk setup page". Then you move most of the disk space from /home to / and then you are ready.

    I think I will make a guide that actually have all this in it, not like the other guides, only parts of the whole picture.

    Thanked by 2aglodek nadz
  • Sounds like a good idea I would like to see it.

  • @lazyt said:
    Sounds like a good idea I would like to see it.

    Soon ready with it, doing it while I setup a fresh installation of CentOs 7 and OwnCloud 7.

  • Thanks looks very clear and concise. I'll have to try it tonight on a spare vps

    Thanked by 1myhken
Sign In or Register to comment.