Install MariaDB as a database management system DBMS
sudo apt install mariadb-serverCreate a new database named srvmail for a mail server:
| # Create an access token for user "admin" with name "test-1234" | |
| # POST /users/{username}/tokens/{name} | |
| $ curl -i -u admin:admin -H 'Accept: application/json' -X POST 'http://127.0.0.1:12900/users/admin/tokens/test-1234?pretty=true' | |
| HTTP/1.1 200 OK | |
| X-Graylog-Node-ID: cd03ee44-b2a7-4824-be16-bb7456149dbd | |
| Content-Type: application/json | |
| Date: Mon, 08 Aug 2016 12:12:09 GMT | |
| Content-Length: 139 | |
| { |