ubuntu install hazelcast command

For an introduction to hazelcast, please refer to this article Introduction to Hazelcast

 sudo visudo -f /etc/sudoers.d/ubuntu
    2  sudo apt update ; sudo apt full-upgrade -y; sudo reboot 
    3  sudo add-apt-repository ppa:webupd8team/java -y
    4  sudo apt update 
    5  sudo apt install oracle-java8-set-default 
    6  java -version
    7  sudo apt update ; sudo apt full-upgrade -y; sudo reboot 
    8  sudo apt update; sudo apt full-upgrade -y; sudo apt autoremove -y; sudo reboot 
    9  sudo apt update 
   10  clear
   11  sudo apt full-upgrade -y
   12  sudo apt full-upgrade -y; sudo apt autoremove -y; sudo reboot ;
   13  clear
   14  java -version
   15  clear
   16  ls
   17  sudo useradd -r -s /bin/false hazelcast
   18  group
   19  sudo su hazelcast 
   20  id
   21  ls /home/
   22  ls
   23  tar xf hazelcast-3.7.1.tar.gz 
   24  cd hazelcast-3.7.1/
   25  ls
   26  cd bin/
   27  ls
   28  vi hazelcast.xml 
   29  nohup ./start.sh &
   30  ll
   31  netstat -nltp
   32  cd hazelcast-3.7.1/
   33  sh ./bin/stop.sh
   34  sh ./bin/start.sh
   35  exit
   36  cd hazelcast-3.7.1/
   37  cd bin
   38  sh
   39  nohup ./start.sh &
   40  netstat -nltp

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326176526&siteId=291194637