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:20]
steve
ubuntu_hortonworks [2016/01/28 17:01]
steve
Line 28: Line 28:
 net.ipv6.conf.lo.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
 vm.swappiness = 0 vm.swappiness = 0
-fs.epoll.max_user_instances = 2048 
 </​code>​ </​code>​
  
-Disable it directly as well:+Apply the changes:
  
 <​code>​ <​code>​
-sysctl -w net.ipv6.conf.all.disable_ipv6=1 +sysctl -p 
-sysctl -w net.ipv6.conf.default.disable_ipv6=1 +</​code>​ 
-sysctl -w net.ipv6.conf.lo.disable_ipv6=1 + 
-sysctl -w vm.swappiness=0 +HortonWorks recommends disabling transparent hugepages as wellAdd to ''/​etc/​rc.local'':​ 
-sysctl -w fs.epoll.max_user_instances=2048+ 
 +<​code>​ 
 +echo never > /​sys/​kernel/​mm/​transparent_hugepage/​enabled 
 +echo never > /​sys/​kernel/​mm/​transparent_hugepage/​defrag
 </​code>​ </​code>​
  
Line 47: 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>​