@@ -161,38 +161,40 @@ Tarantool - Downloads
161
161
| ` ` $basearch ` ` (i.e. base architecture) must be either i386
162
162
or x86_64.
163
163
164
- Copy and paste the script below to the terminal prompt:
164
+ Copy and paste the script below to the *root* terminal prompt:
165
165
166
166
.. code-block:: bash
167
167
168
+ # Clean up yum cache
169
+ yum clean all
168
170
# Enable EPEL repository
169
- sudo yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
171
+ yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
170
172
sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
171
173
172
174
# Add Tarantool repository
173
- sudo rm -f /etc/yum.repos.d/*tarantool*.repo
174
- sudo tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
175
+ rm -f /etc/yum.repos.d/*tarantool*.repo
176
+ tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
175
177
[tarantool_1_7]
176
178
name=EnterpriseLinux-\$ releasever - Tarantool
177
- baseurl=http://download.tarantool.org/tarantool/1.7/el/7 /\$ basearch/
179
+ baseurl=http://download.tarantool.org/tarantool/1.7/el/6 /\$ basearch/
178
180
gpgkey=http://download.tarantool.org/tarantool/1.7/gpgkey
179
181
repo_gpgcheck=1
180
182
gpgcheck=0
181
183
enabled=1
182
184
183
185
[tarantool_1_7-source]
184
186
name=EnterpriseLinux-\$ releasever - Tarantool Sources
185
- baseurl=http://download.tarantool.org/tarantool/1.7/el/7 /SRPMS
187
+ baseurl=http://download.tarantool.org/tarantool/1.7/el/6 /SRPMS
186
188
gpgkey=http://download.tarantool.org/tarantool/1.7/gpgkey
187
189
repo_gpgcheck=1
188
190
gpgcheck=0
189
191
EOF
190
192
191
193
# Update metadata
192
- sudo yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7' --enablerepo='epel'
194
+ yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7' --enablerepo='epel'
193
195
194
196
# Install tarantool
195
- sudo yum -y install tarantool
197
+ yum -y install tarantool
196
198
197
199
* RHEL 7 and CentOS 7
198
200
@@ -203,13 +205,15 @@ Tarantool - Downloads
203
205
| ` ` $releasever ` ` (i.e. CentOS release version) must be 7, and
204
206
| ` ` $basearch ` ` (i.e. base architecture) must be either i386 or x86_64.
205
207
206
- Copy and paste the script below to the terminal prompt:
208
+ Copy and paste the script below to the *root* terminal prompt:
207
209
208
210
.. code-block:: bash
209
211
212
+ # Clean up yum cache
213
+ yum clean all
210
214
# Add Tarantool repository
211
- sudo rm -f /etc/yum.repos.d/*tarantool*.repo
212
- sudo tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
215
+ rm -f /etc/yum.repos.d/*tarantool*.repo
216
+ tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
213
217
[tarantool_1_7]
214
218
name=EnterpriseLinux-\$ releasever - Tarantool
215
219
baseurl=http://download.tarantool.org/tarantool/1.7/el/7/\$ basearch/
@@ -227,10 +231,10 @@ Tarantool - Downloads
227
231
EOF
228
232
229
233
# Update metadata
230
- sudo yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7'
234
+ yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7'
231
235
232
236
# Install Tarantool
233
- sudo yum -y install tarantool
237
+ yum -y install tarantool
234
238
235
239
* Amazon Linux
236
240
@@ -243,17 +247,19 @@ Tarantool - Downloads
243
247
| ` ` $releasever ` ` (i.e. RHEL / CentOS release version) must be 6, and
244
248
| ` ` $basearch ` ` (i.e. base architecture) must be either i386 or x86_64.
245
249
246
- Copy and paste the script below to the terminal prompt:
250
+ Copy and paste the script below to the *root* terminal prompt:
247
251
248
252
.. code-block:: bash
249
253
254
+ # Clean up yum cache
255
+ yum clean all
250
256
# Enable EPEL repository
251
- sudo yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
257
+ yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
252
258
sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
253
259
254
260
# Add Tarantool repository
255
- sudo rm -f /etc/yum.repos.d/*tarantool*.repo
256
- sudo tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
261
+ rm -f /etc/yum.repos.d/*tarantool*.repo
262
+ tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
257
263
[tarantool_1_7]
258
264
name=EnterpriseLinux-\$ releasever - Tarantool
259
265
baseurl=http://download.tarantool.org/tarantool/1.7/el/6/\$ basearch/
@@ -271,10 +277,10 @@ Tarantool - Downloads
271
277
EOF
272
278
273
279
# Update metadata
274
- sudo yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7' --enablerepo='epel'
280
+ yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7' --enablerepo='epel'
275
281
276
282
# Install Tarantool
277
- sudo yum -y install tarantool
283
+ yum -y install tarantool
278
284
279
285
* Snappy package
280
286
0 commit comments