Is the installation instruction for LTS version complete?

Moderator: crythias

Locked
dwtad
Znuny newbie
Posts: 3
Joined: 15 Jul 2024, 17:22
Znuny Version: 6.5.9 LTS
Real Name: Thomas

Is the installation instruction for LTS version complete?

Post by dwtad »

Hi

I'm about to install Znuny 6.5.9 LTS onto a Rocky Linux 9.4 server. Should I expect everything that needs to be done to be contained in the installation instruction? (https://doc.znuny.org/znuny_lts/release ... stall.html) Or is there stuff where the authors just assumed that you do it without outlining exactly what and how? I have a hunch that this might be true for the database user 'root'@'localhost'. They mention that it needs a password but I can't see where this is configured.

Also a bit strange that compared to the instructions for installing other OTRS forks there is no mention to edit Kernel/Config.pm or to run some of the scripts in otrs' bin folder. I used the RPM package by the way and am now sitting at the Installer.pl page where you need to enter the password for 'root'@'localhost'.

/EDIT after finishing the installation: When the web installer finished it showed a user account "root@localhost" and a generated password. Is this just to login to Znuny or has this also become the database's root user password? And if it's the former why name the accounts the same way?

Thanks and bye!
zzz
Znuny superhero
Posts: 914
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Is the installation instruction for LTS version complete?

Post by zzz »

Hey,

The instruction only shows how to install the application. You'll have to handle everything else yourself, like setting up the database, configuring the web server etc. That part is not Znuny specific, and there are tons of tutorials if you're new to Linux.

The installer lets you choose if you want to create a new database or use an existing one. If you don't know the password for the root user, that's on you. If you use unix_socket for the authentication, you'll have to create the database manually or switch to a password-based authentication.

The installer also lets you define the name of the new database, the database user, and the database password. These settings with be saved in Kernel/Config.pm. root@localhost is the default admin for the Znuny GUI and has nothing to do with the database. Why is the user called root@localhost and not just root? I can't tell you, but it's definitely a historical decision :lol:

Best
Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
hkais
Znuny wizard
Posts: 363
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Is the installation instruction for LTS version complete?

Post by hkais »

dwtad wrote: 16 Jul 2024, 15:49 I'm about to install Znuny 6.5.9 LTS onto a Rocky Linux 9.4 server.
Even if not answering your question directly.
Why do you not use Ubuntu LTS or debian itself?

Rocky linux, even if the initial founder of CentOS is maintaining it, IMHO not that mature for production operation on the long run.
I myself use debian since about 1998 and Ubuntu since about 2005. And all the old servers are still on the corresponding started distribution but much fresher version.

If you google for "How to migrate Znuny from centOS to Ubuntu" you fill find a instruction, which I helped to write.
If you need help message let me know, will try to help...

best wishes
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
Locked