test@rizky:~$ ssh
-X root@IP_D_Replication
The authenticity of
host 'IP_D_Replication (IP_D_Replication)' can't be established.
ECDSA key
fingerprint is
SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Are you sure you
want to continue connecting (yes/no)? yes
Warning: Permanently
added 'IP_D_Replication' (ECDSA) to the list of known hosts.
root@IP_D_Replication's
password: (Di isi passwordnya)
X11 forwarding
request failed on channel 0
Last login: Fri Aug
3 11:21:41 2018 from rizky
[root@Marmer-Node4
~]# ll
total 4
-rw-------. 1 root
root 1760 Jul 31 15:35 anaconda-ks.cfg
[root@Marmer-Node4
~]# cd /opt/
[root@Marmer-Node4
opt]# ll
total 670848
-rw-r--r--. 1 root
root 129249660 Agu 1 11:09 edb-as10-server-10.1.5-1-linux-x64.tar.gz
-rw-r--r--. 1 root
root 3379160 Agu 1 11:09 efm20-2.0.3-1.rhel7.x86_64.rpm
-rw-r--r--. 1 root
root 185646832 Agu 1 11:09 jdk-8u181-linux-x64.tar.gz
-rw-r--r--. 1 root
root 13265628 Agu 1 11:09 pem-agent-7.3.0-7-linux-x64.run
-rw-r--r--. 1 root
root 301356964 Agu 1 11:09 pem-server-7.3.0-7-linux-x64.run
-rw-r--r--. 1 root
root 26652442 Agu 1 11:09 postgresql-10.4.tar.gz
-rw-r--r--. 1 root
root 27386498 Agu 1 11:09
xdbreplicationserver-6.2.0-1-linux-x64.run
[root@Marmer-Node4
opt]# tar zxfv
edb-as10-server-10.1.5-1-linux-x64.tar.gz
edb-as10-server-10.1.5-1-linux-x64/
edb-as10-server-10.1.5-1-linux-x64/README_FIRST_Linux64.txt
edb-as10-server-10.1.5-1-linux-x64/edb-as10-server-10.1.5-1-linux-x64.run
[root@Marmer-Node4
opt]# cd /DATA/
[root@Marmer-Node4
DATA]# ll
total 0
[root@Marmer-Node4
DATA]# mkdir -p EDB10/app
[root@Marmer-Node4
DATA]# cd
/opt/edb-as10-server-10.1.5-1-linux-x64
[root@Marmer-Node4
edb-as10-server-10.1.5-1-linux-x64]# ll
total 127604
-rwxr-xr-x 1 501 501
130656365 Nov 8 2017 edb-as10-server-10.1.5-1-linux-x64.run
-rw-rw-r-- 1 501 501
5569 Nov 8 2017 README_FIRST_Linux64.txt
[root@Marmer-Node4
edb-as10-server-10.1.5-1-linux-x64]# vi
/etc/resolv.conf
[root@Marmer-Node4
edb-as10-server-10.1.5-1-linux-x64]# cat
/etc/resolv.conf
# Generated by
NetworkManager
#nameserver
x.x.x.x
#nameserver
x.x.x.x
[root@Marmer-Node4
edb-as10-server-10.1.5-1-linux-x64]#
./edb-as10-server-10.1.5-1-linux-x64.run
--prefix /DATA/EDB10/app --datadir /DATA/EDB10/app/data --xlogdir
/DATA/EDB10/app/data/pg_wal
----------------------------------------------------------------------------
Welcome to the EDB
Postgres Advanced Server Setup Wizard.
----------------------------------------------------------------------------
Please read the
following License Agreement. You must accept the terms of this
agreement before
continuing with the installation.
Press [Enter] to
continue: (Di enter saja)
Limited Use Software
License Agreement
Version 2.9
IMPORTANT - READ
CAREFULLY
This Limited Use
Software License Agreement ("Agreement") is a legal
document
between you
("Customer") and EnterpriseDB Corporation ("EnterpriseDB").
It is
important that you
read this document before using the EnterpriseDB-provided
software
("Software"). By clicking the "I ACCEPT" button,
or by installing, or
otherwise using the
Software, Customer agrees to be bound by the terms of this
Agreement,
including, without limitation, the warranty disclaimers, limitations
of liability and
termination provisions below. Customer agrees that this
Agreement is
enforceable like any written agreement negotiated and signed by
Customer. If
Customer does not agree with the terms and conditions of this
Agreement, Customer
is not licensed to use the Software, and Customer must
destroy any
downloaded copies of the Software in its possession or control. The
Software provided
under this Agreement may be: (i) generally available
("Generally
Available") to the customers of EnterpriseDB, or (ii)
pre-release
("Pre-Release")
and provided as part of an alpha, beta or evaluation test
program in which
case the Software is not yet GA. This agreement will not apply
if Customer has: a)
a valid, paid subscription that includes entitlement to a
Full Use Software
License for the Software as specified on the applicable order,
and in that case,
the terms of the Full Use Software License Agreement will
Press [Enter] to
continue: (Di enter saja)
apply, or b)
purchased a Full Use Software License, and in that case, the terms
of the Full Use
Software License Agreement will apply.
1. Scope of License.
Subject to the terms and conditions of this Agreement,
EnterpriseDB grants
to Customer a non-exclusive, non-transferable right to
install a single
instance of the Software on no more than five (5) Servers. The
Software may only be
used solely for internal evaluation purposes ("Authorized
Use") during
the time that Customer is current in the payment of the applicable
subscription fees or
if no subscription fees are due, then this license will
remain in effect
until this Agreement is terminated as set forth in Section 9.
Evaluation purposes
do not include the right to use the Software for production
use, sublicensing,
resale, training or distribution, including without
limitation,
operation on a time sharing, software as a service or service bureau
basis or
distributing the Software as part of an ASP, VAR, OEM, distributor or
reseller
arrangement. "Server" is a single machine which processes
data using
one or more CPUs. If
a machine includes server blades or virtual servers, each
such server blade or
virtual server is considered a separate Server.
2. License
Restrictions. Customer agrees not to, or allow any third party to:
(a) copy or use the
Software in any manner except as expressly permitted in this
Agreement; (b)
transfer, sell, rent, lease, distribute, or sublicense the
Press [Enter] to
continue: (Di enter saja)
Software; (c) use
the Software for providing time-sharing services, service
bureau services or
as part of an application services provider or software as a
service offering;
(d) reverse engineer, disassemble, decompile the Software; (e)
alter or remove any
proprietary notices in the Software; and (f) make available
to any third party
any analysis of the results of operation of the Software,
including
benchmarking results, without the prior written consent of
EnterpriseDB.
Customer may make one additional copy of the Software for backup
or archival purposes
provided that the Authorized Use is not exceeded. If
Customer would like
to change the level of Authorized Use, Customer will need to
enter into the
appropriate EnterpriseDB license and pay the applicable fees.
3. Ownership.
EnterpriseDB and its licensors retain all right, title and
interest in and to
the Software and any modifications and enhancements to the
Software and all
upgrades, including all intellectual property rights that are
not expressly
granted in this Agreement. Customer may provide EnterpriseDB with
feedback regarding
the Software ("Feedback"), including bugs, errors and
feature
requests.
EnterpriseDB owns all right, title and interest in and to all
Feedback.
4. Open Source
Programs. The Software may be distributed with third party open
source software
programs as described in the licenses directory of the Software.
Press [Enter] to
continue: (Di enter saja)
These open source
programs are distributed under open source licenses and not
this Agreement.
5. Verification.
Customer acknowledges that the Software may include
functionality that
notifies Customer of the availability of updates and collects
and reports certain
information about the use of the Software to EnterpriseDB.
Customer will
provide EnterpriseDB with documentation concerning transactions
related to the
Software within thirty (30) days after written request. In
addition, upon at
least thirty (30) days prior written notice, EnterpriseDB or
its designated agent
may inspect and review Customer's facilities and records in
order to verify
Customer's compliance with this Agreement.
6. DISCLAIMER OF
WARRANTIES. ENTERPRISEDB PROVIDES THE SOFTWARE TO CUSTOMER "AS
IS".
ENTERPRISEDB DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR
IMPLIED, INCLUDING,
WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A
PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT, AND ALL WARRANTIES
THAT MAY ARISE FROM
COURSE OF PERFORMANCE, COURSE OF DEALING OR USAGE OF TRADE.
WITH RESPECT TO
PRE-RELEASE SOFTWARE, CUSTOMER ACKNOWLEDGES THAT THE SOFTWARE
CONTAINS UNTESTED
AND EXPERIMENTAL SOFTWARE OF ENTERPRISEDB AND THAT THE TESTING
AND QUALITY
ASSURANCE OF THE SOFTWARE OR PARTS THEREOF HAVE NOT YET BEEN
COMPLETED.
Press [Enter] to
continue: (Di enter saja)
7. LIMITATIONS OF
LIABILITY. Notwithstanding any other clause in this Agreement,
in no event will
EnterpriseDB be liable for any special, indirect, incidental,
punitive or
consequential damages (including, without limitation, any failure to
realize savings or
other benefits; any loss of use; or any claims made by or any
payments made to any
third person), any loss of revenue or profits, any loss
and/or damage
arising from or in connection with a virus, or any loss of data
and/or damage
arising there from or relating thereto, in each case arising from
or in connection
with this Agreement or the use or performance of any Software
whether in an action
based on contract, tort or any other legal theory, whether
or not EnterpriseDB
has been notified of the possibility thereof.
Notwithstanding any
other clause in this Agreement, in no event will
EnterpriseDB's total
aggregate liability for any damages arising from or in
connection with this
Agreement or the use or performance of any Software whether
in actions based on
contract, tort or any other legal theory, and whether or not
EnterpriseDB has
been notified of the possibility thereof, exceed the amount
paid under this
Agreement during the twelve (12) month period preceding the date
of the claim. The
foregoing limitations, exclusions and disclaimers are an
allocation of the
risk between the parties and will apply to the maximum extent
permitted by
applicable law, even if any remedy fails in its essential purpose.
Press [Enter] to
continue: (Di enter saja)
8. Government
Rights. The Software under this Agreement is "commercial
computer
software" as
that term is described in DFAR 252.227-7014(a) (1). If acquired by
or on behalf of a
civilian agency, the U.S. Government acquires this commercial
computer software
and/or commercial computer software documentation subject to
the terms and this
Agreement as specified in 48C.F.R. 12.212 (Computer Software)
and 12.11 (Technical
Data) of the Federal Acquisition Regulations ("FAR") and
its successors. If
acquired by or on behalf of any agency within the Department
of Defense ("DOD"),
the U.S. Government acquires this commercial computer
software and/or
commercial computer software documentation subject to the terms
of this Agreement as
specified in 48 C.F.R. 227.7202 of the DOD FAR Supplement
and its successors.
9. Term and
Termination. This Agreement is effective as of the date this
Agreement is
accepted by Customer and will continue: (i) with respect to
Generally Available
Software for sixty (60) days unless earlier terminated by
either party giving
written notice to the other of its intent to terminate, and
(ii) with respect to
Pre-Release Software, until the end of the applicable
testing program
unless the Software earlier becomes Generally Available. In the
event of a
termination of this Agreement, Customer must de-install all Software
and cease all use of
the Software. Sections 2, 3, 4, 5, 6, 7, 8, 9 and 10 will
survive the
termination of this Agreement. In addition, Customer will pay
EnterpriseDB all
monies that become due prior to the date of termination.
Press [Enter] to
continue: (Di enter saja)
10. Miscellaneous.
10.1 Entire
Agreement. This Agreement constitutes the entire agreement between
the parties
concerning the subject matter hereof, notwithstanding any different
or additional terms
that may be contained in the form of purchase order or other
document used by
Customer to place orders or otherwise effect transactions
hereunder. This
Agreement supersedes all prior or contemporaneous discussions,
proposals and
agreements between the parties relating to the subject matter of
this Agreement. No
amendment, modification or waiver of any provision of this
Agreement will be
effective unless in writing and signed by both parties.
10.2 Severability.
If any provision of this Agreement is held to be invalid or
unenforceable, the
remaining portions will remain in full force and effect and
such provision will
be enforced to the maximum extent possible so as to effect
the intent of the
parties and will be reformed to the extent necessary to make
such provision valid
and enforceable provided, however, that if Sections 6 and 7
cannot be modified
to be valid and enforceable, this Agreement will be deemed
invalid in its
entirety.
10.3 Force Majeure.
Neither party will be liable or deemed to be in breach for
any delay or failure
in performance of this Agreement (except for the payment of
Press [Enter] to
continue: (Di enter saja)
money) or
interruption of services resulting directly or indirectly from acts
of
God, civil or
military authority, war, riots, civil disturbances, accidents,
fire, earthquake,
floods, strikes, lock-outs, labor disturbances, foreign or
governmental order,
or any other cause beyond the reasonable control of such
party.
10.4 Governing Law
and Venue. This Agreement will be governed by the laws of New
York without regard
for its choice of law provisions. All disputes arising out
of or relating to
this Agreement will be submitted to the exclusive jurisdiction
of the state or
federal courts of New York, and each party irrevocably consents
to such personal
jurisdiction and waives all objections to this venue.
10.5 Export
Regulations. Customer will comply fully with all export control laws
and regulations of
the United States and all other jurisdictions.
10.6 Assignment.
Neither party may assign this Agreement without the prior
written consent of
the other party, which consent will not be unreasonably
withheld, provided
that no consent will be necessary if this Agreement is being
assigned by a party
to an acquirer of all or substantially all of the party's
assets (or the
assets of the party's applicable business unit), whether by
merger, sale or
exchange of stock, sale of assets or otherwise and in this case,
the party may assign
this Agreement by providing written notice to the other
party.
Press [Enter] to
continue: (Di enter saja)
10.7 Marketing.
EnterpriseDB may use Customer's name and company logo on its
customer list and
web site, and link to Customer's web site.
10.8 Independent
Contractor. The relationship of the parties is that of
independent
contractors. Neither party will be deemed to be the legal
representative of
the other nor will it have any right to bind the other party
to any contract or
commitment. This Agreement does not, and will not, be
construed to create
an employer-employee, agency, joint venture or partnership
relationship between
the parties. Each party agrees to assume complete
responsibility for
its own employees regarding federal or state laws, including
employers' liability
and tax withholding, worker's compensation, social
security,
unemployment insurance, and OSHA requirements.
10.9 Notice. All
notices and other communications herein permitted or required
under this Agreement
will be sent by postage prepaid, via registered or
certified mail or
overnight courier, return receipt requested, or delivered
personally to the
parties at their respective addresses, or to such other
address as either
party will give to the other party in the manner provided
herein for giving
notice. Notice will be considered given upon receipt.
10.10
Confidentiality. "Confidential Information" means the
Software, the
Feedback and all
information in any form disclosed by EnterpriseDB to Customer
Press [Enter] to
continue: (Di enter saja)
that, due to its
nature or the circumstances surrounding disclosure would be
considered
confidential by a reasonable person. Confidential Information does
not include any
information that is: (i) or becomes available to the general
public due to no
fault of Customer, (ii) in Customer's possession prior to the
disclosure and under
no obligation to hold such information in confidence, (iii)
disclosed to
Customer by a third party who is under no obligation to hold that
information in
confidence, (iv) is independently developed by Customer without
use of Confidential
Information, or (v) is approved for release or disclosure by
written
authorization of EnterpriseDB. Customer agrees to use Confidential
Information solely
for the purpose of evaluation and testing of the Software.
Customer agrees (a)
to hold the Confidential Information in confidence, (b) to
protect and store it
consistently with its own confidential information, but in
no event to use less
than a reasonable standard of care, and (c) not to copy,
duplicate, disclose
or deliver all or any portion of the Confidential
Information to any
third party (except as expressly permitted in this
Agreement). Customer
may share the Confidential Information only with those
employees and
consultants with a specific need to review the Confidential
Information in the
course of the evaluation and testing of the Software.
Customer will have
executed or shall execute appropriate written agreements with
its employees and
consultants sufficient to enable Customer to enforce all the
provisions of this
Agreement. Customer is liable for all acts and omissions of
its employees and
consultants to the extent that such act or omission would be a
breach of this
Agreement if it had been done by Customer. Notwithstanding the
Press [Enter] to
continue: (Di enter saja)
foregoing
restrictions, the Customer may use and disclose any information to
the
extent required by
an order of any court or other governmental authority, but
only after
EnterpriseDB has been so notified and has had the opportunity, if
possible, to obtain
reasonable protection for such information in connection
with such
disclosure. If EnterpriseDB is not successful in precluding the
requesting legal
body from requiring the disclosure of the Confidential
Information, the
Customer will furnish only that portion of the Confidential
Information which is
legally required.
Press [Enter] to
continue: (Di enter saja)
Do you accept this
license? [y/n]: y
----------------------------------------------------------------------------
Please specify the
directory where EDB Postgres Advanced Server will be
installed.
Installation
Directory [/DATA/EDB10/app]: (Di enter saja)
----------------------------------------------------------------------------
Select the
components you want to install; clear the components you do not want
to install. Click
Next when you are ready to continue.
EDB Postgres
Advanced Server [Y/n] :y
pgAdmin 4 [Y/n] :y
StackBuilder Plus
[Y/n] :y
Command Line Tools
[Y/n] :y
Is the selection
above correct? [Y/n]: y
----------------------------------------------------------------------------
Additional
Directories
Please select a
directory under which to store your data.
Data Directory
[/DATA/EDB10/app/data]: (Di enter saja)
Please select a
directory under which to store your Write-Ahead Logs.
Write-Ahead Log
(WAL) Directory [/DATA/EDB10/app/data/pg_wal]: (Di
enter saja)
----------------------------------------------------------------------------
Advanced Server
Dialect
EDB Postgres
Advanced Server can be configured in one of two "Dialects"
- 1) Compatible with Oracle or 2) Compatible with Postgres.
If you select
Compatible with Oracle, Advanced Server will be configured with
appropriate data type conversions, time and date formats,
Oracle-styled operators, dictionary views and more. This makes it
easier to migrate or write new applications that are more compatible
with the Oracle database.
If you select
Compatible with Postgres, Advanced Server will be configured with
standard PostgeSQL data types, time/date formats and operators.
Advanced Server
Dialect
[1] Compatible with
Oracle
[2] Compatible with
Postgres
Please choose an
option [1] : 1
----------------------------------------------------------------------------
Please provide a
password for the database superuser (enterprisedb). A locked
Unix user account
(enterprisedb) will be created if not present.
Password :(Di
isi passwordnya)
Retype Password :
(Di isi passwordnya)
----------------------------------------------------------------------------
Additional
Configuration
Please select the
port number the server should listen on.
Port [5444]: 5447
Select the locale to
be used by the new database cluster.
Locale
[1] [Default locale]
[2] aa_DJ
[3] aa_DJ.iso88591
[4] aa_DJ.utf8
[5] aa_ER
[6] aa_ER@saaho
[7] aa_ER.utf8
[8] aa_ER.utf8@saaho
[9] aa_ET
[10] aa_ET.utf8
Please choose an
option [1] : (Di enter saja)
Would you like to
install sample tables and procedures?
Install sample
tables and procedures. [Y/n]: y
----------------------------------------------------------------------------
Dynatune Dynamic
Tuning:
Server Utilization
Please select the
type of server to determine the amount of system resources
that may be
utilized:
[1] Development
(e.g. a developer's laptop)
[2] General Purpose
(e.g. a web or application server)
[3] Dedicated (a
server running only Advanced Server)
Please choose an
option [2] : 2
----------------------------------------------------------------------------
Dynatune Dynamic
Tuning:
Workload Profile
Please select the
type of workload this server will be used for:
[1] Transaction
Processing (OLTP systems)
[2] General Purpose
(OLTP and reporting workloads)
[3] Reporting
(Complex queries or OLAP workloads)
Please choose an
option [1] : 2
----------------------------------------------------------------------------
Update Notification
Service
Install Update
Notification Service [Y/n]: n
The Update
Notification Service informs, downloads and installs whenever
security patches and
other updates are available for your EDB Postgres Advanced
Server installation.
----------------------------------------------------------------------------
Pre Installation
Summary
The following
settings will be used for the installation::
Installation
Directory: /DATA/EDB10/app
Server Installation
Directory: /DATA/EDB10/app
Data Directory:
/DATA/EDB10/app/data
WAL Directory:
/DATA/EDB10/app/data/pg_wal
Database Port: 5447
Database Superuser:
enterprisedb
Operating System
Account: enterprisedb
Database Service:
edb-as-10
Command Line Tools
Installation Directory: /DATA/EDB10/app
pgAdmin4
Installation Directory: /DATA/EDB10/app/pgAdmin4
StackBuilderPlus
Installation Directory: /DATA/EDB10/app/stackbuilderplus
Press [Enter] to
continue: (Di enter saja)
----------------------------------------------------------------------------
Setup is now ready
to begin installing EDB Postgres Advanced Server on your
computer.
Do you want to
continue? [Y/n]: y
----------------------------------------------------------------------------
Please wait while
Setup installs EDB Postgres Advanced Server on your computer.
Installing EDB
Postgres Advanced Server
0% ______________
50% ______________ 100%
#########################################
----------------------------------------------------------------------------
Setup has finished
installing EDB Postgres Advanced Server on your computer.
[root@Marmer-Node4
edb-as10-server-10.1.5-1-linux-x64]# netstat
-pltn
Active Internet
connections (only servers)
Proto Recv-Q Send-Q
Local Address Foreign Address State
PID/Program name
tcp 0 0
0.0.0.0:5447 0.0.0.0:* LISTEN
10907/edb-postgres
tcp 0 0
0.0.0.0:111 0.0.0.0:* LISTEN
1728/rpcbind
tcp 0 0
192.168.122.1:53 0.0.0.0:* LISTEN
3510/dnsmasq
tcp 0 0
0.0.0.0:22 0.0.0.0:* LISTEN 2042/sshd
tcp 0 0
127.0.0.1:631 0.0.0.0:* LISTEN
2046/cupsd
tcp 0 0
127.0.0.1:25 0.0.0.0:* LISTEN
2806/master
tcp6 0 0
:::5447 :::* LISTEN
10907/edb-postgres
tcp6 0 0
:::111 :::* LISTEN
1728/rpcbind
[root@Marmer-Node4
edb-as10-server-10.1.5-1-linux-x64]# su -
enterprisedb
Last login: Rab Agu
8 11:26:42 WIB 2018
-bash-4.2$ pwd
/DATA/EDB10/app
-bash-4.2$
/DATA/EDB10/app/bin/psql
psql
psql.bin
-bash-4.2$
/DATA/EDB10/app/bin/psql -p 5447 -d edb
Password:(Di
isi passwordnya)
psql.bin (10.1.5)
Type "help"
for help.
edb=# \q
could not save
history to file "/DATA/EDB10/app/.psql_history": Permission
denied
-bash-4.2$
/DATA/EDB10/app/bin/psql -p 5447 -d edb
Password: (Di
isi passwordnya)
psql.bin (10.1.5)
Type "help"
for help.
edb=# \l
List of databases
Name |
Owner | Encoding | Collate | Ctype | ICU | Access
privileges
-----------+--------------+----------+-------------+-------------+-----+-------------------------------
edb |
enterprisedb | UTF8 | en_US.UTF-8 | en_US.UTF-8 | |
postgres |
enterprisedb | UTF8 | en_US.UTF-8 | en_US.UTF-8 | |
template0 |
enterprisedb | UTF8 | en_US.UTF-8 | en_US.UTF-8 | |
=c/enterprisedb +
|
| | | | |
enterprisedb=CTc/enterprisedb
template1 |
enterprisedb | UTF8 | en_US.UTF-8 | en_US.UTF-8 | |
=c/enterprisedb +
|
| | | | |
enterprisedb=CTc/enterprisedb
(4 rows)
edb=# \dt
List of
relations
Schema | Name |
Type | Owner
--------+---------+-------+--------------
public | dept |
table | enterprisedb
public | emp |
table | enterprisedb
public | jobhist |
table | enterprisedb
(3 rows)
edb=# \q
could not save
history to file "/DATA/EDB10/app/.psql_history": Permission
denied
-bash-4.2$ vi
.bash_profile
# .bash_profile
# Get the aliases
and functions
if [ -f ~/.bashrc ];
then
. ~/.bashrc
fi
# User specific
environment and startup programs
#export
PGDATA=/DATA/dbreplikasi
PATH=$PATH:$HOME/.local/bin:$HOME/bin
PATH=$PATH:/DATA/EDB10/app/bin
export PATH
Save ctrl+c
→ shift + ; → wq!
→ enter
-bash-4.2$ source
.bash_profile
-bash-4.2$ psql
-p 5447 -d edb
INSTALL VNC SERVER
[root@Marmer-Node4
~]# cat /etc/resolv.conf
# Generated by
NetworkManager
#nameserver x.x.x.x
#nameserver x.x.x.x
[root@Marmer-Node4
~]# vi /etc/resolv.conf
[root@Marmer-Node4
~]# cat /etc/resolv.conf
# Generated by
NetworkManager
nameserver x.x.x.x
nameserver x.x.x.x
[root@Marmer-Node4
~]# yum install redhat-lsb
[root@Marmer-Node4
~]# chown -R enterprisedb:enterprisedb
/DATA/EDB10/
[root@Marmer-Node4
~]# su - enterprisedb
Last login: Jum Agu
3 14:47:20 WIB 2018 on pts/1
-bash-4.2$ exit
[root@Marmer-Node4
~]#yum install vnc
[root@Mufins-Node4
~]# rpm -qa | grep vnc
tigervnc-server-1.8.0-5.el7.x86_64
gtk-vnc2-0.7.0-3.el7.x86_64
gvnc-0.7.0-3.el7.x86_64
tigervnc-license-1.8.0-5.el7.noarch
tigervnc-server-minimal-1.8.0-5.el7.x86_64
[root@Marmer-Node4
~]# su - enterprisedb
Last login: Jum Agu
3 14:47:20 WIB 2018 on pts/1
-bash-4.2$ vncpasswd
-bash-4.2$ vncserver
:3 -geometry 1280x1024


Comments
Post a Comment