System Administration & Services Management¶
Environment variables¶
Instances come with preset environment variables, that you can list using:
env | grep 'APP'
# Example:
# APP_ENV=prod
# APP_INDEX_HOSTS=localhost:9200
# APP_DATABASE_PASSWORD=UjNRiyc9YgHcvVsACePXKofn
# APP_DATABASE_HOST=localhost
# APP_SECRET=6d40b1ed-6ce0-6ca7-f1c9-256c2241edc9
PIM Location¶
/home/akeneo/pim
Database access¶
Connect to the database by using mysql, with no need to provide credentials. They are read from ~/.my.cnf.
$ mysql
$ mysqldump akeneo_pim # to dump the content of the database
Privilege escalation¶
Note
akeneo is an unprivileged user, but you can use the aliases below to perform system operations.
Alias |
Argument |
Action |
---|---|---|
|
|
Show status or start/restart mysql daemon |
|
|
Show status or start/restart elasticsearch daemon |
|
|
Show status or start/restart php-fpm daemon (Command name can vary depending on your version of PHP) |
|
Clear PIM cache properly. Stops php-fpm and job consumers, deletes PIM cache folder, warms up PIM cache and restarts php-fpm and job consumers |
|
|
|
Show status, start/stop/restart or enable/disable job consumers. Refer to this page for more details |
Third-party Software Installation¶
Third-party packages can’t be installed, with the exceptions of PHP packages.
Found a typo or a hole in the documentation and feel like contributing?
Join us on Github!