Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0
-
Security Level: Public
-
Untriaged
-
Ubuntu 64-bit
-
Unknown
Description
On a clean ubuntu 14.04 image, I downloaded the 4.0RC from our web page, and installed the deb package for ubuntu 14.04.
During installation the following was displayed:
Selecting previously unselected package couchbase-server.
(Reading database ... 51120 files and directories currently installed.)
Preparing to unpack couchbase-server-enterprise_4.0.0-rc0-ubuntu14.04_amd64.deb ...
libssl1.0.0 is installed. Continue installing
Warning: Transparent hugepages looks to be active and should not be.
Please look at http://bit.ly/1hTySfg as for how to PERMANENTLY alter this setting.
Warning: Swappiness is not set to 0.
Please look at http://bit.ly/1hTySfg as for how to PERMANENTLY alter this setting.
Minimum RAM required : 4 GB
System RAM configured : 15.67 GB
Minimum number of processors required : 4 cores
Number of processors on the system : 4 cores
Unpacking couchbase-server (4.0.0-4047-1) ...
Setting up couchbase-server (4.0.0-4047-1) ...
- Started couchbase-server
I saw the warnings and went to the web link, which points to a blog entitled "Often Overlooked Linux OS Tweaks".
The instructions to disable swampiness permanently are as follows:
- Set the value in /etc/sysctl.conf so it stays after reboot.
sudo echo '' >> /etc/sysctl.conf
sudo echo '#Set swappiness to 0 to avoid swapping' >> /etc/sysctl.conf
sudo echo 'vm.swappiness = 0' >> /etc/sysctl.conf
Unfortunately these commands result in the following error:
-bash: /etc/sysctl.conf: Permission denied
There are two issues
(1) The commands due not work as expected
(2) The install process points to a blog, should it not point to our formal documentation for 4.0?