forked from lizsvr/cfnfree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lizsvr
committed
Jan 30, 2023
1 parent
428f614
commit 3dbd3ec
Showing
3 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,8 +52,11 @@ from [email protected] | |
password yourpaswordapp | ||
logfile ~/.msmtp.log | ||
EOF | ||
chown -R www-data:www-data /etc/msmtprc | ||
cd /usr/bin | ||
#wget -O autobackup "https://${akbarvpn}/autobackup.sh" | ||
wget -O addemail "https://${akbarvpn}/addemail.sh" | ||
wget -O changesend "https://${akbarvpn}/changesend.sh" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,11 +66,11 @@ chronyc tracking -v | |
mkdir -p /etc/xray | ||
sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill | ||
cd /root/ | ||
wget https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | ||
curl https://get.acme.sh | sh | ||
bash acme.sh --install | ||
rm acme.sh | ||
cd .acme.sh | ||
bash acme.sh --set-default-ca --server letsencrypt | ||
bash acme.sh --register-account -m [email protected] | ||
bash acme.sh --issue --standalone -d $domain --force | ||
bash acme.sh --issue --standalone -d $domain--force | ||
bash acme.sh --installcert -d $domain --fullchainpath /etc/xray/xray.crt --keypath /etc/xray/xray.key | ||
sleep 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,12 @@ domain=$IP | |
systemctl enable xray.service | ||
sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill | ||
cd /root/ | ||
wget -O acme.sh https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | ||
curl https://get.acme.sh | sh | ||
bash acme.sh --install | ||
rm acme.sh | ||
cd .acme.sh | ||
echo "starting...., Port 80 Akan di Hentikan Saat Proses install Cert" | ||
bash acme.sh --set-default-ca --server letsencrypt | ||
bash acme.sh --register-account -m [email protected] | ||
bash acme.sh --issue --standalone -d $domain --force | ||
bash acme.sh --issue --standalone -d $domain--force | ||
bash acme.sh --installcert -d $domain --fullchainpath /etc/xray/xray.crt --keypath /etc/xray/xray.key | ||
sleep 3 | ||
restart |