https://github.com/dgapitts/vagrant-postgres13
https://github.com/dgapitts/vagrant-postgres13
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dgapitts/vagrant-postgres13
- Owner: dgapitts
- Created: 2022-01-30T16:54:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T22:53:51.000Z (over 4 years ago)
- Last Synced: 2025-01-08T22:38:50.156Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Quick Intro
This project is a pg13/centos-7 version of vagrant-postgres10 (also centos 7)
Please see https://github.com/dgapitts/vagrant-postgres10 for more details.
I have highlighted some of the key setup processes below.
### Extra manual steps for root sar crontab
```
# run system activity accounting tool every 1 minutes
*/1 * * * * /usr/lib64/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * /usr/lib64/sa/sa2 -A
```
### systemctl commands for postgresql-13.service for status/start/stop with alias' for vagrant user
These can be run as the standard vagrant user
```
[pg13centos7:vagrant:~] # alias pgstatus='echo "sudo systemctl status postgresql-13.service";sudo systemctl status postgresql-13.service'
[pg13centos7:vagrant:~] # alias pgstart='echo "sudo systemctl start postgresql-13.service";sudo systemctl start postgresql-13.service'
[pg13centos7:vagrant:~] # alias pgstop='echo "sudo systemctl stop postgresql-13.service";sudo systemctl stop postgresql-13.service'
```