raven24 / diaspora-install Goto Github PK
View Code? Open in Web Editor NEWcompact script for installing a diaspora* development environment
compact script for installing a diaspora* development environment
Hello,
wow, a colourful terminal script _
But I faced some culprits.
rvm list
did not show up anything in use).# equo s redis
╠ @@ Suche...
╠ @@ Paket: dev-db/redis-2.8.3 Branch: 5, [sabayonlinux.org]
╠ Verfügbar: Version: 2.8.3 ~ tag: NoTag ~ Version: 0
╠ Installiert: Version: 2.8.3 ~ tag: NoTag ~ Version: 0
╠ Slot: 0
╠ Homepage: http://redis.io/
╠ Beschreibung: A persistent caching system, key-value
╠ and data structures database.
╠ Lizenz: BSD
The first line below
@@Paketis "Available", the second "installed".
So this didn't show up with anything (systemd wasn't aware of a service oO, well it's a database …).
Next idea: Installing the gem locally:
$ rvm use 2.0
Using /home/andre/.rvm/gems/ruby-2.0.0-p353
$ rvm list
rvm rubies
ruby-1.9.3-p448 [ x86_64 ]
=> ruby-2.0.0-p353 [ x86_64 ]
# Default ruby not set. Try 'rvm alias create default '.
# => - current
# =* - current && default
# * - default
$ gem install redis-server
Fetching: clamp-0.2.3.gem (100%)
Successfully installed clamp-0.2.3
Fetching: daemon_controller-0.2.6.gem (100%)
Successfully installed daemon_controller-0.2.6
Fetching: redis-server-0.0.5.gem (100%)
Building native extensions. This could take a while...
Successfully installed redis-server-0.0.5
Parsing documentation for clamp-0.2.3
Installing ri documentation for clamp-0.2.3
Parsing documentation for daemon_controller-0.2.6
Installing ri documentation for daemon_controller-0.2.6
Parsing documentation for redis-server-0.0.5
Installing ri documentation for redis-server-0.0.5
3 gems installed
But that shouldn't solved the issue either:
$ redis start &
[1] 14286
$ ruby < <(curl https://raw.github.com/Raven24/diaspora-install/master/diaspora-insta.rb)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17748 100 17748 0 0 39861 0 --:--:-- --:--:-- --:--:-- 48097
#####################################################################
DIASPORA* INSTALL SCRIPT
----
This script will guide you through the basic steps
to get a DEVELOPMENT setup of diaspora* up and running
For a PRODUCTION installation, please do *not* use this script!
Follow the guide in our wiki, instead:
-- https://wiki.diasporafoundation.org/Installation_guides
#####################################################################
[ info ] -- Press [Enter] to continue...
[ info ] -- checking for bash...
[ debug ] -- running: which bash
[ debug ] -- /bin/bash
[ debug ] -- pid 14327 exit 0 FOUND
[ info ] -- checking for git...
[ debug ] -- running: which git
[ debug ] -- /usr/bin/git
[ debug ] -- pid 14329 exit 0 FOUND
[ info ] -- checking for ruby...
[ debug ] -- running: which ruby
[ debug ] -- /home/andre/.rvm/rubies/ruby-2.0.0-p353/bin/ruby
[ debug ] -- pid 14331 exit 0 FOUND
[ info ] -- checking for rubygems...
[ debug ] -- running: which gem
[ debug ] -- /home/andre/.rvm/rubies/ruby-2.0.0-p353/bin/gem
[ debug ] -- pid 14333 exit 0 FOUND
[ info ] -- checking for redis...
[ debug ] -- running: which redis-server
[ warn ] -- which: no redis-server in (/home/andre/.rvm/gems/ruby-2.0.0-p353/bin:/home/andre/.rvm/gems/ruby-2.0.0-p353@global/bin:/home/andre/.rvm/rubies/ruby-2.0.0-p353/bin:/home/andre/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3:/opt/nvidia-cg-toolkit/bin:/usr/games/bin)
[ debug ] -- pid 14335 exit 1
[ fatal ] -- you are missing the 'redis-server' command, please install redis
-- have a look at our wiki: https://wiki.diasporafoundation.org/
-- or join us on IRC: irc://freenode.net/diaspora
$ /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/daemon_controller-0.2.6/lib/daemon_controller.rb:370:in `start_without_locking': Daemon 'Redis server' failed to start in time. (DaemonController::StartTimeout)
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/daemon_controller-0.2.6/lib/daemon_controller.rb:198:in `block in start'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/daemon_controller-0.2.6/lib/daemon_controller/lock_file.rb:68:in `block in exclusive_lock'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/daemon_controller-0.2.6/lib/daemon_controller/lock_file.rb:63:in `open'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/daemon_controller-0.2.6/lib/daemon_controller/lock_file.rb:63:in `exclusive_lock'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/daemon_controller-0.2.6/lib/daemon_controller.rb:197:in `start'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/redis-server-0.0.5/bin/redis:53:in `start'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/redis-server-0.0.5/bin/redis:102:in `execute'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/clamp-0.2.3/lib/clamp/command.rb:63:in `run'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/clamp-0.2.3/lib/clamp/subcommand/execution.rb:18:in `execute_subcommand'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/clamp-0.2.3/lib/clamp/command.rb:72:in `execute'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/clamp-0.2.3/lib/clamp/command.rb:63:in `run'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/clamp-0.2.3/lib/clamp/command.rb:119:in `run'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/gems/redis-server-0.0.5/bin/redis:137:in `'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/bin/redis:23:in `load'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/bin/redis:23:in `'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
from /home/andre/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `'
""[1]+ Exit 1 redis start
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.