Difference between revisions of "From src"

66 bytes added ,  18:13, 13 September 2022
m
Text replacement - "^" to "{{deprecated}}"
m (Cosmetic changes)
m (Text replacement - "^" to "{{deprecated}}")
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=System=
{{deprecated}}=System=
To work in /usr/local directory you need rights of group staff
To work in /usr/local directory you need rights of group staff
  sudo adduser User staff
  sudo adduser User staff
Line 7: Line 7:


=Latest snapshot=
=Latest snapshot=
Create local copy of repository
Create local copy of repository (recommended)
<pre>
<pre>
cd /usr/local/src/
cd /usr/local/src/
Line 15: Line 15:
Or you can get latest snapshot from website
Or you can get latest snapshot from website
<pre>
<pre>
wget http://git.netxms.org/netxms-snapshot.tar.gz
wget http://git.netxms.org/netxms-snapshot-develop.tar.gz
mkdir -p /usr/local/src/netxms-git
mkdir -p /usr/local/src/netxms-git
cp netxms-snapshot.tar.gz /usr/local/src/netxms-git
cp netxms-snapshot-develop.tar.gz /usr/local/src/netxms-git
cd /usr/local/src/netxms-git
cd /usr/local/src/netxms-git
tar -xf netxms-snapshot.tar.gz
tar -xf netxms-snapshot-develop.tar.gz
</pre>
</pre>


Line 112: Line 112:
ALTER USER netxms QUOTA UNLIMITED ON USERS;
ALTER USER netxms QUOTA UNLIMITED ON USERS;
-- ROLES
-- ROLES
GRANT RESOURCE TO netxms;
GRANT CREATE SESSION, CREATE TABLE, CREATE PROCEDURE TO netxms;
GRANT CONNECT TO netxms;
</pre>
</pre>
create initial shema
create initial schema
  nxdbmgr init /usr/local/share/netxms/sql/dbinit_oracle.sql
  nxdbmgr init /usr/local/share/netxms/sql/dbinit_oracle.sql