Make installation functional for upcoming code release

This commit is contained in:
2026-08-18 09:04:08 +02:00
parent 28a4b2d8d3
commit fb5705ada0
14 changed files with 79 additions and 55 deletions
+29 -29
View File
@@ -79,32 +79,7 @@ group (here as example 'yms'). The user which runs the local gui (here
chgrp yms /var/local/yms/thumb
chmod -R 770 /var/local/yms
5. Install webgui
5.1 Upload webgui files
Upload all files and directories (except the install directory) to your
webserver.
Disallow access to include files (.inc). There is an example _htaccess
file.
5.2. Create and edit webgui config file
Rename sample configfile config.inc-sample:
mv config.inc-sample config.inc
Open config.inc in a text editor and fill in your database details.
If you want to use local unix socket connection set host = socket.
5.3. Check file access rights for security
Configfile should be readable by webserver but not writeable.
chmod 640 config.inc
chgrp www-data config.inc
6. Setup local GUI
4. Setup local GUI
Create a local database user with same name as your computer user and allow
database access with current unix credentials. E.g if your current unix user
@@ -113,8 +88,32 @@ is "ymsgui":
mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON yms.* TO 'ymsgui'@'localhost';
Execute "install.sh" to install the software to your local operating system.
This has to be done as user "root" or with "sudo".
Start "yms", default configuration file is automatically created
6. Install webgui
6.1 Upload webgui files
Upload all files and directories (except the install directory) to your
webserver.
Disallow access to include files (.inc). There is an example _htaccess
file.
6.2. Create and edit webgui config file
Rename sample configfile config.inc-sample:
mv config.inc-sample config.inc
Open config.inc in a text editor and fill in your database details.
If you want to use local unix socket connection set host = socket.
6.3. Check file access rights for security
Configfile should be readable by webserver but not writeable.
chmod 640 config.inc
chgrp www-data config.inc
7. Start using YMS
@@ -123,6 +122,7 @@ Start your browser and login to YMS with the initial username/password:
captain/captain
Use local client:
Start ymsgui.py
Change the password using the local GUI before normal use.
Start "yms", the default configuration file is automatically created
Change the password for the main web user using the local GUI before
normal use.