ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installing OwnCloud 9 on CentOS 7 with REMI\EPEL, PHP 5.6, Apache 2.4, MariaDB and SSL

    IT Discussion
    4
    14
    4.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alex Sage
      last edited by Alex Sage

      It almost all works. Any suggestions welcome 😄

      The SQL isn't working yet.....

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        What database error are you getting?

        A 1 Reply Last reply Reply Quote 0
        • A
          Alex Sage @scottalanmiller
          last edited by Alex Sage

          @scottalanmiller No errors.

          The commands to secure MySQL and create the database with proper permissions don't work right yet. The last 17 lines.

          1 Reply Last reply Reply Quote 0
          • A
            Alex Sage
            last edited by

            Do I need to encapsulate the variables in quotes?

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Alex Sage
              last edited by

              @aaronstuder said:

              Do I need to encapsulate the variables in quotes?

              I think that the command needs to be in quotes. I don't script MySQL commands that way often so am not familiar with the syntax. I use SQL inside MySQL regularly, but not this way. But that looks like a case where quotes would be needed.

              1 Reply Last reply Reply Quote 0
              • A
                Alex Sage
                last edited by Alex Sage

                I take it back, it seems the securing MySQL part works fine.....

                The problem is here:

                echo Setting Up MySQL
                mysql -u root -p $mysqlroot -e create database $ownclouddb;
                mysql -u root -p $mysqlroot -e create user '$ownclouduser'@'localhost' identified by '$ownclouduserpassword';
                mysql -u root -p $mysqlroot -e grant all on $ownclouddb.* to '$ownclouduser'@'localhost';
                mysql -u root -p $mysqlroot -e flush privileges;
                
                1 Reply Last reply Reply Quote 0
                • A
                  Alex Sage
                  last edited by Alex Sage

                  @scottalanmiller

                  So you mean:

                  mysql -u root -p $mysqlroot -e create database $ownclouddb;
                  

                  Becomes:

                  mysql -u root -p $mysqlroot -e "create database $ownclouddb;"
                  

                  ?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Alex Sage
                    last edited by

                    @aaronstuder Correct

                    1 Reply Last reply Reply Quote 0
                    • dsc81D
                      dsc81
                      last edited by

                      Hi,
                      I would like to thank you for your guide. It works great. Can you provide additional information e.g how to upload a big file, or how to upload a lot of file maybe 2000 files, 3000 files at once?
                      Thanks

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @dsc81
                        last edited by

                        @dsc81 said:

                        Hi,
                        I would like to thank you for your guide. It works great. Can you provide additional information e.g how to upload a big file, or how to upload a lot of file maybe 2000 files, 3000 files at once?
                        Thanks

                        What kind of info do you want about that? The sync tool will handle that for you. There isn't any magic answer, a large upload will take quite some time.

                        dsc81D 1 Reply Last reply Reply Quote 0
                        • dsc81D
                          dsc81 @scottalanmiller
                          last edited by

                          @scottalanmiller
                          What I mean is I only can upload one file at a time, I heard that we can setting so we can upload many file at once and also the limit is only 2mb, can we upload file 5GB?

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @dsc81
                            last edited by

                            @dsc81 said:

                            @scottalanmiller
                            What I mean is I only can upload one file at a time, I heard that we can setting so we can upload many file at once and also the limit is only 2mb, can we upload file 5GB?

                            You need to configure your system to fix the PHP issue restricting filesize.

                            You have multiple options for connectivity. if you are using the web browser, the basic setup is single file uplaods.

                            1 Reply Last reply Reply Quote 2
                            • 1 / 1
                            • First post
                              Last post