Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu_hortonworks [2016/01/28 11:18]
steve
ubuntu_hortonworks [2016/01/28 17:01]
steve
Line 21: Line 21:
 </​code>​ </​code>​
  
-Disable IPv6 in ''/​etc/​sysctl.conf'':​+Disable IPv6 completely ​in ''/​etc/​sysctl.conf''​. HortonWorks also recommends disabling swapping completely, and increasing max user instances:
  
 <​code>​ <​code>​
Line 27: Line 27:
 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1
 net.ipv6.conf.lo.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
 +vm.swappiness = 0
 </​code>​ </​code>​
  
-Also disable it for the running machine:+Apply the changes:
  
 <​code>​ <​code>​
-sysctl -w net.ipv6.conf.all.disable_ipv6=1 +sysctl -
-sysctl -w net.ipv6.conf.default.disable_ipv6=1 +</​code>​ 
-sysctl -w net.ipv6.conf.lo.disable_ipv6=1+ 
 +HortonWorks recommends disabling transparent hugepages as wellAdd to ''/​etc/​rc.local'':​ 
 + 
 +<​code>​ 
 +echo never > /​sys/​kernel/​mm/​transparent_hugepage/​enabled 
 +echo never > /​sys/​kernel/​mm/​transparent_hugepage/​defrag
 </​code>​ </​code>​
  
Line 43: Line 49:
 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
 aptitude update aptitude update
 +</​code>​
 +
 +Install the Ambari package:
 +
 +<​code>​
 +aptitude -y install ambari-server
 </​code>​ </​code>​