Common directories

Updated on: 28.Dec.2020

The following is the common directories which we will access most of the time

  •   /etc - stores all the configuration.  
    • /etc/fail2ban
      • filter.d - this directory stores the filter for generating the ban record.
      • jail.local - this is the local configuration.
    • /etc/nginx

      • sites-available/default - this is the default website configuration file.
    • /etc/ssh
      • sshd_config - this is the SSH configuration file.
  • /var - stores the www files, mysql data files, etc.
    • /var/log - stores all the log files.
      • auth.log - the access log.
      • fail2ban.log  - the log file for fail2ban daemon.
      • syslog - the system log that includes boot up and shutting down events.

    • /var/nginx - stores the Nginx log files.

      • access.log - the website access log. This will be useful for generating the web traffic report.
      • error.log - stores the error like missing file and any other error.
    • /var/www - stores the website that is hosting in this server. This
  • /home - stores the user’s files.


    No comments:

    Post a Comment