Before redirection, we need SSL Certificate.For creating a free SSL Certificate Download Win-Acme it will automatically bind the certificate in IIS.Before generating certificate add-website under IIS for HTTP 1] Download…
1st Download AWS Cli Exe filehttps://docs.aws.amazon.com/cli/latest/userguide/install-windows.html After Install AWS Cli Open Command PromptRun –> aws configureand enter IMA User AWS Access Key ID and AWS Secret Access Key 2 Method…
Note: Replace yourdomain.com with you domain sudo su pm2 install pm2-healthvim ~/.pm2/module_conf.json {“pm2-logrotate”: {“max_size”: “500M”,“retain”: “200”,“compress”: “true”,“dateFormat”: “YYYY-MM-DD_HH-mm-ss”,“workerInterval”: “30”,“rotateInterval”: “* * * * 30”,“rotateModule”: “true”},“module-db-v2”: {“pm2-logrotate”: {},“pm2-health”: {}},“pm2-health”: {“smtp”: {“host”:…
Note: domainname —> replace with you domain name sudo apt remove postfix && apt purge postfixsudo apt install sendmailcd /etc/mailmkdir -m 700 -p /etc/mail/authinfonano /etc/mail/authinfo/authinfoadd line in that fileAuthInfo: “U:root@domainname.com”…
#start the following Windows services in the specified order: [Array] $Services = ‘MailService’,’SpamAssassin’,’OpenVPNServiceInteractive’,’Certify.Service’,’Schedule’; #loop through each service, if its not running, start it foreach($ServiceName in $Services){$arrService = Get-Service -Name $ServiceNamewrite-host…
rem This script is fired from Task Scheduler will check connectivity to VPN server.ping 192.168.1.1 -n 10 | findstr /r /c:”Reply from \d.\d.\d.\d.* bytes=\d.time[<=]\d. TTL=\d*” && goto :finished:runrem be sure…
Installing CyberPanel!Following instructions will install CyberPanel (with OpenLiteSpeed),it is totally free and does not require any kind of license, you can install using a single command. sh <(curl https://cyberpanel.net/install.sh ||…
Simple scp command you can user to copy files one server from another server 1St go to directory which you need to copy ex: you need to copy /etc/copyfoldername cd…
using du with human-readable sizes and a maximum depth of 1 directory level is as follows: This command will display the sizes of the directories in the current location with…