mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-06 01:25:00 +02:00
Added systemctl examples for the services.
This commit is contained in:
parent
040428bdab
commit
71358be2e2
5 changed files with 120 additions and 4 deletions
|
@ -322,7 +322,17 @@ composer install
|
|||
mv config.php.dist config.php
|
||||
```
|
||||
|
||||
Configure all options in ```config.php``` and run ```php start_whois.php &```
|
||||
- Configure all options in ```config.php```.
|
||||
|
||||
- Copy ```docs/whois.service``` to ```/etc/systemd/system/```. Change only User and Group lines to your user and group.
|
||||
|
||||
```bash
|
||||
systemctl daemon-reload
|
||||
systemctl start whois.service
|
||||
systemctl enable whois.service
|
||||
```
|
||||
|
||||
After that you can manage WHOIS via systemctl as any other service.
|
||||
|
||||
## 10. Setup RDAP:
|
||||
|
||||
|
@ -332,7 +342,17 @@ composer install
|
|||
mv config.php.dist config.php
|
||||
```
|
||||
|
||||
Configure all options in ```config.php``` and run ```php start_rdap.php &```
|
||||
- Configure all options in ```config.php```.
|
||||
|
||||
- Copy ```docs/rdap.service``` to ```/etc/systemd/system/```. Change only User and Group lines to your user and group.
|
||||
|
||||
```bash
|
||||
systemctl daemon-reload
|
||||
systemctl start rdap.service
|
||||
systemctl enable rdap.service
|
||||
```
|
||||
|
||||
After that you can manage RDAP via systemctl as any other service.
|
||||
|
||||
## 11. Setup EPP:
|
||||
|
||||
|
@ -342,7 +362,7 @@ composer install
|
|||
mv config.php.dist config.php
|
||||
```
|
||||
|
||||
Configure all options in ```config.php``` and run ```php start_epp.php &```
|
||||
Configure all options in ```config.php```.
|
||||
|
||||
To create test certificates (cert.pem and key.pem):
|
||||
|
||||
|
@ -351,6 +371,16 @@ openssl genrsa -out key.pem 2048
|
|||
openssl req -new -x509 -key key.pem -out cert.pem -days 365
|
||||
```
|
||||
|
||||
- Copy ```docs/epp.service``` to ```/etc/systemd/system/```. Change only User and Group lines to your user and group.
|
||||
|
||||
```bash
|
||||
systemctl daemon-reload
|
||||
systemctl start epp.service
|
||||
systemctl enable epp.service
|
||||
```
|
||||
|
||||
After that you can manage EPP via systemctl as any other service.
|
||||
|
||||
## 12. Setup Automation Scripts:
|
||||
|
||||
```bash
|
||||
|
@ -466,7 +496,17 @@ composer install
|
|||
mv config.php.dist config.php
|
||||
```
|
||||
|
||||
Configure all options in ```config.php``` and run ```php start_das.php &```
|
||||
Configure all options in ```config.php```.
|
||||
|
||||
- Copy ```docs/das.service``` to ```/etc/systemd/system/```. Change only User and Group lines to your user and group.
|
||||
|
||||
```bash
|
||||
systemctl daemon-reload
|
||||
systemctl start das.service
|
||||
systemctl enable das.service
|
||||
```
|
||||
|
||||
After that you can manage DAS via systemctl as any other service.
|
||||
|
||||
## 14. Setup Monitoring:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue