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 special characters often break when being passed through tunnels. IE the # symbol is often an "comment" indicator and might ruin the rest of your password.
-
@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
-
@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
-
I think I must have buggered up the config.php somehow. What should this look like?
-
What should which piece look like?
-
@scottalanmiller what should the config.php contain
-
mine looks like it has too much stuff in it.
-
'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, );
-
Yup, way too much stuff in it
-
@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, ), );
-
@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?
-
@Donahue got it. It was missing a single quote in front of redis, and also the instance ID
-
@Donahue said in 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
I edited it all by hand, so pretty easy to miss something.
-
Guide works with Fedora 29. As always @JaredBusch guide works.
-
The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?
-
@WindowsGuy said in Install Nextcloud 13.0.0 on Fedora 27:
The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?
Should be on my github. maybe it got moved when I cleaned things up. let me look.
-
@WindowsGuy said in Install Nextcloud 13.0.0 on Fedora 27:
The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?
here:
wget https://raw.githubusercontent.com/sorvani/scripts/master/Nextcloud/nextcloud.conf