#The recommended
maximum number of open file descriptors is 10000, or more. To check
the current value set for the maximum number of open file
descriptors, execute the following shell commands on each host:
ulimit -Sn
ulimit -Hn
#If the output is
not greater than 10000, run the following command to set it to a
suitable default:
ulimit -n 10000
#SElinux
sudo setenforce 0
sudo sh -c 'sudo sed
-i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config'
sudo sh -c 'sudo sed
-i 's/SELINUX=permissive/SELINUX=disabled/g' /etc/selinux/config'
sudo umask 0022
sudo echo umask 0022
>> /etc/profile
----------------------------- JDK - open JDK only
( oracle JDK not supported ) -------------------------------------------------
sudo yum install
java-1.8.0-openjdk
sudo yum install
java-1.8.0-openjdk-devel
sudo yum install
java-1.8.0-openjdk-headless
export
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
vi ~/.bash_profile
---------------------------------- Installation of
Mysql / MariaDB on the server ----------------------------------
sudo yum update
sudo yum install
mysql-connector-java
sudo yum install
mysql
sudo yum update
sudo yum install
mariadb-server
sudo systemctl
enable mariadb
sudo systemctl start
mariadb
#how to connect :
mysql -u root -p
#no password by
default
---------------------------------- Setting Up a Local
Repository for HDP on the server - No internet access ---------------------------
sudo yum install
yum-utils createrepo
sudo mkdir -p
/var/www/html/
-------------------------------- Prepare the httpd
service on the server -------------------------------
sudo yum install
httpd
sudo service httpd
start
sudo systemctl
enable httpd
---------------------------- prepare the repos ----------------------------------------