MinDoc
Recently, I was looking for an open source document management system. In my impression, I built a document system once in 2016, but I can't remember the name. I still have some impression on the UI. I searched repeatedly, and finally found the SmartWiki document system on Google. Yes, it has been used for 16 years, but it is no longer maintained
Brief installation
export PATH=$PATH:/www/wwwroot/domain.com/lib/time/zoneinfo.zip
source /etc/profile
#MySQL and sqlite3 databases are supported. If sqlite3 is used, db_database identifies the physical directory of the database db_adapter="${MINDOC_DB_ADAPTER||MySQL}" db_host="${MINDOC_DB_HOST||127.0.0.1}" db_port="${MINDOC_DB_PORT||3306}" db_database="${MINDOC_DB_DATABASE||name}" db_username="${MINDOC_DB_USERNAME||name}" db_password="${MINDOC_DB_PASSWORD||pwd}"
Initialize database
cd /www/wwwroot/domain.com ./mindoc_linux_amd64 install
Start program
#Modify Executable Permission chmod +x mindoc_linux_amd64 #Start program ./mindoc_linux_amd64
Exit window method for background operation
nohup ./ mindoc_linux_amd64 &
Set reversal
Installation Services
./mindoc_linux_amd64 service install
Start+start automatically
systemctl start mindocd systemctl enable mindocd
Management command
#Database initialization command: install ./mindoc_linux_amd64 install #Version view: version ./mindoc_linux_amd64 version #Install the service (a service with mindocd 'as the service name will be created) ./mindoc_linux_amd64 service install #Uninstall Service ./mindoc_linux_amd64 service remove #Modify account password ./mindoc_linux_amd64 password -account admin -password 123456