How to install Entrprisedb server-10.1.
5
1) Create enterprisedb user.
[root@db11g ~]# adduser enterprisedb --–provide sudo access to enterprisedb.
[root@db11g ~]# passwd enterprisedb
Changing password for user enterprisedb.
New password:
BAD PASSWORD: it is based on a dictionary word
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.
Note: - SELinux can be put in enforcing mode again after installation
2) Download tar file from Enterprisedb portal.
3) Copy .tar.zip file to your linux server directory (own by enterprisedb).
[enterprisedb@db11g u02]$ ls -ltr
total 126224
-rw-rw-r--. 1 enterprisedb enterprisedb 129249660 Aug 15 16:49 edb-as10-server-1 0.1.5-
1-linux-x64.tar.gz
[enterprisedb@db11g u02]$ gunzip edb-as10-server-10.1.5-1-linux-x64.tar.gz
[enterprisedb@db11g u02]$ ls -ltr
total 127612
-rw-rw-r--. 1 enterprisedb enterprisedb 130672640 Aug 15 16:49 edb-as10-server-10.1.5-1-
linux-x64.tar
[enterprisedb@db11g u02]$ tar -xvf edb-as10-server-10.1.5-1-linux-x64.tar
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
[enterprisedb@db11g u02]$ ls -ltr
total 127616
drwxrwxr-x. 2 enterprisedb enterprisedb 4096 Nov 8 2017 edb-as10-server-10.1.5-1-linux-
x64
-rw-rw-r--. 1 enterprisedb enterprisedb 130672640 Aug 15 16:49 edb-as10-server-10.1.5-1-
linux-x64.tar
[enterprisedb@db11g edb-as10-server-10.1.5-1-linux-x64]$ ls -ltr
total 127604
-rw-rw-r--. 1 enterprisedb enterprisedb 5569 Nov 8 2017 README_FIRST_Linux64.txt
-rwxr-xr-x. 1 enterprisedb enterprisedb 130656365 Nov 8 2017 edb-as10-server-10.1.5-1-linux-
x64.run
4) installing EDB server:
[enterprisedb@db11g edb-as10-server-10.1.5-1-linux-x64]$ sudo ./edb-as10-server-10.1.5-1-
linux-x64.run --mode text
[sudo] password for enterprisedb:
----------------------------------------------------------------------------
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
Do you accept this license? [y/n]: y
----------------------------------------------------------------------------
User Authentication
This installation requires a registration with EnterpriseDB.com. Please enter
your credentials below. If you do not have an account, Please create one now on
https://www.enterprisedb.com/user-login-registration
Email []: *********@example.com (enter email id which register with EDB)
Password : (Enter password of same account)
----------------------------------------------------------------------------
Please specify the directory where EDB Postgres Advanced Server will be
installed.
Installation Directory [/opt/edb/as10]: /u02/edb/as10
----------------------------------------------------------------------------
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 [/u02/edb/as10/data]: /u02/edb/as10/data
Please select a directory under which to store your Write-Ahead Logs.
Write-Ahead Log (WAL) Directory [/u02/edb/as10/data/pg_wal]: /u02/edb/as10/data/pg_wal
----------------------------------------------------------------------------
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 :
Retype Password : (Enter password of OS user Enterprisedb)
----------------------------------------------------------------------------
Additional Configuration
Please select the port number the server should listen on.
Port [5444]: 5444
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
....
[712] yo_NG.utf8
[713] zh_CN
[714] zh_CN.gb2312
[715] zh_CN.utf8
[716] zh_HK.utf8
[717] zh_SG
[718] zh_SG.gb2312
[719] zh_SG.utf8
[720] zh_TW.euctw
[721] zh_TW.utf8
[722] zu_ZA
[723] zu_ZA.iso88591
[724] zu_ZA.utf8
Please choose an option [1] : 1
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] : 1
----------------------------------------------------------------------------
Update Notification Service
Install Update Notification Service [Y/n]: Y
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: /u02/edb/as10
Server Installation Directory: /u02/edb/as10
Data Directory: /u02/edb/as10/data
WAL Directory: /u02/edb/as10/data/pg_wal
Database Port: 5444
Database Superuser: enterprisedb
Operating System Account: enterprisedb
Database Service: edb-as-10
Command Line Tools Installation Directory: /u02/edb/as10
pgAdmin4 Installation Directory: /u02/edb/as10/pgAdmin4
StackBuilderPlus Installation Directory: /u02/edb/as10/stackbuilderplus
Press [Enter] to continue:
----------------------------------------------------------------------------
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.