File Structure in the Linux Environment

CGI application

The CGI application of Garoon is installed in the CGI directory that you specified during installation. The various files of the CGI application are stored in a subdirectory of the CGI directory that is named with your installation identifier.

  • Example of the CGI directory: /var/www/cgi-bin
/var/www/cgi-bin	CGI directory
  └ /cbgrn	installation identifier
    ├ /code	Garoon programs
    │  ├ /command
    │  ├ /compiled_container
    │  ├ /doc_root
    │  ├ /include
    │  ├ /pear
    │  ├ /plugin
    │  ├ /sched
    │  ├ /smarty
    │  └ /vendor
    │
    ├ /data
    ├ /db
    ├ /extensions	Necessary PHP extension files
    ├ /grn	Necessary configuration files for Garoon
    ├ /locale	Garoon language resources
    ├ /logs
    ├ /page	Garoon template files
    ├ /sessiondata	PHP session data
    ├ /smarty
    │  ├ /cached	Cache data of the smarty library
​    │  └ /compiled	Compiled templates of the smarty library
    │
    ├ /tmp	Temporary files created by PHP scripts
    ├ /upload_tmp	PHP temporary uploaded files
    ├ /common.ini
    ├ /db_error.log
    ├ /garoon.ini
    ├ /garoon_lwc.ini
    ├ /garoon_policy.ini
    ├ /grn.cgi
    ├ /grn.exe
    ├ /grn_initialize.log
    ├ libmariadb.so
    ├ libmariadb.so.3
    ├ /LICENSE_en.txt
    ├ /LICENSE_ja.txt
    ├ /LICENSE_zh.txt
    ├ /logger.ini
    ├ /lwc.ini
    ├ /php.ini
    ├ /sched
    ├ /sched.ini
    ├ /sched.log
    ├ /state.ini
    ├ /system_admin.ini
    └ /uninstall_cbgrn
MySQL

MySQL files are stored in the installation directory that you specified during installation.

  • Example of the installation directory: /usr/local/cybozu
/usr/local/cybozu	MySQL files
  ├ /mysql-5.0
    ├ /bin
    │  ├ /my_print_defaults
    │  ├ /mysql
    │  ├ /mysqladmin
    │  ├ /mysqlbinlog
    │  ├ /mysqlcheck
    │  ├ /mysqld
    │  ├ /mysqld_safe
    │  ├ /mysqldump
    │  └ /mysqlimport
    │
    ├ /data
    │  ├ /cb_cbgrn
    │  ├ /cb_slash
    │  ├ /mysql
    │  ├ /performance_schema
    │  ├ /sys
    │  ├ /#ib_16384_0.dblwr
    │  ├ /#ib_16384_1.dblwr
    │  ├ /#innodb_temp
    │  ├ /auto.cnf
    │  ├ /error.log
    │  ├ /gr6-rhel9-tc.pid
    │  ├ /ib_buffer_pool
    │  ├ /ib_logfile0
    │  ├ /ib_logfile1
    │  ├ /ib_logfile2
    │  ├ /ibdata1
    │  ├ /ibtmp1
    │  ├ /mysql.ibd
    │  ├ /mysql.sock
    │  ├ /mysql.sock.lock
    │  ├ private_key.pem
    │  ├ public_key.pem
    │  ├ /slow.log
    │  ├ /undo_001
    │  └ /undo_002
    │
    ├/etc
    │  ├ /Samples
    │  └ /my.ini
    │
    ├/files
    │  └/cbgrn
    │
    ├ /lib
    │  └ /private
    │
    ├ /share
    ├ /support-files
    ├ /tmp
    └ /uninstall_cyde_5_0
Image file

Image files are stored in a subdirectory named with your installation identifier.

  • Example of the document root directory: /var/www/html
/var/www/html	Document root directory
  └ /cbgrn	installation identifier
    ├ /3rd_party_license	Third party license information
    ├/api
    ├ /fw	Framework image files, and so on
    ├ /grn	Garoon image files, and so on
    │  ├ /common
    │  ├ /html
    │  └/image
    │    ├ /cybozu
    │    └ /oauth
    ├ /help
    ├ /dist	Files such as JavaScript files for displaying screens
    └ /tinymce	Image files for rich text format, and so on
Start-Up Script Files

The start-up script files are installed in the start-up script directory.

  • Example of a start-up script directory: /etc/systemd/system/

    MySQL service start-up script	: /etc/systemd/system/cyde_5_0  
    Scheduling service start-up script:	: /etc/systemd/system/cyss_cbgrn