Table of Contents Previous Next



The repository configuration file is named edb.repo. The file resides in /etc/yum.repos.d.
After creating the edb.repo file, use your choice of editor to ensure that the value of the enabled parameter is 1, and replace the username and password placeholders in the baseurl specification with the name and password of a registered EnterpriseDB user.
[edb]
baseurl=https://<username>:<password>@yum.enterprisedb.com/edb/redhat/rhel-$releasever-$basearch
After saving your changes to the configuration file, you can use yum install command to install Advanced Server. For example, to install the server and its core components, use the command:
After installing Advanced Server, you must configure the installation; see Section 3.2, Configuring an Advanced Server Installation for details.
yum will update the edb.repo file to enable access to the current EDB repository, configured to connect with the credentials specified in your edb.repo file. Then, you can use yum to upgrade all packages whose names include the expression ppas:
Please note that the yum upgrade command will only perform an update between minor releases; to update between major releases, you must use pg_upgrade. For more information about using pg_upgrade, see Section 8.
The edb-repo rpm creates the edb-repo file; install this package if you are installing any or all of the following:
3.
Use yum to invoke the repository configuration package:
The -C option instructs yum not to attempt to update any repositories that exist on the host system.
4.
The repository configuration file is named edb.repo and resides in the following directory:
To enable a repository, change the value of the enabled parameter to 1 and replace the username and password placeholders in the baseurl specification with your user name and the repository password.
Modify both the [ppas94] entries in the edb.repo file to install any of the Advanced Server 9.4 packages:
6.
Use the following commands to install the yum-utils and createrepo packages:
9.
Install your preferred webserver on the host that will act as your local repository, and ensure that the repos directory is accessible to the other servers on your network. For example, you might install lighttpd:
If you are using lighttpd, you must provide a configuration file that identifies the location of the repository. For example, the configuration file might contain:
$HTTP["host"] == "yum.domain.com"{
server.document-root = "/srv/repos"
server.errorlog="/var/log/lighttpd/yum_error.log"
accesslog.filename = "/var/log/lighttpd/yum_access.log"}
For detailed information about installing, configuring and using lighttpd, visit the official project site at:
[ppas94]
name=PPAS
baseurl=http://yum.
domain.com/ppas94
enabled=1
gpgcheck=0


Table of Contents Previous Next