Skip to content

Commit d555dc1

Browse files
committed
Added a few more admin scripts & updated README.md
1 parent a8a7ffa commit d555dc1

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,15 @@
3737
Checking the Server Status:
3838
sudo service nginx status
3939

40+
Disable the Server at Boot-Up:
41+
sudo systemctl disable nginx
42+
43+
Enable the Server at Boot-Up:
44+
sudo systemctl enable nginx
45+
4046
## Private Key & Certificate Generation Commands
4147

42-
Generate Private Key (2048 Bit Key Length) & Certificate:
48+
Generate Self-Signed Private Key (2048 Bit Key Length) & Certificate:
4349
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout domainName.key -out domainName.crt
4450

4551
Generate PEM File Certificate (For Secure Email Messaging):

scripts/disable.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
systemctl disable nginx

scripts/enable.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
systemctl enable nginx

0 commit comments

Comments
 (0)