literature

Install DAZ Studio 4.9 on Linux

Deviation Actions

amyaimei's avatar
By
Published:
7.4K Views

Literature Text

I have installed DAZ Studio 4.9.2.70 for Windows (64-bit) on Linux (Debian 8.5 64-bit) with wine 1.9.10 (Staging). The DAZ CMS is connected to the PostgreSQL running on Linux. 

Now it is in working condition, I can use the DAZ Connect on it too.

I would like to share the steps I performed. The following steps assumed wine is already installed.
0. Use winetricks to get the followings: vcrun2005, vcrun2010, d3dx9

1. Install PostgreSQL
sudo apt-get install postgresql postgresql-contrib-9.4
sudo apt-get install pgadmin3
Notes: pgadmin3 is optional.

2. Setup DAZ Studio Content DB
sudo -u postgres psql

CREATE ROLE dzcms LOGIN
SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;

CREATE DATABASE "Content"
WITH OWNER = dzcms
ENCODING = 'UTF8'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;

\c Content

CREATE EXTENSION citext
SCHEMA public
VERSION "1.0";

ALTER ROLE dzcms
SET search_path = dzcontent, public;

3. Modify PostgreSQL configuration to allow dzcms logon without password.
sudo -u postgres vi /etc/postgresql/9.4/main/pg_hba.conf
Change "md5" to "trust" for both IPv4 and IPv6 local connections:
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust

4. Restart PostgreSQL
sudo /etc/init.d/postgresql restart

5. Install DAZ Studio 4.9 by using wine as "Windows XP." It is VERY IMPORTANT, I spent days to figure out why the CMS is not working just because I installed it by using wine as "Windows 7."

6. Setup DAZ Studio CMS connection before starting DAZ Studio.
Create the file .wine/drive_c/users/<your_linux_user_name>/Application Data/DAZ 3D/cms/cmscfg.json with the following contents:
{
  "Port" : 5432,
  "ConnectionURI" : "postgresql://dzcms@localhost:5432/Content"
}

7. Start DAZ Studio, the database Content should be populated after that. You can check it by using psql command-line or pgadmin3 GUI.
© 2016 - 2024 amyaimei
Comments75
Join the community to add your comment. Already a deviant? Log In

Hi, I have installed DAZ 4.20 with Lutris on Kubuntu 22.04. It is working for almost half an year without issues. Installation is quiet easy and seams very stable !