Problems installing fresh gitlab on Ubuntu 12.04
Created by: rnveach
I am on Ubuntu 12.04 32 bit. I am using the instructions at https://github.com/gitlabhq/gitlabhq/blob/8-4-stable/doc/install/installation.md .
I have completed everything up to number 5, and am on number 6, installing Redis.
I ran sudo ./install_server.sh
and it failed because it couldn't find the redis executable.
Please select the data directory for this instance [/var/lib/redis/6379]
Selected default - /var/lib/redis/6379
Please select the redis executable path []
Mmmmm... it seems like you don't have a redis executable. Did you run make install yet?
Since there was nothing in the instructions about this, I followed what the program said and ran sudo make install
instead of what the instructions said make
and this is what happened.
ricky@ricky-PowerEdge-840:/tmp/redis-2.8.23$ sudo make install
cd src && make install
make[1]: Entering directory `/tmp/redis-2.8.23/src'
Hint: It's a good idea to run 'make test' ;)
INSTALL install
INSTALL install
INSTALL install
INSTALL install
INSTALL install
make[1]: Leaving directory `/tmp/redis-2.8.23/src'
ricky@ricky-PowerEdge-840:/tmp/redis-2.8.23$ cd utils
ricky@ricky-PowerEdge-840:/tmp/redis-2.8.23/utils$ sudo ./install_server.sh
Welcome to the redis service installer
This script will help you easily set up a running redis server
Please select the redis port for this instance: [6379]
Selecting default: 6379
Please select the redis config file name [/etc/redis/6379.conf]
Selected default - /etc/redis/6379.conf
Please select the redis log file name [/var/log/redis_6379.log]
Selected default - /var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379]
Selected default - /var/lib/redis/6379
Please select the redis executable path [/usr/local/bin/redis-server]
Selected config:
Port : 6379
Config file : /etc/redis/6379.conf
Log file : /var/log/redis_6379.log
Data dir : /var/lib/redis/6379
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
Adding system startup for /etc/init.d/redis_6379 ...
/etc/rc0.d/K20redis_6379 -> ../init.d/redis_6379
/etc/rc1.d/K20redis_6379 -> ../init.d/redis_6379
/etc/rc6.d/K20redis_6379 -> ../init.d/redis_6379
/etc/rc2.d/S20redis_6379 -> ../init.d/redis_6379
/etc/rc3.d/S20redis_6379 -> ../init.d/redis_6379
/etc/rc4.d/S20redis_6379 -> ../init.d/redis_6379
/etc/rc5.d/S20redis_6379 -> ../init.d/redis_6379
Success!
Starting Redis server...
Installation successful!
ricky@ricky-PowerEdge-840:/tmp/redis-2.8.23/utils$ sudo cp /etc/redis/redis.conf /etc/redis/redis.conf.orig
cp: cannot stat `/etc/redis/redis.conf': No such file or directory
As you can see, the next instruction's command failed as the file doesn't exist. The only file in that directory is '6379.conf'. I am lost on how to continue and need some guidance.