DEDICATED
Robust, secure and industrial-grade dedicated servers.
Dedicated Mac mini M4. Bare metal Mac, zero hardware cost.
Dedicated Mac Mini M6. Apple's fastest chip yet, bare-metal, zero hardware cost.
VIRTUAL SERVERS
Deploy rapid provisioning instances within minutes.
The cost-effective choice that lets you focus on your business with confidence.
SERVICES
Reliable management services for your VPS and Dedicated Server.
Migrate your hosting to Casbay.
HOSTING SOLUTIONS
Reliable and scalable web hosting solution
High Speed Business Hosting comes with security features.
Powerful email hosting platform at your fingertips.
SERVICES
Let us take care of your hosting.
DOMAIN HOSTING
Get your domain for local business in Singapore.
Choose your domain extension with affordable price.
Transfer & Renew your domain at cheapest price.
Protect your private information with Whois.
SECURITY
Boost customers trust & confidence.
Complete, affordable and cloud-based website protection.
IT SOLUTIONS
Best IT support for your company.
Cost-Efficient & Complete Office IT Solution.
Professional Network Setup Design and Solution.
Never Lose a File Again with Casbay Backup Solution.
Affordable and efficient Disaster Recovery as a Service.
Protect your website from malware and DDoS attacks.
WHY US
Our vision, history and photo gallery.
Tier III certified data centre in Singapore.
Understanding Casbay Privacy Policy.
Find out what our clients say about us.
The latest news and media releases.

PostgreSQL is an open-source relational database management system used by multiple platforms and VPS. For relational queries, PostgreSQL uses SQL, whereas, for non-relational queries, it uses JSON. PostgreSQL is a scalable and dependable database management system with advanced optimization features which would be a good addition to your Linux VPS server if you needed one. In this article, we will be guiding you on how to install PostgreSQL onto your server. The Linux distribution used in this guide is CentOS 7
Before making any installation on your VPS, it is necessary to access to your server using SSH.
To install PostgreSQL onto your CentOS 7, open your terminal and run the following command.
sudo yum install postgresql-server postgresql-contrib
The PostgreSQL installation will take some time to complete. The reason why it is this simple to install PostgreSQL is due to PostgreSQL being part of the CentOS 7 repository.
After completing the installation, use the following command to initialize it.
sudo postgresql-setup initdb
Your PostgreSQL is ready to use by now, to start it, run the following command.
sudo systemctl start postgresql
This step is how to enable PostgreSQL to start on every system boot, which is completely optional and up to user preference. To enable it, run the following command.
sudo systemctl enable postgresql
Copyright © 2010 – 2026 Casbay LLC. All Rights Reserved.