ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Donahue
    3. Posts
    • Profile
    • Following 2
    • Followers 0
    • Topics 25
    • Posts 771
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How to Change Apache Default Site in Fedora

      I thought it was pretty simple once I got past my misunderstandings.

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: How to Change Apache Default Site in Fedora

      I hadn't realized how similar the guides are between all the versions. They are practically the same.

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: How to Change Apache Default Site in Fedora

      @JaredBusch said in How to Change Apache Default Site in Fedora:

      @Donahue please stop stating that you were following my guides when you post things that are not in them.

      So to pretty up your URL, this is my original instruction.

      This post says to make sure of your permissions
      https://mangolassi.it/topic/13573/install-nextcloud-11-03-on-fedora-25-minimal/2

      Then use this post to set it up.
      https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi/2

      Had you followed the guide, you would have already actually been done.

      alright, your guides worked for removing the /nextcloud, thanks. Sorry again for the confusion.

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: How to Change Apache Default Site in Fedora

      I think the problem is I am trying to do too much, too quickly. I will read up on all the things I have questions with and then post more when I can ask specific questions. There is really too much info I do not know yet, all of this web stuff is completely new to me. I will quiet down with my questions for now.

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: How to Change Apache Default Site in Fedora

      @JaredBusch said in How to Change Apache Default Site in Fedora:

      @Donahue please stop stating that you were following my guides when you post things that are not in them.

      So to pretty up your URL, this is my original instruction.

      This post says to make sure of your permissions
      https://mangolassi.it/topic/13573/install-nextcloud-11-03-on-fedora-25-minimal/2

      Then use this post to set it up.
      https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi/2

      Had you followed the guide, you would have already actually been done.

      sorry, I had not intentionally implied that there was anything wrong with your guides. I think there was just confusion about what I was posting and where it was from. I will try and be more clear. I did not see those earlier guides about NC 11, I had only seen the one about NC 13 on Fedora 27

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: How to Change Apache Default Site in Fedora

      which is better? And how do I do either of those? I know zero about apache.

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Nextcloud pretty URLs

      oh, I thought it was the same thing.

      posted in IT Discussion
      DonahueD
      Donahue
    • How to Change Apache Default Site in Fedora

      when I try and go to the site, which I am trying to get to https://files.domain.local, I want that to bring up the nextcloud stuff. But it currently brings up the fedora test page. How do I disable the test page and make NC accessible from that URL?

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Nextcloud pretty URLs

      @JaredBusch said in Nextcloud pretty URLs:

      @Donahue said in Nextcloud pretty URLs:

      This line does not work when following @JaredBusch's tutorial.

      sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess
      

      This is Debian/Ubuntu. You found that exact line in my tutorial?

      This was in the nextcloud instructions.

      @Donahue said in Nextcloud pretty URLs:

      I think part of it is that the user name should be apache, but when I try that I get this:

      [root@localhost ~]# sudo -u apache php /var/www/nextcloud/occ maintenance:update:htaccess
      

      This is Fedora/RHEL, but you have the base path wrong. Fedora/RHEL uses var/www/html as the root web directory for apache.

      I figured it was something like that. I tried this and it seemed to work, although the URLs still arent shorter.

      [root@localhost ~]# sudo -u apache php /var/www/html/nextcloud/occ maintenance:update:htaccess
      The current PHP memory limit is below the recommended value of 512MB.
      .htaccess has been updated
      
      posted in IT Discussion
      DonahueD
      Donahue
    • Nextcloud pretty URLs

      I tried enabling the pretty URLs in Nextcloud, but I think there is a step that is different. I was following this manual.

      This line does not work when following @JaredBusch's tutorial.

      sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess
      

      I think part of it is that the user name should be apache, but when I try that I get this:

      [root@localhost ~]# sudo -u apache php /var/www/nextcloud/occ maintenance:update:htaccess
      Could not open input file: /var/www/nextcloud/occ
      

      I am guessing something is different between the install I did following the instructions, and what nextcloud assumes. I think it probably has something to do with this:

      mod_env and mod_rewrite must be installed on your webserver and the .htaccess must be writable by the HTTP user.
      
      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      @Donahue got it. It was missing a single quote in front of redis, and also the instance ID

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue Yours is ALL messed up. Here is an example of yours assembled into something that should work...

      <?php 
      $CONFIG = array (
        'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83',
        'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX',
        'trusted_domains' =>
        array (
          0 => 'nextcloud.gem.local',
        ),
        'datadirectory' => '/var/www/html/nextcloud/data',
        'dbtype' => 'mysql',
        'version' => '15.0.0.10',
        'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud',
        'dbname' => 'nextcloud',
        'dbhost' => 'localhost',
        'dbport' => '',
        'dbtableprefix' => 'oc_',
        'mysql.utf8mb4' => true,
        'dbuser' => 'ncadmin',
        'dbpassword' => '***',
        'installed' => true,
        'memcache.local' => '\OC\Memcache\Redis',
        'memcache.locking' => '\OC\Memcache\Redis',
        redis' => array(
          'host' => 'localhost',
          'port' => 6379,
        ), 
      );
      

      still doesnt work, is there a missing comma or something somewhere?

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27
      'memcache.locking' => '\OC\Memcache\Redis','memcache.locking' => '\OC\Memcache\Redis','memcache.locking' =>
      '\OC\Memcache\Redis',<?php $CONFIG = array ( 'memcache.local' => '\OC\Memcache\Redis', 'memcache.local' =>
      '\OC\Memcache\Redis', 'redis' => array(
      'memcache.local' => '\OC\Memcache\Redis',
          'redis' => array(
          'host' => 'localhost',
          'port' => 6379,
      ),    'redis' => array(
          'host' => 'localhost',
          'port' => 6379,
      ),    'host' => 'localhost',
          'port' =>6379,
      ),  'instanceid' => 'oc6fqyizalj6',
        'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83',
        'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX',
        'trusted_domains' =>
        array (
          0 => 'nextcloud.gem.local',
        ),
        'datadirectory' => '/var/www/html/nextcloud/data',
        'dbtype' => 'mysql',
        'version' => '15.0.0.10',
        'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud',
        'dbname' => 'nextcloud',
        'dbhost' => 'localhost',
        'dbport' => '',
        'dbtableprefix' => 'oc_',
        'mysql.utf8mb4' => true,
        'dbuser' => 'ncadmin',
        'dbpassword' => '***',
        'installed' => true,
      );
      
      
      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      mine looks like it has too much stuff in it.

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      @scottalanmiller what should the config.php contain

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      I think I must have buggered up the config.php somehow. What should this look like?

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      @JaredBusch said in Install Nextcloud 13.0.0 on Fedora 27:

      Go back to your SSH session and update the NextCloud config.php file to tell it to use redis for the memory cache and file locking.
      #add a line to nextcloud config.php to enable memory cache
      nano /var/www/html/nextcloud/config/config.php
      'memcache.locking' => '\OC\Memcache\Redis',
      'memcache.local' => '\OC\Memcache\Redis',
      'redis' => array(
      'host' => 'localhost',
      'port' => 6379,
      ),

      It was good up until this point. Now it gives me an error

      e8d7ad92-3d75-47f1-b86c-72d0a6725723-image.png

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

      @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

      @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

      TIL, use simple passwords.

      Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

      they do add to the list of possible characters to try when brute forcing though.

      Sure. . . but when your possible list of 24 digit passwords (including upper and lowercase) makes for an extremely long password with some insane number of combinations.

      So it's plenty secure.

      It doesn't take any more effort for me to generate a more secure password with symbols added, so why skimp?

      Because it so often results in an inability to login in. Either because the password isn't recorded properly, or because it can't be recorded elsewhere properly, or the worst case, that it results in a very weak password that you do not realize.

      that is the real problem

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

      @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

      TIL, use simple passwords.

      Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

      they do add to the list of possible characters to try when brute forcing though.

      Only sort of. Only in the situation where you assume that all non-special character options will be attempted first. Otherwise, it doesn't actually do that.

      what nonsense are you saying now? password entropy is a thing. The more possible characters, the harder it is statistically to brute force.

      posted in IT Discussion
      DonahueD
      Donahue
    • RE: Install Nextcloud 13.0.0 on Fedora 27

      @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

      @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

      @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

      TIL, use simple passwords.

      Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

      they do add to the list of possible characters to try when brute forcing though.

      Sure. . . but when your possible list of 24 digit passwords (including upper and lowercase) makes for an extremely long password with some insane number of combinations.

      So it's plenty secure.

      It doesn't take any more effort for me to generate a more secure password with symbols added, so why skimp?

      posted in IT Discussion
      DonahueD
      Donahue
    • 1 / 1