Absolute Path to the directory that holds the MTS folder:

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Actions/Local/Host/ApplicationPaths.php on line 85

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 66

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 76

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 66

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 76

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 66

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 76

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 66

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 76

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 66

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 76

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MtsSetup.php on line 90

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MtsSetup.php on line 92

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MtsSetup.php on line 94
Install Valid
Include this line when you need to use a shell or browser:
require_once "/var/www/html/ai-engine/MTS-master/MTS/EnableMTS.php"
The current user is not allowed to sudo python. This is optional
You will still be able to instantiate non-root shells.
You can then elevate the non-root shell with the following function:
\MTS\Factories::getActions()->getRemoteUsers()->changeUser($shellObj, 'root', 'rootPassword')

Warning: Giving Sudo access to the webserver user is a security risk.
If you want to enable sudo for python follow the steps below
Edit /etc/sudoers:
1) Find this line: 'root ALL=(ALL) ALL'
Add this line after it: 'www-data ALL=(ALL)NOPASSWD:/usr/bin/python3.11'.

2) Find this line (if it exists): 'Defaults requiretty'
Comment out the line by adding a '#' in front of it.
MS core fonts is not installed. This is recommended
The standard repos do not have this package
Please Google 'ttf-mscorefonts-installer' to find a source, then install
This may help: http://serverfault.com/questions/89931/installing-msttcorefonts-on-ubuntu



Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 66

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 76

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 66

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/ai-engine/MTS-master/MTS/Common/Devices/Shells/Bash.php on line 76