Skip to content

Where is what important files and directories

Daniel Speichert edited this page May 17, 2020 · 2 revisions

There is a few important configuration files and directories that you may want to know about.

First, as otsmanager, the directory layout is as follows:

  • /home/otsmanager/ is your home directory
  • /home/otsmanager/www/public_html/ is the document root for your website files
  • /home/otsmanager/forgottenserver/ is the default location of where TFS is installed
  • /home/otsmanager/.my.cnf - MySQL client config (contains root password)

At a system level:

  • /etc/systemd/system/tfs.conf is where your TFS systemd service unit file lives
  • /etc/php5/fpm/php.ini - the php.ini file
  • /etc/nginx/sites-available/default - the website vhost configuration file
  • /var/lib/automysqlbackup/ - here daily MySQL backups are stored
  • /etc/mysql/my.cnf - the MySQL server config file