Here are the steps to install the stand-alone version of RAMADDA on Amazon Linux, Redhat,
Ubuntu or Centos.
|
ssh -i <.pem file> ec2-user@<server IP address>
For Amazon Linux: sudo yum update -y For Ubuntu: sudo apt update You also may need to install unzip: For Amazon: sudo yum install unzip For Ubuntu: sudo apt install unzip
wget https://ramadda.org/repository/release/latest/ramaddainstaller.zip;unzip ramaddainstaller.zip
sudo sh ramaddainstaller/install.sh
https://<IP address>/repositoryThe install process will display an installation password that you enter through the web interface. This install password is held in >RAMADDA Home>/install.properties
The installer: <home dir>/ramaddainstaller Update script: sudo sh <home dir>/ramaddainstaller/update.sh The installed server: /mnt/ramadda/ramaddainstall A file that contains the RAMADDA_HOME, PORT and path to Java It is sourced by the ramadda.sh below /mnt/ramadda/ramaddainstall/ramaddaenv.sh The log output of the server: /mnt/ramadda/ramaddainstall/ramadda.log The ramadda executable: /mnt/ramadda/ramaddainstall/ramaddaserver The service runs /mnt/ramadda/ramaddainstall/ramaddaserver/ramadda.sh ------------------------------ The RAMADDA home directory: /mnt/ramadda/ramaddahome Holds the database password: /mnt/ramadda/ramaddahome/install.properties The generated keystore. You can replace this with a real certificate /mnt/ramadda/ramaddahome/keystore Holds the keystore passwords: /mnt/ramadda/ramaddahome/ssl.properties Holds the install password: /mnt/ramadda/ramaddahome/install.properties Holds the database password: /mnt/ramadda/ramaddahome/db.properties ------------------------------ Postgres database (if installed): The /var/lib/... pgsql dir links to here /mnt/ramadda/pgsql
source /path/to/ramadda_aws.sh ramadda <SOME IP> -pem <PATH TO .PEM FILE>e.g.
source /path/to/ramadda_aws.sh ramadda 123.456.789.123 -pem /path/to/ramadda.pemThis creates the following aliases:
print out the IP address ip_goramadda ssh to the machine: goramadda copy (with scp) scp <some file> to the machine: putramadda <some file> copy (with scp) <some file> to the <some directory> on the machine putramadda <some file> <some directory> copy (with scp) <some file> from the server getramadda <some file> Update to the latest release of RAMADDA and restarts your server: updateramadda Update to the latest development release of RAMADDA: devupdateramadda Restart RAMADDA startramaddaFor example, if you have a plugin file you want to install you can just do:
putramadda <the plugin file> /mnt/ramadda/ramaddahome/plugins startramaddaNote: it is handy to have a symbolic link on your server to the plugins directory. From the server command line do:
ln -s plugins /mnt/ramadda/ramaddahome/pluginsNow, if you need to update a plugin just do:
putramadda <the plugin file> plugins startramadda