Organization of Files on Linux

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
    │  ├ /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
    ├ /cyss_cbgrn.pid
    ├ /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
    ├ /script.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
    │  ├ /#id_16384_0.dblwr
    │  ├ /#id_16384_1.dblwr
    │  ├ /#innodb_temp
    │  ├ /auto.cnf
    │  ├ /error.log
    │  ├ /ib_buffer_pool
    │  ├ /ib_logfile0
    │  ├ /ib_logfile1
    │  ├ /ib_logfile2
    │  ├ /ibdata1
    │  ├ /ibtmp1
    │  ├ /mysql.ibd
    │  ├ /mysql.sock
    │  ├ /mysql.sock.lock
    │  ├ private_key.pem
    │  ├ public_key.pem
    │  ├ /rhel8-153126.pid
    │  ├ /slow.log
    │  ├ /undo_001
    │  └ /undo_002
    │
    ├/etc
    │  ├ /Samples
    │  ├ /my.ini
    │  └ /worker.ini
    │
    ├/files
    │  └/cbgrn
    │
    ├ /lib
    │  ├ /plugin
    │  └ /private
    │
    ├ /share
    ├ /support-files
    ├ /tmp
    └ /uninstall_cyde_5_0
Full Text Search Server

The Full Text Search Server files are stored in the installation directory that you specified during installation.

  • Example of the installation directory: /usr/local/cybozu
/usr/local/cybozu	installation directory
  └ /cbfts	Full Text Search Server files
    ├ /conf
    │  └/cb
    │    └/fts.json
    └/logs
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
    ├ /js	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 the start-up script directory: /etc/rc.d/init.d

    MySQL service start-up script	: /etc/rc.d/init.d/cyde_5_0  
    Scheduling service start-up script:	: /etc/rc.d/init.d/cyss_cbgrn