Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
9c5d8079
Commit
9c5d8079
authored
Nov 24, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump Redis requirement to 2.8 for Sidekiq 4 requirements
Closes #3649 [ci skip]
parent
2947eda5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
5 deletions
+22
-5
CHANGELOG
CHANGELOG
+1
-0
README.md
README.md
+1
-1
doc/install/installation.md
doc/install/installation.md
+19
-3
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+1
-1
No files found.
CHANGELOG
View file @
9c5d8079
...
@@ -11,6 +11,7 @@ v 8.3.0 (unreleased)
...
@@ -11,6 +11,7 @@ v 8.3.0 (unreleased)
- Update project repositorize size and commit count during import:repos task (Stan Hu)
- Update project repositorize size and commit count during import:repos task (Stan Hu)
- Fix API setting of 'public' attribute to false will make a project private (Stan Hu)
- Fix API setting of 'public' attribute to false will make a project private (Stan Hu)
- Handle and report SSL errors in Web hook test (Stan Hu)
- Handle and report SSL errors in Web hook test (Stan Hu)
- Bump Redis requirement to 2.8 for Sidekiq 4 (Stan Hu)
- Fix: Assignee selector is empty when 'Unassigned' is selected (Jose Corcuera)
- Fix: Assignee selector is empty when 'Unassigned' is selected (Jose Corcuera)
- Add rake tasks for git repository maintainance (Zeger-Jan van de Weg)
- Add rake tasks for git repository maintainance (Zeger-Jan van de Weg)
- Fix 500 error when update group member permission
- Fix 500 error when update group member permission
...
...
README.md
View file @
9c5d8079
...
@@ -69,7 +69,7 @@ GitLab is a Ruby on Rails application that runs on the following software:
...
@@ -69,7 +69,7 @@ GitLab is a Ruby on Rails application that runs on the following software:
-
Ubuntu/Debian/CentOS/RHEL
-
Ubuntu/Debian/CentOS/RHEL
-
Ruby (MRI) 2.1
-
Ruby (MRI) 2.1
-
Git 1.7.10+
-
Git 1.7.10+
-
Redis 2.
4
+
-
Redis 2.
8
+
-
MySQL or PostgreSQL
-
MySQL or PostgreSQL
For more information please see the
[
architecture documentation
](
http://doc.gitlab.com/ce/development/architecture.html
)
.
For more information please see the
[
architecture documentation
](
http://doc.gitlab.com/ce/development/architecture.html
)
.
...
...
doc/install/installation.md
View file @
9c5d8079
...
@@ -62,7 +62,7 @@ up-to-date and install it.
...
@@ -62,7 +62,7 @@ up-to-date and install it.
Install the required packages (needed to compile Ruby and native extensions to Ruby gems):
Install the required packages (needed to compile Ruby and native extensions to Ruby gems):
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server
redis-server
checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate python-docutils pkg-config cmake nodejs
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate python-docutils pkg-config cmake nodejs
If you want to use Kerberos for user authentication, then install libkrb5-dev:
If you want to use Kerberos for user authentication, then install libkrb5-dev:
...
@@ -174,7 +174,23 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
...
@@ -174,7 +174,23 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
## 6. Redis
## 6. Redis
sudo apt-get install redis-server
As of this writing, most Debian/Ubuntu distributions ship with Redis 2.2 or
2.
4. GitLab requires at least Redis 2.8. If your platform doesn't provide
this, the following instructions cover building and installing Redis from
scratch.
Ubuntu users
[
can also use a PPA
](
https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server
)
to install a recent version of Redis.
# Build Redis
wget http://download.redis.io/releases/redis-2.8.23.tar.gz
tar xzf redis-2.8.23.tar.gz
cd redis-2.8.23
make
# Install Redis
cd utils
sudo ./install_server.sh
# Configure redis to use sockets
# Configure redis to use sockets
sudo cp /etc/redis/redis.conf /etc/redis/redis.conf.orig
sudo cp /etc/redis/redis.conf /etc/redis/redis.conf.orig
...
@@ -197,7 +213,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
...
@@ -197,7 +213,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
fi
fi
# Activate the changes to redis.conf
# Activate the changes to redis.conf
sudo service redis
-server re
start
sudo service redis
_6379
start
# Add git to the redis group
# Add git to the redis group
sudo usermod -aG redis git
sudo usermod -aG redis git
...
...
lib/tasks/gitlab/check.rake
View file @
9c5d8079
...
@@ -331,7 +331,7 @@ namespace :gitlab do
...
@@ -331,7 +331,7 @@ namespace :gitlab do
end
end
def
check_redis_version
def
check_redis_version
min_redis_version
=
"2.
4
.0"
min_redis_version
=
"2.
8
.0"
print
"Redis version >=
#{
min_redis_version
}
? ... "
print
"Redis version >=
#{
min_redis_version
}
? ... "
redis_version
=
run
(
%W(redis-cli --version)
)
redis_version
=
run
(
%W(redis-cli --version)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment