Do not delete


TO get Used Resources:
run: top

==================

DEBIAN


How do I install a .deb file via the command line?


tar -xzf centro-install.tar.gz

apt-get install cURL

service arangodb restart

nano /etc/arangodb/arangod.conf
- uncomment endpoint = tcp://0.0.0.0:8529

Uninstall Arango DB
- apt-get remove arangodb

Remove ActifyDB
- Go to the arango web ui
- Select the _system database on top
- Then from the same dropdown go to manage databases
- Then click on the cogwheeel icon thing on ActifyDB and delete database

Log File:
file = /var/log/arangodb/arangod.log


It should now be possible to upgrade to Arango 2.7.1.

To upgrade:

Stop Arango
systemctl stop arangodb
systemctl start arangodb
systemctl restart arangodb

For 3.0.4 *
systemctl stop arangodb3
systemctl start arangodb3
systemctl restart arangodb3


Update apt sources:

apt-get update

Install latest version of Arango:

apt-get install arangodb=2.7.1
apt-get install arangodb=2.8.2
apt-get install arangodb=2.8.5
apt-get install arangodb=2.8.7
apt-get install arangodb=2.8.11
apt-get install arangodb=3.0.4 * Not Supported for CENTRO as of 7.1

You may be prompted to upgrade existing databases. Hit yes to accept this and your database should automatically be updated for use with the new Arango version.

BACKUP AcitfyDB
arangodump --server.database ActifyDB
arangodump --server.database ActifyDB --output-directory "dump" --overwrite true

RESTORE ActifyDB
arangorestore --input-directory "ActifyDB"

/home/jvassello/DB Backups

To resolve "Could not resolve 'security.debian.org'" Error:
change the /etc/resolv.conf
Add:
nameserver 8.8.8.8
nameserver 8.8.4.4


restart Linux networking

/etc/init.d/networking restart

** CentOS ****

Install Arango:
cd /etc/yum.repos.d/
wget https://www.arangodb.com/repositories/arangodb2/CentOS_7/arangodb.repo

Update Arango
yum makecache fast
yum install arangodb-2.8.2
yum install arangodb-2.8.5
yum install arangodb-2.8.6
yum install arangodb-2.8.11

Remove Arangodb *
yum remove arangodb

To Open Port 8529:
Change the /etc/arangodb/arangod.conf so the endpoint is:
endpoint = tcp://0.0.0.0:8529 (This opens the port to everyone)

iptables -A INPUT -p tcp -m tcp --dport 8529 -j ACCEPT


To check if Port is open:
netstat -alnpt
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
...

tcp 0 0 0.0.0.0:8529 0.0.0.0:* LISTEN 3478/arangod

You can test connectivity using a simple command such as:
curl --dump - -X GET http://127.0.0.1:8529/_api/version && echo

RESPONSE
HTTP/1.1 200 OK
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8

Content-Length: 38

Stop the firewall:
systemctl start firewalld
systemctl stop firewalld
systemctl disable firewalld


restart Linux networking
/etc/init.d/network restart

To resolve "Could not resolve 'security.debian.org'" Error:
change the /etc/resolv.conf
Add:
nameserver 8.8.8.8
nameserver 8.8.4.4

If you really want to set /etc/resolv.conf directly and you want to make sure NetworkManager won't overwrite it, you can set it up in /etc/NetworkManager/NetworkManager.conf.

To remove VMWare Tools to allow upgrade of VMWare Tools:
yum remove open-vm-tools