Skip to content

Instantly share code, notes, and snippets.

@flolas
Created October 22, 2017 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flolas/426ded806c13eece258f0c5c928343f4 to your computer and use it in GitHub Desktop.
Save flolas/426ded806c13eece258f0c5c928343f4 to your computer and use it in GitHub Desktop.
sudo apt-get -y update
sudo apt-get -y install default-jre libc6-i386 libc6-dev-i386 curl unzip vim netcat telnet
sudo useradd james
sudo mkdir /home/james
sudo chown -R james:james /home/james
sudo adduser james sudo
mkdir /opt/james
sudo curl -o /opt/james/james-server-app-3.0.0-app.zip http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip
sudo unzip /opt/james/james-server-app-3.0.0-app.zip -d /opt/james
sudo chown -R james:james /opt/james
sudo su james
sudo /opt/james/james-server-app-3.0.0/bin/james start
sudo /opt/james/james-server-app-3.0.0/bin/james-cli.sh -h localhost -p 9999 adddomain 45.55.154.214
sudo /opt/james/james-server-app-3.0.0/bin/james-cli.sh -h localhost -p 9999 adduser ejecutivos@45.55.154.214 sabado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment