<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.apoyar.eu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Admin</id>
	<title>Apoyar Wiki - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apoyar.eu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Admin"/>
	<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Special:Contributions/Admin"/>
	<updated>2026-07-21T03:54:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Connecting_RDP_servers,_if_license_expired_and_extending_grace_period_via_regedit&amp;diff=319</id>
		<title>Connecting RDP servers, if license expired and extending grace period via regedit</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Connecting_RDP_servers,_if_license_expired_and_extending_grace_period_via_regedit&amp;diff=319"/>
		<updated>2026-05-26T11:22:25Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Extension of RDP Server License Using regedit:&lt;br /&gt;
&lt;br /&gt;
1.	First, we need to connect to RDP server via V sphere/Hyper-V.&lt;br /&gt;
&lt;br /&gt;
2.	Mstsc.exe /admin Switch (This will allow rdp connection as the client recognizes it and allows connection without asking for License)&lt;br /&gt;
&lt;br /&gt;
3.	Once connected RUN &amp;gt; regedit&lt;br /&gt;
 &lt;br /&gt;
4.	Follow this path “Computer/Hkey Local machine/system/current control set/control/terminal server/RCM/grace period”.&lt;br /&gt;
&lt;br /&gt;
5.	Delete the entry (key) below default one ,in the Right pane (If its not allowing to delete the key, right click on grace period folder, go to permissions/advanced and get the owner permission there) Shows there owner: network service [ CHANGE ] --&amp;gt; ok&lt;br /&gt;
&lt;br /&gt;
6.      At last, reboot the VM&lt;br /&gt;
&lt;br /&gt;
7.	This will enable the License for 120 days.&lt;br /&gt;
&lt;br /&gt;
Note: This extension procedure is possible only for windows 2016 and above servers.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=LetsEncrypt_SSL_for_Bleckmann_Custom_URL_-_Updated&amp;diff=318</id>
		<title>LetsEncrypt SSL for Bleckmann Custom URL - Updated</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=LetsEncrypt_SSL_for_Bleckmann_Custom_URL_-_Updated&amp;diff=318"/>
		<updated>2026-02-06T12:46:36Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Enable the custom_initiate_certbot.conf file in sites-available on BOTH fe servers, make sure to replace the server_name (and server_root if needed): DONE  cd /etc/nginx/sites-enabled  ln -s ../sites-available/custom_initiate_certbot.conf ./custom_initiate_certbot.conf   -- DONE  vi ./custom_initiate_certbot.conf  Then check: nginx -t  If ok, reload: systemctl reload nginx   --&amp;gt; DONE  Do your certbot command: certbot certonly --webroot -w /var/www/halivephp84/bleckmannci...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Enable the custom_initiate_certbot.conf file in sites-available on BOTH fe servers, make sure to replace the server_name (and server_root if needed): DONE&lt;br /&gt;
&lt;br /&gt;
cd /etc/nginx/sites-enabled&lt;br /&gt;
&lt;br /&gt;
ln -s ../sites-available/custom_initiate_certbot.conf ./custom_initiate_certbot.conf   -- DONE&lt;br /&gt;
&lt;br /&gt;
vi ./custom_initiate_certbot.conf&lt;br /&gt;
&lt;br /&gt;
Then check: nginx -t&lt;br /&gt;
&lt;br /&gt;
If ok, reload: systemctl reload nginx   --&amp;gt; DONE&lt;br /&gt;
&lt;br /&gt;
Do your certbot command: certbot certonly --webroot -w /var/www/halivephp84/bleckmannci4/ -d returns.killstar.com&lt;br /&gt;
&lt;br /&gt;
Make sure to provide correct root and domain (same ones as in the nginx configuration file)&lt;br /&gt;
&lt;br /&gt;
If certificate is granted, disable the temp config again:&lt;br /&gt;
&lt;br /&gt;
rm /etc/nginx/sites-enabled/custom_initiate_certbot.conf  -- DONE on both servers&lt;br /&gt;
&lt;br /&gt;
Prepare final configuration file from template:&lt;br /&gt;
&lt;br /&gt;
cp -pv /etc/nginx/sites-available/custom_template.conf /etc/nginx/sites-available/custom_&amp;lt;DOMAIN NAME HERE&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
Replace the domain names in the config file:&lt;br /&gt;
&lt;br /&gt;
sed -i &#039;s|REPLACEME|&amp;lt;DOMAIN NAME HERE&amp;gt;|g&#039; /etc/nginx/sites-available/custom_&amp;lt;DOMAIN NAME HERE&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
Enable the config:&lt;br /&gt;
&lt;br /&gt;
cd /etc/nginx/sites-enabled&lt;br /&gt;
&lt;br /&gt;
ln -s ../sites-available/custom_&amp;lt;DOMAIN NAME HERE&amp;gt;.conf ./custom_&amp;lt;DOMAIN NAME HERE&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
Then check: nginx -t&lt;br /&gt;
&lt;br /&gt;
If ok, reload: systemctl reload nginx&lt;br /&gt;
&lt;br /&gt;
Note: replace &amp;lt;DOMAIN_NAME_HERE&amp;gt; in the previous commands by, for example, returns.killstar.com&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=317</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=317"/>
		<updated>2026-02-06T12:45:49Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Redhat hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - files.apoyar.net]]&lt;br /&gt;
* [[Generating LetsEncrypt SSL - Bleckmann New Custom URL]]&lt;br /&gt;
* [[Instance Refresh - ZEB]]&lt;br /&gt;
* [[Instance Refresh - PCR]]&lt;br /&gt;
* [[Commercial SSL Certificate Chain Checks]]&lt;br /&gt;
* [[Image color coding conversion]]&lt;br /&gt;
* [[SSL renewal for Apoyar 3cx sip.apoyar.net]]&lt;br /&gt;
* [[SSL renewal for login.ubanvpn.com]]&lt;br /&gt;
* [[Lambda Function Version Upgrade (16.x to 20.x)]]&lt;br /&gt;
* [[Create clone of CloudFront distribution using AWS CLI]]&lt;br /&gt;
* [[Gitlab version upgrade]]&lt;br /&gt;
* [[Adding a New Bleckmann Host to Nagios Monitoring]]&lt;br /&gt;
* [[Bleckmann Custom URL&#039;s Autorenewal Checks]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - nagios.apoyar.eu]]&lt;br /&gt;
* [[LetsEncrypt SSL for Bleckmann Custom URL - Updated]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Bleckmann_Custom_URL%27s_Autorenewal_Checks&amp;diff=313</id>
		<title>Bleckmann Custom URL&#039;s Autorenewal Checks</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Bleckmann_Custom_URL%27s_Autorenewal_Checks&amp;diff=313"/>
		<updated>2025-09-22T11:47:52Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;- The directory where the certbot config is located is /etc/letsencrypt/renewal  - To change the webroot I did: sed -i &amp;#039;s|bleckmannci4|halivephp84/bleckmannci4|&amp;#039; *  - To test the config you can: certbot renew --dry-run -v  - To remove a config you can: certbot delete --cert-name eureturns.blakelyclothing.com  - To check the renewal hook you can: nano /etc/letsencrypt/renewal-hooks/deploy/postrenewal.sh   - Custom domain auto renewal changes when we change root path like...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- The directory where the certbot config is located is /etc/letsencrypt/renewal&lt;br /&gt;
&lt;br /&gt;
- To change the webroot I did: sed -i &#039;s|bleckmannci4|halivephp84/bleckmannci4|&#039; *&lt;br /&gt;
&lt;br /&gt;
- To test the config you can: certbot renew --dry-run -v&lt;br /&gt;
&lt;br /&gt;
- To remove a config you can: certbot delete --cert-name eureturns.blakelyclothing.com&lt;br /&gt;
&lt;br /&gt;
- To check the renewal hook you can: nano /etc/letsencrypt/renewal-hooks/deploy/postrenewal.sh&lt;br /&gt;
 &lt;br /&gt;
- Custom domain auto renewal changes when we change root path like /var/www/bleckmannci4 to /var/www/halivephp84/bleckmannci4 then we have to follow above steps&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=312</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=312"/>
		<updated>2025-09-22T11:46:59Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Redhat hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - files.apoyar.net]]&lt;br /&gt;
* [[Generating LetsEncrypt SSL - Bleckmann New Custom URL]]&lt;br /&gt;
* [[Instance Refresh - ZEB]]&lt;br /&gt;
* [[Instance Refresh - PCR]]&lt;br /&gt;
* [[Commercial SSL Certificate Chain Checks]]&lt;br /&gt;
* [[Image color coding conversion]]&lt;br /&gt;
* [[SSL renewal for Apoyar 3cx sip.apoyar.net]]&lt;br /&gt;
* [[SSL renewal for login.ubanvpn.com]]&lt;br /&gt;
* [[Lambda Function Version Upgrade (16.x to 20.x)]]&lt;br /&gt;
* [[Create clone of CloudFront distribution using AWS CLI]]&lt;br /&gt;
* [[Gitlab version upgrade]]&lt;br /&gt;
* [[Adding a New Bleckmann Host to Nagios Monitoring]]&lt;br /&gt;
* [[Bleckmann Custom URL&#039;s Autorenewal Checks]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Renewing_Letsencrypt_Certificate_for_Free_BSD_(nagios.apoyar)&amp;diff=302</id>
		<title>Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Renewing_Letsencrypt_Certificate_for_Free_BSD_(nagios.apoyar)&amp;diff=302"/>
		<updated>2024-08-31T13:58:44Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)&lt;br /&gt;
------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Login to nagios.apoyar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
•	cd /usr/local/etc/apache24&lt;br /&gt;
&lt;br /&gt;
•	vi httpd.conf&lt;br /&gt;
&lt;br /&gt;
go to end of the file (Shift+G)&lt;br /&gt;
&lt;br /&gt;
Here will get one line “To renew certbot comment out the above and enable the below”&lt;br /&gt;
&lt;br /&gt;
So, enable the certbot and disable the nagios&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then restart apache&lt;br /&gt;
&lt;br /&gt;
•	apachectl restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open port 80 on firewall&lt;br /&gt;
--------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Login to juniper - http://juniper.apoyar/login&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Username – root&lt;br /&gt;
&lt;br /&gt;
- Password - ap0yar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to&lt;br /&gt;
&lt;br /&gt;
- Security&lt;br /&gt;
&lt;br /&gt;
- Policy&lt;br /&gt;
&lt;br /&gt;
- Apply policy&lt;br /&gt;
&lt;br /&gt;
Look for nagios here and then edit&lt;br /&gt;
&lt;br /&gt;
Under application&lt;br /&gt;
&lt;br /&gt;
Search for http&lt;br /&gt;
&lt;br /&gt;
Select junos_http and click on add&lt;br /&gt;
&lt;br /&gt;
And then commit the changes from top menu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go back to nagios.apoyar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run dry run command&lt;br /&gt;
&lt;br /&gt;
•	certbot renew  --dry-run&lt;br /&gt;
&lt;br /&gt;
NOTE: if you get an error related to apache certbot plugin then install it with below command &lt;br /&gt;
&lt;br /&gt;
     &amp;quot; pkg install py311-certbot-apache &amp;quot; ( this command version is python3.11 )&lt;br /&gt;
&lt;br /&gt;
if all Ok, then remove dry run and run again&lt;br /&gt;
&lt;br /&gt;
•	certbot renew&lt;br /&gt;
&lt;br /&gt;
After renewal, go back and edit httpd.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
•	cd /usr/local/etc/apache24&lt;br /&gt;
&lt;br /&gt;
•	vi httpd.conf&lt;br /&gt;
&lt;br /&gt;
go to end of the file (Shift+G)&lt;br /&gt;
&lt;br /&gt;
now, disable the certbot and enable the nagios&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then restart apache&lt;br /&gt;
&lt;br /&gt;
•	apachectl restart&lt;br /&gt;
&lt;br /&gt;
check apache port&lt;br /&gt;
•	socket -14&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Lambda_Function_Version_Upgrade_(16.x_to_20.x)&amp;diff=296</id>
		<title>Lambda Function Version Upgrade (16.x to 20.x)</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Lambda_Function_Version_Upgrade_(16.x_to_20.x)&amp;diff=296"/>
		<updated>2024-06-17T06:14:40Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Go to AWS console ---&amp;gt; Lambda ---&amp;gt; Functions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select the function here, for which we want to upgrade the version ---&amp;gt; Actions ---&amp;gt; View details&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In details page, go down.. will get &amp;quot;Runtime Settings&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under &amp;quot;Runtime Settings&amp;quot;.. click on &amp;quot;Edit&amp;quot;.. It will open new page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On this page.. will get option to select the version from dropdown list&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, change runtime version from 16.x to 20.x and click on &amp;quot;Save&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once we click save, it will save and get back us on details page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on details page.. click &amp;quot;Action&amp;quot; ---&amp;gt; select &amp;quot;Publish new version&amp;quot; ---&amp;gt; click &amp;quot;Publish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It will again get back us to details page.. here then click &amp;quot;Update code&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then we can check under &amp;quot;Runtime settings&amp;quot; newly upgraded version.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Create_clone_of_CloudFront_distribution_using_AWS_CLI&amp;diff=295</id>
		<title>Create clone of CloudFront distribution using AWS CLI</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Create_clone_of_CloudFront_distribution_using_AWS_CLI&amp;diff=295"/>
		<updated>2024-06-17T06:14:08Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Connect to ZEB LB (lb.zeb.apoyar) or any ZEB server where we have CLI access to AWS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run below two commands one by one at /home/neal/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; aws cloudfront get-distribution-config --id E2KCQM43EXPGWB --output json &amp;gt; sourceCFconfig.json (In this, we have to edit the ID, from which we need to create clone)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cp sourceCFconfig.json newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then we need to open &amp;amp; edit the newCFconfig.json file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; vi newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit out the first parent element (2nd and 3rd line) and don&#039;t forget to delete the 2nd last curly bracket&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit the Aliases (new info)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the origin (if you are using a different one), example - cdn.zeb.be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the comment (CloudFront Distribution Name)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change Caller Reference to something else (timestamp is OK) --&amp;gt; its nothing but the unique ID, we can put timestamp, example - 201406131130&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At last run below command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; aws cloudfront create-distribution --distribution-config file://newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
once done, go to AWS console ---&amp;gt; CloudFront , we can see here new distribution is created and status as deploying.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Create_clone_of_CloudFront_distribution_using_AWS_CLI&amp;diff=294</id>
		<title>Create clone of CloudFront distribution using AWS CLI</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Create_clone_of_CloudFront_distribution_using_AWS_CLI&amp;diff=294"/>
		<updated>2024-06-17T06:13:34Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Connect to ZEB LB (lb.zeb.apoyar) or any ZEB server where we have CLI access to AWS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And below two commands one by one at /home/neal/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; aws cloudfront get-distribution-config --id E2KCQM43EXPGWB --output json &amp;gt; sourceCFconfig.json (In this, we have to edit the ID, from which we need to create clone)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cp sourceCFconfig.json newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then we need to open &amp;amp; edit the newCFconfig.json file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; vi newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit out the first parent element (2nd and 3rd line) and don&#039;t forget to delete the 2nd last curly bracket&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit the Aliases (new info)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the origin (if you are using a different one), example - cdn.zeb.be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the comment (CloudFront Distribution Name)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change Caller Reference to something else (timestamp is OK) --&amp;gt; its nothing but the unique ID, we can put timestamp, example - 201406131130&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At last run below command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; aws cloudfront create-distribution --distribution-config file://newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
once done, go to AWS console ---&amp;gt; CloudFront , we can see here new distribution is created and status as deploying.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Create_clone_of_CloudFront_distribution_using_AWS_CLI&amp;diff=293</id>
		<title>Create clone of CloudFront distribution using AWS CLI</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Create_clone_of_CloudFront_distribution_using_AWS_CLI&amp;diff=293"/>
		<updated>2024-06-17T06:13:14Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Connect to ZEB LB (lb.zeb.apoyar) or any ZEB server where we have CLI access to AWS  And below two commands one by one at /home/neal/  ---&amp;gt; aws cloudfront get-distribution-config --id E2KCQM43EXPGWB --output json &amp;gt; sourceCFconfig.json (In this, we have to edit the ID, from which we need to create clone)   ---&amp;gt; cp sourceCFconfig.json newCFconfig.json   Then we need to open &amp;amp; edit the newCFconfig.json file   ---&amp;gt; vi newCFconfig.json   edit out the first parent element (2nd...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Connect to ZEB LB (lb.zeb.apoyar) or any ZEB server where we have CLI access to AWS&lt;br /&gt;
&lt;br /&gt;
And below two commands one by one at /home/neal/&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; aws cloudfront get-distribution-config --id E2KCQM43EXPGWB --output json &amp;gt; sourceCFconfig.json (In this, we have to edit the ID, from which we need to create clone)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cp sourceCFconfig.json newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then we need to open &amp;amp; edit the newCFconfig.json file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; vi newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit out the first parent element (2nd and 3rd line) and don&#039;t forget to delete the 2nd last curly bracket&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit the Aliases (new info)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the origin (if you are using a different one), example - cdn.zeb.be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the comment (CloudFront Distribution Name)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change Caller Reference to something else (timestamp is OK) --&amp;gt; its nothing but the unique ID, we can put timestamp, example - 201406131130&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At last run below command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; aws cloudfront create-distribution --distribution-config file://newCFconfig.json&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
once done, go to AWS console ---&amp;gt; CloudFront , we can see here new distribution is created and status as deploying.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Lambda_Function_Version_Upgrade_(16.x_to_20.x)&amp;diff=292</id>
		<title>Lambda Function Version Upgrade (16.x to 20.x)</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Lambda_Function_Version_Upgrade_(16.x_to_20.x)&amp;diff=292"/>
		<updated>2024-06-17T06:12:08Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Go to AWS console ---&amp;gt; Lambda ---&amp;gt; Functions  Select the function here, for which we want to upgrade the version ---&amp;gt; Actions ---&amp;gt; View details  In details page, go down.. will get &amp;quot;Runtime Settings&amp;quot;  Under &amp;quot;Runtime Settings&amp;quot;.. click on &amp;quot;Edit&amp;quot;.. It will open new page  On this page.. will get option to select the version from dropdown list  So, change runtime version from 16.x to 20.x and click on &amp;quot;Save&amp;quot;  Once we click save, it will save and get back us on details page  N...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Go to AWS console ---&amp;gt; Lambda ---&amp;gt; Functions&lt;br /&gt;
&lt;br /&gt;
Select the function here, for which we want to upgrade the version ---&amp;gt; Actions ---&amp;gt; View details&lt;br /&gt;
&lt;br /&gt;
In details page, go down.. will get &amp;quot;Runtime Settings&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Under &amp;quot;Runtime Settings&amp;quot;.. click on &amp;quot;Edit&amp;quot;.. It will open new page&lt;br /&gt;
&lt;br /&gt;
On this page.. will get option to select the version from dropdown list&lt;br /&gt;
&lt;br /&gt;
So, change runtime version from 16.x to 20.x and click on &amp;quot;Save&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Once we click save, it will save and get back us on details page&lt;br /&gt;
&lt;br /&gt;
Now on details page.. click &amp;quot;Action&amp;quot; ---&amp;gt; select &amp;quot;Publish new version&amp;quot; ---&amp;gt; click &amp;quot;Publish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It will again get back us to details page.. here then click &amp;quot;Update code&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then we can check under &amp;quot;Runtime settings&amp;quot; newly upgraded version.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=291</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=291"/>
		<updated>2024-06-17T06:11:35Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Redhat hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - files.apoyar.net]]&lt;br /&gt;
* [[Generating LetsEncrypt SSL - Bleckmann New Custom URL]]&lt;br /&gt;
* [[Instance Refresh - ZEB]]&lt;br /&gt;
* [[Instance Refresh - PCR]]&lt;br /&gt;
* [[Commercial SSL Certificate Chain Checks]]&lt;br /&gt;
* [[Image color coding conversion]]&lt;br /&gt;
* [[SSL renewal for Apoyar 3cx sip.apoyar.net]]&lt;br /&gt;
* [[SSL renewal for login.ubanvpn.com]]&lt;br /&gt;
* [[Lambda Function Version Upgrade (16.x to 20.x)]]&lt;br /&gt;
* [[Create clone of CloudFront distribution using AWS CLI]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_Apoyar_3cx_sip.apoyar.net&amp;diff=290</id>
		<title>SSL renewal for Apoyar 3cx sip.apoyar.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_Apoyar_3cx_sip.apoyar.net&amp;diff=290"/>
		<updated>2024-06-10T10:56:59Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSL renewal for sip.apoyar.net&lt;br /&gt;
-------------------------------&lt;br /&gt;
&lt;br /&gt;
Login to 3cx.apoyar with neal user and apoyar keyfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
go to below path&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cd /etc/nginx/sites-enabled/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
make sure we have 3cxpbx file there&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then run below command to renew ssl&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo certbot certonly   --manual   --rsa-key-size 2048   --preferred-challenges dns   --debug-challenges   -d sip.apoyar.net&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will ask to continue.. press Y and hit enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now it will give us value to update in TXT record in go daddy, so update there given value.. &lt;br /&gt;
&lt;br /&gt;
URL - https://dcc.godaddy.com/control/dnsmanagement?domainName=apoyar.net&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; TXT	_acme-challenge.sip	rUV6G9yk5_MmK9tNbDkxrIHT9UCcJY9tTMmMHeUwHk0	1 Hour&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wait for 10 mins and then press enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below&lt;br /&gt;
&lt;br /&gt;
ssl_certificate      /etc/letsencrypt/live/sip.apoyar.net/fullchain.pem;^M&lt;br /&gt;
&lt;br /&gt;
ssl_certificate_key  /etc/letsencrypt/live/sip.apoyar.net/privkey.pem;^M&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for checking syntax run below command&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; nginx -t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if all OK, then reload nginx&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; service nginx reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now browse and check website ssl date.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_login.ubanvpn.com&amp;diff=289</id>
		<title>SSL renewal for login.ubanvpn.com</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_login.ubanvpn.com&amp;diff=289"/>
		<updated>2024-06-10T10:56:09Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSL renewal for login.ubanvpn.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Login to ubanvpn.apoyar with root user and apoyar keyfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
go to below path&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cd /etc/apache2/sites-enabled/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
make sure we have ubanvpn.conf file there&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then run below command to renew ssl&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo certbot -d login.ubanvpn.com --manual --preferred-challenges dns certonly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will ask to continue.. press Y and hit enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now it will give us value to update in TXT record in go daddy, so update there given value..&lt;br /&gt;
&lt;br /&gt;
URL - https://dcc.godaddy.com/control/dnsmanagement?domainName=ubanvpn.com&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; TXT	_acme-challenge.login	nwjBd3BC9-pijtmhfbydvhI1etaWAyKpKASLsq1G11g	1 Hour&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wait for 10 mins and then press enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below&lt;br /&gt;
&lt;br /&gt;
SSLCertificateFile     /etc/letsencrypt/live/login.ubanvpn.com/fullchain.pem&lt;br /&gt;
&lt;br /&gt;
SSLCertificateKeyFile /etc/letsencrypt/live/login.ubanvpn.com/privkey.pem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for checking syntax run below command&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo apache2ctl configtest&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if all OK, then reload nginx&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; service apache2 reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now browse and check website ssl date.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_login.ubanvpn.com&amp;diff=288</id>
		<title>SSL renewal for login.ubanvpn.com</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_login.ubanvpn.com&amp;diff=288"/>
		<updated>2024-06-10T10:50:57Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSL renewal for login.ubanvpn.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Login to ubanvpn.apoyar with root user and apoyar keyfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
go to below path&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cd /etc/apache2/sites-enabled/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
make sure we have ubanvpn.conf file there&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then run below command to renew ssl&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo certbot -d login.ubanvpn.com --manual --preferred-challenges dns certonly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will ask to continue.. press Y and hit enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now it will give us value to update in TXT record in go daddy, so update there given value..&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; TXT	_acme-challenge.login	nwjBd3BC9-pijtmhfbydvhI1etaWAyKpKASLsq1G11g	1 Hour&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wait for 10 mins and then press enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below&lt;br /&gt;
&lt;br /&gt;
SSLCertificateFile     /etc/letsencrypt/live/login.ubanvpn.com/fullchain.pem&lt;br /&gt;
&lt;br /&gt;
SSLCertificateKeyFile /etc/letsencrypt/live/login.ubanvpn.com/privkey.pem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for checking syntax run below command&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo apache2ctl configtest&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if all OK, then reload nginx&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; service apache2 reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now browse and check website ssl date.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_login.ubanvpn.com&amp;diff=287</id>
		<title>SSL renewal for login.ubanvpn.com</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_login.ubanvpn.com&amp;diff=287"/>
		<updated>2024-06-10T10:50:31Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;SSL renewal for login.ubanvpn.com  Login to ubanvpn.apoyar with root user and apoyar keyfile   go to below path  ---&amp;gt; cd /etc/apache2/sites-enabled/   make sure we have ubanvpn.conf file there   then run below command to renew ssl  ---&amp;gt; sudo certbot -d login.ubanvpn.com --manual --preferred-challenges dns certonly   it will ask to continue.. press Y and hit enter to continue   now it will give us value to update in TXT record in go daddy, so update there given value..  -...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSL renewal for login.ubanvpn.com&lt;br /&gt;
&lt;br /&gt;
Login to ubanvpn.apoyar with root user and apoyar keyfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
go to below path&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cd /etc/apache2/sites-enabled/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
make sure we have ubanvpn.conf file there&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then run below command to renew ssl&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo certbot -d login.ubanvpn.com --manual --preferred-challenges dns certonly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will ask to continue.. press Y and hit enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now it will give us value to update in TXT record in go daddy, so update there given value..&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; TXT	_acme-challenge.login	nwjBd3BC9-pijtmhfbydvhI1etaWAyKpKASLsq1G11g	1 Hour&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wait for 10 mins and then press enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below&lt;br /&gt;
&lt;br /&gt;
SSLCertificateFile     /etc/letsencrypt/live/login.ubanvpn.com/fullchain.pem&lt;br /&gt;
&lt;br /&gt;
SSLCertificateKeyFile /etc/letsencrypt/live/login.ubanvpn.com/privkey.pem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for checking syntax run below command&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo apache2ctl configtest&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if all OK, then reload nginx&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; service apache2 reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now browse and check website ssl date.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=286</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=286"/>
		<updated>2024-06-10T10:46:28Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Redhat hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - files.apoyar.net]]&lt;br /&gt;
* [[Generating LetsEncrypt SSL - Bleckmann New Custom URL]]&lt;br /&gt;
* [[Instance Refresh - ZEB]]&lt;br /&gt;
* [[Instance Refresh - PCR]]&lt;br /&gt;
* [[Commercial SSL Certificate Chain Checks]]&lt;br /&gt;
* [[Image color coding conversion]]&lt;br /&gt;
* [[SSL renewal for Apoyar 3cx sip.apoyar.net]]&lt;br /&gt;
* [[SSL renewal for login.ubanvpn.com]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_Apoyar_3cx_sip.apoyar.net&amp;diff=285</id>
		<title>SSL renewal for Apoyar 3cx sip.apoyar.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_Apoyar_3cx_sip.apoyar.net&amp;diff=285"/>
		<updated>2024-06-10T07:02:05Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSL renewal for sip.apoyar.net&lt;br /&gt;
-------------------------------&lt;br /&gt;
&lt;br /&gt;
Login to 3cx.apoyar with neal user and apoyar keyfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
go to below path&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cd /etc/nginx/sites-enabled/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
make sure we have 3cxpbx file there&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then run below command to renew ssl&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo certbot certonly   --manual   --rsa-key-size 2048   --preferred-challenges dns   --debug-challenges   -d sip.apoyar.net&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will ask to continue.. press Y and hit enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now it will give us value to update in TXT record in go daddy, so update there given value.. &lt;br /&gt;
&lt;br /&gt;
---&amp;gt; TXT	_acme-challenge.sip	rUV6G9yk5_MmK9tNbDkxrIHT9UCcJY9tTMmMHeUwHk0	1 Hour&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wait for 10 mins and then press enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below&lt;br /&gt;
&lt;br /&gt;
ssl_certificate      /etc/letsencrypt/live/sip.apoyar.net/fullchain.pem;^M&lt;br /&gt;
&lt;br /&gt;
ssl_certificate_key  /etc/letsencrypt/live/sip.apoyar.net/privkey.pem;^M&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for checking syntax run below command&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; nginx -t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if all OK, then reload nginx&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; service nginx reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now browse and check website ssl date.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_Apoyar_3cx_sip.apoyar.net&amp;diff=284</id>
		<title>SSL renewal for Apoyar 3cx sip.apoyar.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_renewal_for_Apoyar_3cx_sip.apoyar.net&amp;diff=284"/>
		<updated>2024-06-10T07:01:20Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;SSL renewal for sip.apoyar.net -------------------------------  Login to 3cx.apoyar with neal user and apoyar keyfile  go to below path  ---&amp;gt; cd /etc/nginx/sites-enabled/   make sure we have 3cxpbx file there   then run below command to renew ssl  ---&amp;gt; sudo certbot certonly   --manual   --rsa-key-size 2048   --preferred-challenges dns   --debug-challenges   -d sip.apoyar.net   it will ask to continue.. press Y and hit enter to continue   now it will give us value to upda...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSL renewal for sip.apoyar.net&lt;br /&gt;
-------------------------------&lt;br /&gt;
&lt;br /&gt;
Login to 3cx.apoyar with neal user and apoyar keyfile&lt;br /&gt;
&lt;br /&gt;
go to below path&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; cd /etc/nginx/sites-enabled/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
make sure we have 3cxpbx file there&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then run below command to renew ssl&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; sudo certbot certonly   --manual   --rsa-key-size 2048   --preferred-challenges dns   --debug-challenges   -d sip.apoyar.net&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it will ask to continue.. press Y and hit enter to continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now it will give us value to update in TXT record in go daddy, so update there given value.. &lt;br /&gt;
&lt;br /&gt;
---&amp;gt; TXT	_acme-challenge.sip	rUV6G9yk5_MmK9tNbDkxrIHT9UCcJY9tTMmMHeUwHk0	1 Hour&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wait for 10 mins and then press enter to continue&lt;br /&gt;
&lt;br /&gt;
it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below&lt;br /&gt;
&lt;br /&gt;
ssl_certificate      /etc/letsencrypt/live/sip.apoyar.net/fullchain.pem;^M&lt;br /&gt;
&lt;br /&gt;
ssl_certificate_key  /etc/letsencrypt/live/sip.apoyar.net/privkey.pem;^M&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for checking syntax run below command&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; nginx -t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if all OK, then reload nginx&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; service nginx reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now browse and check website ssl date.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=283</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=283"/>
		<updated>2024-06-10T06:59:32Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Redhat hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - files.apoyar.net]]&lt;br /&gt;
* [[Generating LetsEncrypt SSL - Bleckmann New Custom URL]]&lt;br /&gt;
* [[Instance Refresh - ZEB]]&lt;br /&gt;
* [[Instance Refresh - PCR]]&lt;br /&gt;
* [[Commercial SSL Certificate Chain Checks]]&lt;br /&gt;
* [[Image color coding conversion]]&lt;br /&gt;
* [[SSL renewal for Apoyar 3cx sip.apoyar.net]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Generating_a_LetsEncrypt_certificate_-_both_Linux_and_Windows&amp;diff=280</id>
		<title>Generating a LetsEncrypt certificate - both Linux and Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Generating_a_LetsEncrypt_certificate_-_both_Linux_and_Windows&amp;diff=280"/>
		<updated>2023-10-09T09:18:57Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing SSL Certificate for Website on Linux &amp;amp; Windows&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Linux&lt;br /&gt;
-------------&lt;br /&gt;
&lt;br /&gt;
Connect to server&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/nginx/sites-enabled&lt;br /&gt;
&lt;br /&gt;
Run below command there&lt;br /&gt;
&lt;br /&gt;
•	certbot certonly - - nginx&lt;br /&gt;
&lt;br /&gt;
It will show you all websites hosted on that server and ask to enter numbers according to the server for which certificate need to install&lt;br /&gt;
&lt;br /&gt;
Note - if you want to list domains to be renewed/added and there are some which you want to leave out, use a space separated list of the site numbers&lt;br /&gt;
&lt;br /&gt;
If you keep that blank and hit enter, then it will renew the existing certificate and create new one for those website, which don’t have it&lt;br /&gt;
&lt;br /&gt;
If you want to install for specific website only, then type according number and hit enter, after you hit enter it will ask you to expand, so just type e and press enter&lt;br /&gt;
&lt;br /&gt;
Then it will give you two options, select there second option (renew and replace) and hit enter&lt;br /&gt;
&lt;br /&gt;
It will generate certificate, we can see the generated certificate at below path&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/letsencrypt/live&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Windows&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Login to server using RDP&lt;br /&gt;
&lt;br /&gt;
Note – Stop the &amp;quot;World Wide Web&amp;quot; service first&lt;br /&gt;
&lt;br /&gt;
Open command prompt as administrator&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
•	cd c:/certbot&lt;br /&gt;
&lt;br /&gt;
Run below command&lt;br /&gt;
&lt;br /&gt;
•	certbot certonly&lt;br /&gt;
&lt;br /&gt;
It will give you two options, select first option (Spin up temporary)&lt;br /&gt;
&lt;br /&gt;
Enter domain names and hit enter&lt;br /&gt;
&lt;br /&gt;
To convert crt and key to .pfx and generate certificate go to below path &lt;br /&gt;
&lt;br /&gt;
•	C:/programfiles/Git/usr/bin&lt;br /&gt;
&lt;br /&gt;
Run below command to generate certificate with appropriate information (fullchain and key file locations and names)&lt;br /&gt;
&lt;br /&gt;
openssl” pkcs12 -export -out *.pfx -inkey *.key -in *.crt&lt;br /&gt;
&lt;br /&gt;
For ex. -  openssl pkcs12 -export -out &amp;quot;C:\certbot\archive\support.apoyar.net\support.apoyar.net.pfx&amp;quot; -inkey &amp;quot;C:\certbot\archive\support.apoyar.net\privkey1&amp;quot; -in &amp;quot;C:\Certbot\archive\support.apoyar.net\fullchain1.pem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note – while executing above command for generating certificate we have to use quotation for file locations (“”)&lt;br /&gt;
&lt;br /&gt;
Also we can rename the fullchain.pem file to fullchain.crt, and if we double click it, we can see certificate details&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note- Start &amp;quot;World Wide Web&amp;quot; service first&lt;br /&gt;
&lt;br /&gt;
Go to IIS (Internet Information Services)&lt;br /&gt;
&lt;br /&gt;
- click on NEPTUNE&lt;br /&gt;
&lt;br /&gt;
– server certificates &lt;br /&gt;
&lt;br /&gt;
– import&lt;br /&gt;
&lt;br /&gt;
New window will open, browse the certificate path and select certificate&lt;br /&gt;
&lt;br /&gt;
•	Check the box ( Allow certificate )&lt;br /&gt;
&lt;br /&gt;
Go to default web – Bindings – https – edit&lt;br /&gt;
&lt;br /&gt;
And select the according certificate (support.apoyar.net)&lt;br /&gt;
&lt;br /&gt;
Click Ok&lt;br /&gt;
&lt;br /&gt;
Then click YES for all popups&lt;br /&gt;
&lt;br /&gt;
Note – Sometimes error might comes, so no need to worry... just click OK and continue&lt;br /&gt;
&lt;br /&gt;
Note – Default web is used to store settings/certificates&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Generating_a_LetsEncrypt_certificate_-_both_Linux_and_Windows&amp;diff=279</id>
		<title>Generating a LetsEncrypt certificate - both Linux and Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Generating_a_LetsEncrypt_certificate_-_both_Linux_and_Windows&amp;diff=279"/>
		<updated>2023-10-09T09:18:04Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing SSL Certificate for Website on Linux &amp;amp; Windows&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Linux&lt;br /&gt;
-------------&lt;br /&gt;
&lt;br /&gt;
Connect to server&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/nginx/sites-enabled&lt;br /&gt;
&lt;br /&gt;
Run below command there&lt;br /&gt;
&lt;br /&gt;
•	certbot certonly - - nginx&lt;br /&gt;
&lt;br /&gt;
It will show you all websites hosted on that server and ask to enter numbers according to the server for which certificate need to install&lt;br /&gt;
&lt;br /&gt;
Note - if you want to list domains to be renewed/added and there are some which you want to leave out, use a space separated list of the site numbers&lt;br /&gt;
&lt;br /&gt;
If you keep that blank and hit enter, then it will renew the existing certificate and create new one for those website, which don’t have it&lt;br /&gt;
&lt;br /&gt;
If you want to install for specific website only, then type according number and hit enter, after you hit enter it will ask you to expand, so just type e and press enter&lt;br /&gt;
&lt;br /&gt;
Then it will give you two options, select there second option (renew and replace) and hit enter&lt;br /&gt;
&lt;br /&gt;
It will generate certificate, we can see the generated certificate at below path&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/letsencrypt/live&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Windows&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Login to server using RDP&lt;br /&gt;
&lt;br /&gt;
Note – Stop the &amp;quot;World Wide Web&amp;quot; service first&lt;br /&gt;
&lt;br /&gt;
Open command prompt as administrator&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
•	cd c:/certbot&lt;br /&gt;
&lt;br /&gt;
Run below command&lt;br /&gt;
&lt;br /&gt;
•	certbot certonly&lt;br /&gt;
&lt;br /&gt;
It will give you two options, select first option (Spin up temporary)&lt;br /&gt;
&lt;br /&gt;
Enter domain names and hit enter&lt;br /&gt;
&lt;br /&gt;
To convert crt and key to .pfx and generate certificate go to below path &lt;br /&gt;
&lt;br /&gt;
•	C:/programfiles/Git/usr/bin&lt;br /&gt;
&lt;br /&gt;
Run below command to generate certificate with appropriate information (fullchain and key file locations and names)&lt;br /&gt;
&lt;br /&gt;
openssl” pkcs12 -export -out *.pfx -inkey *.key -in *.crt&lt;br /&gt;
&lt;br /&gt;
For ex. -  openssl pkcs12 -export -out &amp;quot;C:\certbot\archive\support.apoyar.net\support.apoyar.net.pfx&amp;quot; -inkey &amp;quot;C:\certbot\archive\support.apoyar.net\privkey1&amp;quot; -in &amp;quot;C:\Certbot\archive\support.apoyar.net\fullchain1.pem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note – while executing above command for generating certificate we have to use quotation for file locations (“”)&lt;br /&gt;
&lt;br /&gt;
Also we can rename the fullchain.pem file to fullchain.crt, and if we double click it, we can see certificate details&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note- Start &amp;quot;World Wide Web&amp;quot; service first&lt;br /&gt;
&lt;br /&gt;
Go to IIS (Internet Information Services)&lt;br /&gt;
&lt;br /&gt;
- click on NEPTUNE&lt;br /&gt;
&lt;br /&gt;
 – server certificates &lt;br /&gt;
&lt;br /&gt;
– import&lt;br /&gt;
&lt;br /&gt;
New window will open, browse the certificate path and select certificate&lt;br /&gt;
&lt;br /&gt;
•	Check the box ( Allow certificate )&lt;br /&gt;
&lt;br /&gt;
Go to default web – Bindings – https – edit&lt;br /&gt;
&lt;br /&gt;
And select the according certificate (support.apoyar.net)&lt;br /&gt;
&lt;br /&gt;
Click Ok&lt;br /&gt;
&lt;br /&gt;
Then click YES for all popups&lt;br /&gt;
&lt;br /&gt;
Note – Sometimes error might comes, so no need to worry... just click OK and continue&lt;br /&gt;
&lt;br /&gt;
Note – Default web is used to store settings/certificates&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Generating_a_LetsEncrypt_certificate_-_both_Linux_and_Windows&amp;diff=278</id>
		<title>Generating a LetsEncrypt certificate - both Linux and Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Generating_a_LetsEncrypt_certificate_-_both_Linux_and_Windows&amp;diff=278"/>
		<updated>2023-10-09T09:16:47Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing SSL Certificate for Website on Linux &amp;amp; Windows&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Linux&lt;br /&gt;
-------------&lt;br /&gt;
&lt;br /&gt;
Connect to server&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/nginx/sites-enabled&lt;br /&gt;
&lt;br /&gt;
Run below command there&lt;br /&gt;
&lt;br /&gt;
•	certbot certonly - - nginx&lt;br /&gt;
&lt;br /&gt;
It will show you all websites hosted on that server and ask to enter numbers according to the server for which certificate need to install&lt;br /&gt;
&lt;br /&gt;
Note - if you want to list domains to be renewed/added and there are some which you want to leave out, use a space separated list of the site numbers&lt;br /&gt;
&lt;br /&gt;
If you keep that blank and hit enter, then it will renew the existing certificate and create new one for those website, which don’t have it&lt;br /&gt;
&lt;br /&gt;
If you want to install for specific website only, then type according number and hit enter, after you hit enter it will ask you to expand, so just type e and press enter&lt;br /&gt;
&lt;br /&gt;
Then it will give you two options, select there second option (renew and replace) and hit enter&lt;br /&gt;
&lt;br /&gt;
It will generate certificate, we can see the generated certificate at below path&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/letsencrypt/live&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Windows&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Login to server using RDP&lt;br /&gt;
&lt;br /&gt;
Note – Stop the &amp;quot;World Wide Web&amp;quot; service first&lt;br /&gt;
&lt;br /&gt;
Open command prompt as administrator&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
•	cd c:/certbot&lt;br /&gt;
&lt;br /&gt;
Run below command&lt;br /&gt;
&lt;br /&gt;
•	certbot certonly&lt;br /&gt;
&lt;br /&gt;
It will give you two options, select first option (Spin up temporary)&lt;br /&gt;
&lt;br /&gt;
Enter domain names and hit enter&lt;br /&gt;
&lt;br /&gt;
To convert crt and key to .pfx and generate certificate go to below path &lt;br /&gt;
&lt;br /&gt;
•	C:/programfiles/Git/usr/bin&lt;br /&gt;
&lt;br /&gt;
Run below command to generate certificate with appropriate information (fullchain and key file locations and names)&lt;br /&gt;
&lt;br /&gt;
openssl” pkcs12 -export -out *.pfx -inkey *.key -in *.crt&lt;br /&gt;
&lt;br /&gt;
For ex. -  openssl pkcs12 -export -out &amp;quot;C:\certbot\archive\support.apoyar.net\support.apoyar.net.pfx&amp;quot; -inkey &amp;quot;C:\certbot\archive\support.apoyar.net\privkey1&amp;quot; -in &amp;quot;C:\Certbot\archive\support.apoyar.net\fullchain1.pem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note – while executing above command for generating certificate we have to use quotation for file locations (“”)&lt;br /&gt;
&lt;br /&gt;
Also we can rename the fullchain.pem file to fullchain.crt, and if we double click it, we can see certificate details&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note- Start IIS service first&lt;br /&gt;
&lt;br /&gt;
Go to IIS (Internet Information Services)&lt;br /&gt;
&lt;br /&gt;
- click on NEPTUNE&lt;br /&gt;
&lt;br /&gt;
 – server certificates &lt;br /&gt;
&lt;br /&gt;
– import&lt;br /&gt;
&lt;br /&gt;
New window will open, browse the certificate path and select certificate&lt;br /&gt;
&lt;br /&gt;
•	Check the box ( Allow certificate )&lt;br /&gt;
&lt;br /&gt;
Go to default web – Bindings – https – edit&lt;br /&gt;
&lt;br /&gt;
And select the according certificate (support.apoyar.net)&lt;br /&gt;
&lt;br /&gt;
Click Ok&lt;br /&gt;
&lt;br /&gt;
Then click YES for all popups&lt;br /&gt;
&lt;br /&gt;
Note – Sometimes error might comes, so no need to worry... just click OK and continue&lt;br /&gt;
&lt;br /&gt;
Note – Default web is used to store settings/certificates&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Renewing_SSL_Certificate_on_OpenVPN_Server&amp;diff=277</id>
		<title>Renewing SSL Certificate on OpenVPN Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Renewing_SSL_Certificate_on_OpenVPN_Server&amp;diff=277"/>
		<updated>2023-09-07T10:29:27Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Login to openvpn server from jupiter (10.0.1.55 using neal user and apoyar key)&lt;br /&gt;
 &lt;br /&gt;
systemctl stop openvpnas&lt;br /&gt;
&lt;br /&gt;
systemctl status openvpnas&lt;br /&gt;
 &lt;br /&gt;
certbot certonly --force-renewal --standalone --non-interactive --agree-tos --email support@apoyar.eu --domains sslvpn.apoyar.net --pre-hook &#039;sudo service openvpnas stop&#039; --post-hook &#039;sudo service openvpnas start&#039;&lt;br /&gt;
&lt;br /&gt;
(If getting error about port 80 while running above command, we have to kill the process running on that port)&lt;br /&gt;
&lt;br /&gt;
to check services running on ports, run below command&lt;br /&gt;
&lt;br /&gt;
netstat -anpt | grep LISTEN&lt;br /&gt;
&lt;br /&gt;
check here and kill process and then try again running certbot command, once command executed get the certificate and key details, edit in below commands and execute below 2 commands&lt;br /&gt;
 &lt;br /&gt;
ln -s -f /certificate path /usr/local/openvpn_as/etc/web-ssl/server.crt&lt;br /&gt;
&lt;br /&gt;
ln -s -f /keyfile path /usr/local/openvpn_as/etc/web-ssl/server.key&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/openvpn_as/scripts&lt;br /&gt;
&lt;br /&gt;
./sacli stop&lt;br /&gt;
&lt;br /&gt;
./sacli --key &amp;quot;cs.priv_key&amp;quot; --value_file &amp;quot;/etc/letsencrypt/live/sslvpn.apoyar.net/privkey.pem&amp;quot; ConfigPut&lt;br /&gt;
&lt;br /&gt;
./sacli --key &amp;quot;cs.cert&amp;quot; --value_file &amp;quot;/etc/letsencrypt/live/sslvpn.apoyar.net/fullchain.pem&amp;quot; ConfigPut&lt;br /&gt;
&lt;br /&gt;
./sacli start&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
reboot&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Upgrading_major_versions_of_Nginx,Mysql&amp;diff=276</id>
		<title>Upgrading major versions of Nginx,Mysql</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Upgrading_major_versions_of_Nginx,Mysql&amp;diff=276"/>
		<updated>2023-09-07T06:46:15Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upgrading Version of Nginx&lt;br /&gt;
------------------------------&lt;br /&gt;
&lt;br /&gt;
Login to Server (on which need to update Nginx version)&lt;br /&gt;
&lt;br /&gt;
•	Cd /home/neal/root/&lt;br /&gt;
&lt;br /&gt;
Download the nginx source&lt;br /&gt;
&lt;br /&gt;
•	wget http://nginx.org/download/nginx-1.18.0.tar.gz&lt;br /&gt;
&lt;br /&gt;
Unzip the downloaded file&lt;br /&gt;
&lt;br /&gt;
•	tar xzvf filename&lt;br /&gt;
&lt;br /&gt;
•	Nginx –V&lt;br /&gt;
&lt;br /&gt;
Copy the configuration modules in text&lt;br /&gt;
&lt;br /&gt;
Open the server with latest SSL version (demo.apoyar)&lt;br /&gt;
&lt;br /&gt;
•	Nginx –V&lt;br /&gt;
&lt;br /&gt;
Copy the last configuration command with SSL and paste it in text document at last&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download the open SSL source&lt;br /&gt;
&lt;br /&gt;
•	Go to cd /usr/local/src/&lt;br /&gt;
&lt;br /&gt;
•	wget https://www.openssl.org/source/openssl-1.1.1i.tar.gz&lt;br /&gt;
&lt;br /&gt;
•	tar xzvf filename&lt;br /&gt;
&lt;br /&gt;
•	go to cd root/&lt;br /&gt;
&lt;br /&gt;
•	go to nginx folder&lt;br /&gt;
&lt;br /&gt;
Paste here that configuration module which we have in text document and hit enter&lt;br /&gt;
&lt;br /&gt;
NOTE: - If getting any errors, troubleshoot with the below steps as per errors coming across.&lt;br /&gt;
&lt;br /&gt;
 If the ./configure gives you any errors, take the following steps:&lt;br /&gt;
&lt;br /&gt;
apt-get install uuid-dev&lt;br /&gt;
&lt;br /&gt;
If ./configure gives you an error about psol not found&lt;br /&gt;
 &lt;br /&gt;
apt-get install libgd-dev in case of this error:&lt;br /&gt;
&lt;br /&gt;
 ./configure: error: the HTTP image filter module requires the GD library.&lt;br /&gt;
 &lt;br /&gt;
apt-get install libgeoip-dev in case of:&lt;br /&gt;
 ./configure: error: the GeoIP module requires the GeoIP library.&lt;br /&gt;
 &lt;br /&gt;
install libssl-dev in case of:&lt;br /&gt;
 ./configure: error: SSL modules require the OpenSSL library.&lt;br /&gt;
 &lt;br /&gt;
install libpcre++-dev in case of:&lt;br /&gt;
 ./configure: error: the HTTP rewrite module requires the PCRE library.&lt;br /&gt;
 &lt;br /&gt;
apt-get install libxslt1-dev in case of:&lt;br /&gt;
 ./configure: error: the HTTP XSLT module requires the libxml2/libxslt&lt;br /&gt;
 &lt;br /&gt;
apt-get install zlib1g-dev&lt;br /&gt;
./configure: error: the HTTP gzip module requires the zlib library&lt;br /&gt;
 &lt;br /&gt;
apt-get install libpam0g-dev in case of:&lt;br /&gt;
make gives you an error:&lt;br /&gt;
&lt;br /&gt;
fatal error: security/pam_appl.h: No such file or directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then run below command&lt;br /&gt;
&lt;br /&gt;
•	make&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Uninstall OLD Nginx&lt;br /&gt;
&lt;br /&gt;
•	Cd etc/&lt;br /&gt;
&lt;br /&gt;
•	tar czvf nginx&lt;br /&gt;
&lt;br /&gt;
•	mv nginx /root/&lt;br /&gt;
&lt;br /&gt;
•	dpkg -l | grep nginx&lt;br /&gt;
&lt;br /&gt;
•	apt-get purge nginx&lt;br /&gt;
&lt;br /&gt;
After removing old nginx reboot the server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Installing NEW Nginx&lt;br /&gt;
&lt;br /&gt;
•	Cd /root/nginx 1.18.0&lt;br /&gt;
&lt;br /&gt;
•	make install&lt;br /&gt;
&lt;br /&gt;
• Go to cd etc/&lt;br /&gt;
&lt;br /&gt;
• unzip the older zipped nginx folder here&lt;br /&gt;
&lt;br /&gt;
•	Nginx –V&lt;br /&gt;
&lt;br /&gt;
If the nginx command doesn&#039;t work, create a symlink:&lt;br /&gt;
&lt;br /&gt;
•	ln -s /usr/share/nginx/sbin/nginx /usr/sbin/Ln&lt;br /&gt;
&lt;br /&gt;
•	Nginx –V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to Cd /nginx/sites-enabled&lt;br /&gt;
&lt;br /&gt;
Check syntax and potential errors:&lt;br /&gt;
&lt;br /&gt;
•	sudo nginx –t&lt;br /&gt;
&lt;br /&gt;
# Will throw this error nginx: [emerg] mkdir() &amp;quot;/var/lib/nginx/body&amp;quot; failed (2: No such file or directory)&lt;br /&gt;
&lt;br /&gt;
# Just create directory&lt;br /&gt;
&lt;br /&gt;
•	mkdir -p /var/lib/nginx &amp;amp;&amp;amp; sudo nginx –t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create systemd unit file for NGINX:&lt;br /&gt;
&lt;br /&gt;
•	sudo vim /etc/systemd/system/nginx.service&lt;br /&gt;
&lt;br /&gt;
Copy/paste the following content:&lt;br /&gt;
&lt;br /&gt;
NOTE: The location of the PID file and the NGINX binary may be different depending on how NGINX was compiled.&lt;br /&gt;
&lt;br /&gt;
[Unit]&lt;br /&gt;
&lt;br /&gt;
Description=A high performance web server and a reverse proxy server&lt;br /&gt;
After=network.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=forking&lt;br /&gt;
PIDFile=/run/nginx.pid&lt;br /&gt;
ExecStartPre=/usr/sbin/nginx -t -q -g &#039;daemon on; master_process on;&#039;&lt;br /&gt;
ExecStart=/usr/sbin/nginx -g &#039;daemon on; master_process on;&#039;&lt;br /&gt;
ExecReload=/usr/sbin/nginx -g &#039;daemon on; master_process on;&#039; -s reload&lt;br /&gt;
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid&lt;br /&gt;
TimeoutStopSec=5&lt;br /&gt;
KillMode=mixed&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
Start and enable NGINX service:&lt;br /&gt;
&lt;br /&gt;
•	sudo systemctl start nginx.service &amp;amp;&amp;amp; sudo systemctl enable nginx.service&lt;br /&gt;
&lt;br /&gt;
Create UFW NGINX application profile:&lt;br /&gt;
&lt;br /&gt;
•	sudo vim /etc/ufw/applications.d/nginx&lt;br /&gt;
&lt;br /&gt;
Copy/paste the following content:&lt;br /&gt;
&lt;br /&gt;
[Nginx HTTP]&lt;br /&gt;
title=Web Server (Nginx, HTTP)&lt;br /&gt;
description=Small, but very powerful and efficient web server&lt;br /&gt;
ports=80/tcp&lt;br /&gt;
&lt;br /&gt;
[Nginx HTTPS]&lt;br /&gt;
title=Web Server (Nginx, HTTPS)&lt;br /&gt;
description=Small, but very powerful and efficient web server&lt;br /&gt;
ports=443/tcp&lt;br /&gt;
&lt;br /&gt;
[Nginx Full]&lt;br /&gt;
title=Web Server (Nginx, HTTP + HTTPS)&lt;br /&gt;
description=Small, but very powerful and efficient web server&lt;br /&gt;
ports=80,443/tcp&lt;br /&gt;
&lt;br /&gt;
Now, verify that UFW app profiles are created and recognized:&lt;br /&gt;
&lt;br /&gt;
•	sudo ufw app list&lt;br /&gt;
&lt;br /&gt;
# Available applications:&lt;br /&gt;
&lt;br /&gt;
  # Nginx Full&lt;br /&gt;
  # Nginx HTTP&lt;br /&gt;
  # Nginx HTTPS&lt;br /&gt;
  # OpenSSH&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Commercial_SSL_Certificate_Chain_Checks&amp;diff=272</id>
		<title>Commercial SSL Certificate Chain Checks</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Commercial_SSL_Certificate_Chain_Checks&amp;diff=272"/>
		<updated>2023-06-29T12:28:52Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;SSL Certificate chain checks ----------------------------  - Once we got certificate from the client, if multiple .crt files.. combine them into a single certificate and if its single certificate just keep as it is   - then we can check the certificate content with following command   openssl x509 -in certificate.crt -text -noout   - then depending on certificate authority we need to downlaod and add intermediate certificates - downloaded intermediate certificates should...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SSL Certificate chain checks&lt;br /&gt;
----------------------------&lt;br /&gt;
&lt;br /&gt;
- Once we got certificate from the client, if multiple .crt files.. combine them into a single certificate and if its single certificate just keep as it is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- then we can check the certificate content with following command &lt;br /&gt;
&lt;br /&gt;
openssl x509 -in certificate.crt -text -noout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- then depending on certificate authority we need to downlaod and add intermediate certificates&lt;br /&gt;
- downloaded intermediate certificates should be valid more than year, as of our generated certificate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- to combine our generated certificate and intermediate_bundle certificate into a single cerrtificate use below command (with appropriate names)&lt;br /&gt;
&lt;br /&gt;
cat generated.crt intermediate_bundle.crt &amp;gt; resulting.crt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Once its ready we can check details of certificate with below command (with resulting certificate name)&lt;br /&gt;
&lt;br /&gt;
cat apoyar_2024.crt | awk -v cmd=&amp;quot;openssl x509 -subject -issuer -noout&amp;quot; &#039;/-----BEGIN/ { c = $0; next } c { c = c &amp;quot;\n&amp;quot; $0 } /-----END/ { print c|cmd; close(cmd); c = 0 }&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Then, once we apply it on website, we can check the chain of certificate authorities at below site weather its broken or not.&lt;br /&gt;
&lt;br /&gt;
https://www.sslshopper.com/ssl-checker.html&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Instance_Refresh_-_PCR&amp;diff=271</id>
		<title>Instance Refresh - PCR</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Instance_Refresh_-_PCR&amp;diff=271"/>
		<updated>2023-06-29T12:27:45Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Instance Refresh PCR ---------------------  - Login to lb.pcr.apoyar  - Go to /usr/local/bin   - Run below script  ----&amp;gt; ./1-create***.sh (press ENTER until its ask&amp;#039;s for)   - Then, Go to aws console  - EC2 instances - AMI’S console  - Check here latest AMI is creating  - Wait for 5-8 mins to create new AMI  - Then copy the ami name, with todays it creates  - Now again go to server same location (/usr/local/bin)   - Run below script  ---&amp;gt; ./2-revert-template.sh   - Now...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Instance Refresh PCR&lt;br /&gt;
---------------------&lt;br /&gt;
&lt;br /&gt;
- Login to lb.pcr.apoyar&lt;br /&gt;
&lt;br /&gt;
- Go to /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Run below script&lt;br /&gt;
&lt;br /&gt;
----&amp;gt; ./1-create***.sh (press ENTER until its ask&#039;s for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Then, Go to aws console&lt;br /&gt;
&lt;br /&gt;
- EC2 instances - AMI’S console&lt;br /&gt;
&lt;br /&gt;
- Check here latest AMI is creating&lt;br /&gt;
&lt;br /&gt;
- Wait for 5-8 mins to create new AMI&lt;br /&gt;
&lt;br /&gt;
- Then copy the ami name, with todays it creates&lt;br /&gt;
&lt;br /&gt;
- Now again go to server same location (/usr/local/bin)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Run below script&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; ./2-revert-template.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Now go to aws EC2 console&lt;br /&gt;
&lt;br /&gt;
- Select &amp;quot;Launch Templates&amp;quot; from left side menu&lt;br /&gt;
&lt;br /&gt;
- Select &amp;quot;PCR_LB&amp;quot;, then click on &amp;quot;Actions&amp;quot; and select &amp;quot;Modify template (create new version)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- Here search in my AMI&#039;s —&amp;gt; we have copied ami name earlier, so need to search it and select that and create template version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Then go to EC2 console, click on left side menu last option &amp;quot;autoscaling group&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- select pcr_lb2 --&amp;gt; --&amp;gt; instance refresh tab ---&amp;gt; skip matching (untick) and then start instsance refresh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ---&amp;gt; When instance refresh initiate we will receive email from aws cloudwatch and once its finished we will receive second email termination of old autoscale instance (this way we can get to know that instance refresh done and new autoscale intance will launch)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Instance_Refresh_-_ZEB&amp;diff=270</id>
		<title>Instance Refresh - ZEB</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Instance_Refresh_-_ZEB&amp;diff=270"/>
		<updated>2023-06-29T12:27:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Instance Refresh PCR ---------------------  - Login to lb.zeb.apoyar  - Go to /usr/local/bin   - Run below script  ----&amp;gt; ./1-create***.sh (press ENTER until its ask&amp;#039;s for)   - Then, Go to aws console  - EC2 instances - AMI’S console  - Check here latest AMI is creating  - Wait for 5-8 mins to create new AMI  - Then copy the ami name, with todays it creates  - Now again go to server same location (/usr/local/bin)   - Run below script  ---&amp;gt; ./2-revert-template.sh   - Now...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Instance Refresh PCR&lt;br /&gt;
---------------------&lt;br /&gt;
&lt;br /&gt;
- Login to lb.zeb.apoyar&lt;br /&gt;
&lt;br /&gt;
- Go to /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Run below script&lt;br /&gt;
&lt;br /&gt;
----&amp;gt; ./1-create***.sh (press ENTER until its ask&#039;s for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Then, Go to aws console&lt;br /&gt;
&lt;br /&gt;
- EC2 instances - AMI’S console&lt;br /&gt;
&lt;br /&gt;
- Check here latest AMI is creating&lt;br /&gt;
&lt;br /&gt;
- Wait for 5-8 mins to create new AMI&lt;br /&gt;
&lt;br /&gt;
- Then copy the ami name, with todays it creates&lt;br /&gt;
&lt;br /&gt;
- Now again go to server same location (/usr/local/bin)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Run below script&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; ./2-revert-template.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Now go to aws EC2 console&lt;br /&gt;
&lt;br /&gt;
- Select &amp;quot;Launch Templates&amp;quot; from left side menu&lt;br /&gt;
&lt;br /&gt;
- Select &amp;quot;ZEB_LB&amp;quot;, then click on &amp;quot;Actions&amp;quot; and select &amp;quot;Modify template (create new version)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- Here search in my AMI&#039;s —&amp;gt; we have copied ami name earlier, so need to search it and select that and create template version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Then go to EC2 console, click on left side menu last option &amp;quot;autoscaling group&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- select zeb_lb --&amp;gt; --&amp;gt; instance refresh tab ---&amp;gt; skip matching (untick) and then start instsance refresh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ---&amp;gt; When instance refresh initiate we will receive email from aws cloudwatch and once its finished we will receive second email termination of old autoscale instance (this way we can get to know that instance refresh done and new autoscale intance will launch)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=269</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=269"/>
		<updated>2023-06-29T12:26:45Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Redhat hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - files.apoyar.net]]&lt;br /&gt;
* [[Generating LetsEncrypt SSL - Bleckmann New Custom URL]]&lt;br /&gt;
* [[Instance Refresh - ZEB]]&lt;br /&gt;
* [[Instance Refresh - PCR]]&lt;br /&gt;
* [[Commercial SSL Certificate Chain Checks]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Renewing_LetsEncrypt_SSL_-_files.apoyar.net&amp;diff=264</id>
		<title>Renewing LetsEncrypt SSL - files.apoyar.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Renewing_LetsEncrypt_SSL_-_files.apoyar.net&amp;diff=264"/>
		<updated>2023-04-10T13:52:21Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Login to ftp.apoyar  Open services and stop “Windows Update” service.  Then, open IIS manager  Expand FTP/ expand/expand Sites/  Select “Default Web Site” and on rightmost menu click on “Stop”  Then, select “WSUS Administration” and on rightmost menu click on “Stop”  Then, login to crushftp site - https://files.apoyar.net/WebInterface/login.html  Username – admin  Password -  5tarry.Night  Once logged in, click on “Admin” option, it will get you...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Login to ftp.apoyar&lt;br /&gt;
&lt;br /&gt;
Open services and stop “Windows Update” service.&lt;br /&gt;
&lt;br /&gt;
Then, open IIS manager&lt;br /&gt;
&lt;br /&gt;
Expand FTP/ expand/expand Sites/&lt;br /&gt;
&lt;br /&gt;
Select “Default Web Site” and on rightmost menu click on “Stop”&lt;br /&gt;
&lt;br /&gt;
Then, select “WSUS Administration” and on rightmost menu click on “Stop”&lt;br /&gt;
&lt;br /&gt;
Then, login to crushftp site - https://files.apoyar.net/WebInterface/login.html&lt;br /&gt;
&lt;br /&gt;
Username – admin&lt;br /&gt;
&lt;br /&gt;
Password -  5tarry.Night&lt;br /&gt;
&lt;br /&gt;
Once logged in, click on “Admin” option, it will get you to the crushftp admin console&lt;br /&gt;
&lt;br /&gt;
Once in admin console, click on “Preferences”&lt;br /&gt;
&lt;br /&gt;
Then click on “IP/Servers” tab&lt;br /&gt;
&lt;br /&gt;
Here will get entry HTTP://lookup:80&lt;br /&gt;
&lt;br /&gt;
Highlight that entry, right click, and  click on “Start Server”&lt;br /&gt;
&lt;br /&gt;
Once it becomes green, it means it’s started (port 80 got enabled)&lt;br /&gt;
&lt;br /&gt;
Then from the left menu, click on last option “Plugins”&lt;br /&gt;
&lt;br /&gt;
Here on Plugins page. from that drop down option select “LetsEncrypt” &lt;br /&gt;
&lt;br /&gt;
It will give us, Letsencrypt SSL autorenewal setup page&lt;br /&gt;
&lt;br /&gt;
On this page, at “Execute CrushTask/Job after cert renew” select “Crush Task” option and click on “Submit”&lt;br /&gt;
&lt;br /&gt;
(wait until we got SUCCESS message popup).. once we got SUCCESS message, browse and check files.apoyar.net&lt;br /&gt;
&lt;br /&gt;
If its renewed then, again select “-“ option at “Execute CrushTask/Job after cert renew” and click on submit.&lt;br /&gt;
&lt;br /&gt;
Then again go back to “IP/Servers” tab&lt;br /&gt;
&lt;br /&gt;
Here will get entry HTTP://lookup:80&lt;br /&gt;
&lt;br /&gt;
Highlight that entry, right click, and  click on “Stop Server”&lt;br /&gt;
&lt;br /&gt;
Login back to ftp.apoyar&lt;br /&gt;
&lt;br /&gt;
open IIS manager&lt;br /&gt;
&lt;br /&gt;
Expand FTP/ expand/expand Sites/&lt;br /&gt;
&lt;br /&gt;
Select “Default Web Site” and on rightmost menu click on “Start”&lt;br /&gt;
&lt;br /&gt;
Then, select “WSUS Administration” and on rightmost menu click on “Start”&lt;br /&gt;
&lt;br /&gt;
At last, open services and Start “Windows Update” service.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=263</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=263"/>
		<updated>2023-04-10T13:50:00Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Redhat hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;br /&gt;
* [[Renewing LetsEncrypt SSL - files.apoyar.net]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=256</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=256"/>
		<updated>2022-12-01T06:12:09Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Awsbackup.apoyar.eu_SSL_Renew&amp;diff=255</id>
		<title>Awsbackup.apoyar.eu SSL Renew</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Awsbackup.apoyar.eu_SSL_Renew&amp;diff=255"/>
		<updated>2022-12-01T06:11:25Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Karol&amp;#039;s Comments - -------------------  First, you need to allow SSH in the AWS from Nagios.  Then, go to Nagios and use the keypair specified in the AWS console.  The user is cpmuser  This cannot be changed as with every update the whole machine gets replaced, only sustaining the data drive.  Please also run apt-get update and apt-get upgrade and apt-get dist-upgrade and apt-get autoclean there.  It&amp;#039;s safe to reboot as many times you need, as the backups start at 20:00...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Karol&#039;s Comments -&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
First, you need to allow SSH in the AWS from Nagios.&lt;br /&gt;
&lt;br /&gt;
Then, go to Nagios and use the keypair specified in the AWS console.&lt;br /&gt;
&lt;br /&gt;
The user is cpmuser&lt;br /&gt;
&lt;br /&gt;
This cannot be changed as with every update the whole machine gets replaced, only sustaining the data drive.&lt;br /&gt;
&lt;br /&gt;
Please also run apt-get update and apt-get upgrade and apt-get dist-upgrade and apt-get autoclean there.&lt;br /&gt;
&lt;br /&gt;
It&#039;s safe to reboot as many times you need, as the backups start at 20:00 CET.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
STEPS -&lt;br /&gt;
------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Allow SSH access from Nagios to backup_machine&lt;br /&gt;
&lt;br /&gt;
- Connect to nagios.apoyar with neal user&lt;br /&gt;
&lt;br /&gt;
su (ap0yar)&lt;br /&gt;
&lt;br /&gt;
cd /root/.ssh/&lt;br /&gt;
&lt;br /&gt;
ssh -i &amp;quot;zeb.pem&amp;quot; cpmuser@18.200.187.204 (this will connect to backup_machine server)&lt;br /&gt;
&lt;br /&gt;
go to /etc/apache2/sites-available/&lt;br /&gt;
&lt;br /&gt;
first run below command&lt;br /&gt;
&lt;br /&gt;
certbot --dry-run renew&lt;br /&gt;
&lt;br /&gt;
It should give message like - Congratulations, all simulated renewals succeeded&lt;br /&gt;
&lt;br /&gt;
if giving any error need to resolve that first&lt;br /&gt;
&lt;br /&gt;
If its related to port 80, we need to free up that port for renewal&lt;br /&gt;
check what are running services with below command&lt;br /&gt;
&lt;br /&gt;
netstat -tulpn | grep LISTEN&lt;br /&gt;
&lt;br /&gt;
if we find any service running on port 80.. stop that and then try &amp;quot;certbot --dry-run renew&amp;quot; command again&lt;br /&gt;
once its got succeeded then we have to run below command&lt;br /&gt;
&lt;br /&gt;
certbot renew (this will automatically renew existing SSL certificate).&lt;br /&gt;
&lt;br /&gt;
also we have to run below commands on by one&lt;br /&gt;
&lt;br /&gt;
apt-get update&lt;br /&gt;
&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
apt-get autoclean&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note :- While running above commands  it will ask either to upgrade or keep existing .conf files, so we have to keep existing with N or O&lt;br /&gt;
&lt;br /&gt;
Also if machine need reboot, we can do it in day time.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=254</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=254"/>
		<updated>2022-12-01T06:07:45Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Cloudfront Static/Media url creation]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;br /&gt;
* [[awsbackup.apoyar.eu SSL Renew]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Setting_Updates_to_Manual_on_HyperV&amp;diff=253</id>
		<title>Setting Updates to Manual on HyperV</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Setting_Updates_to_Manual_on_HyperV&amp;diff=253"/>
		<updated>2022-10-27T12:20:55Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;- Login to vcenter.apoyar server  - Open Firefox Mozilla (shortcut desktop icon), will get tabs for HyperV1 and HyperV2… just click on that tab  - Enter credentials as below:  Username - root  Password - generic  Domain – This iDRAC (If not, select in dropdown)  - After login, click on launch tab  - Then it will ask to save the file, save it  - Open saved file, click OK, then click on continue and last click on run  - Once terminal launched, click on Macros, and then...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- Login to vcenter.apoyar server&lt;br /&gt;
&lt;br /&gt;
- Open Firefox Mozilla (shortcut desktop icon), will get tabs for HyperV1 and HyperV2… just click on that tab&lt;br /&gt;
&lt;br /&gt;
- Enter credentials as below:&lt;br /&gt;
&lt;br /&gt;
Username - root&lt;br /&gt;
&lt;br /&gt;
Password - generic&lt;br /&gt;
&lt;br /&gt;
Domain – This iDRAC (If not, select in dropdown)&lt;br /&gt;
&lt;br /&gt;
- After login, click on launch tab&lt;br /&gt;
&lt;br /&gt;
- Then it will ask to save the file, save it&lt;br /&gt;
&lt;br /&gt;
- Open saved file, click OK, then click on continue and last click on run&lt;br /&gt;
&lt;br /&gt;
- Once terminal launched, click on Macros, and then click on Ctrl+Alt+Del&lt;br /&gt;
&lt;br /&gt;
- New window will open, prompting for password, we have to type it manually and hit enter&lt;br /&gt;
&lt;br /&gt;
W1s3.G3@ry (for @ sign, press Shift+”)&lt;br /&gt;
&lt;br /&gt;
- You will find menu for various task to perform, to change updates setting press number 5 and hit enter&lt;br /&gt;
&lt;br /&gt;
- Then to set updates to manual press m and hit enter&lt;br /&gt;
&lt;br /&gt;
- Once its set to manual, to log off press number 11 and hit enter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note  -  As part of monitoring and maintenance, every month (first working day of month) we have to check this HyperV setting, as it’s got automatically set to &amp;quot;Automatic&amp;quot;, so we have to set it to &amp;quot;Manual&amp;quot;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Adding_the_missing_host_from_HyperV_console&amp;diff=252</id>
		<title>Adding the missing host from HyperV console</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Adding_the_missing_host_from_HyperV_console&amp;diff=252"/>
		<updated>2022-10-27T12:19:53Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;- Login to management.wise.apoyar server  - Open HyperV console  - Right click on HyperV manager, click on connect to server  - New window will open, click on browse  - New window will open, type hyperv2 or hyperv1 under &amp;quot;Enter object name to select&amp;quot; and click on check names, it will find the actual name, then click on OK.  - Then, check the box &amp;quot;Connect as another user&amp;quot; and click on Set user  - Then, enter the user as below  WG\Administrator  W1s3.G3@ry  - Check Remembe...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- Login to management.wise.apoyar server&lt;br /&gt;
&lt;br /&gt;
- Open HyperV console&lt;br /&gt;
&lt;br /&gt;
- Right click on HyperV manager, click on connect to server&lt;br /&gt;
&lt;br /&gt;
- New window will open, click on browse&lt;br /&gt;
&lt;br /&gt;
- New window will open, type hyperv2 or hyperv1 under &amp;quot;Enter object name to select&amp;quot; and click on check names, it will find the actual name, then click on OK.&lt;br /&gt;
&lt;br /&gt;
- Then, check the box &amp;quot;Connect as another user&amp;quot; and click on Set user&lt;br /&gt;
&lt;br /&gt;
- Then, enter the user as below&lt;br /&gt;
&lt;br /&gt;
WG\Administrator&lt;br /&gt;
&lt;br /&gt;
W1s3.G3@ry&lt;br /&gt;
&lt;br /&gt;
- Check Remember me box and click OK&lt;br /&gt;
&lt;br /&gt;
- At last click OK and we can see missing host in console.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=251</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=251"/>
		<updated>2022-10-27T12:17:28Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Cloudfront Static/Media url creation]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;br /&gt;
* [[Adding the missing host from HyperV console]]&lt;br /&gt;
* [[Setting Updates to Manual on HyperV]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Renewing_SSL_Certificate_on_OpenVPN_Server&amp;diff=250</id>
		<title>Renewing SSL Certificate on OpenVPN Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Renewing_SSL_Certificate_on_OpenVPN_Server&amp;diff=250"/>
		<updated>2022-09-21T09:02:19Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Make sure certbot is not installed by OS packaging&lt;br /&gt;
&lt;br /&gt;
Install CertBot using Snap&lt;br /&gt;
&lt;br /&gt;
Invoke CertBot and generate the cert:&lt;br /&gt;
&lt;br /&gt;
Login to openvpn server from jupiter (10.0.1.55 using neal user and apoyar key)&lt;br /&gt;
 &lt;br /&gt;
systemctl stop openvpnas&lt;br /&gt;
&lt;br /&gt;
systemctl status openvpnas&lt;br /&gt;
 &lt;br /&gt;
certbot certonly --force-renewal --standalone --non-interactive --agree-tos --email support@apoyar.eu --domains sslvpn.apoyar.net --pre-hook &#039;sudo service openvpnas stop&#039; --post-hook &#039;sudo service openvpnas start&#039;&lt;br /&gt;
&lt;br /&gt;
(If getting error about port 80 while running above command, we have to kill the process running on that port)&lt;br /&gt;
&lt;br /&gt;
to check services running on ports, run below command&lt;br /&gt;
&lt;br /&gt;
netstat -anpt | grep LISTEN&lt;br /&gt;
&lt;br /&gt;
check here and kill process and then try again running certbot command, once command executed get the certificate and key details, edit in below commands and execute below 2 commands&lt;br /&gt;
 &lt;br /&gt;
ln -s -f /certificate path /usr/local/openvpn_as/etc/web-ssl/server.crt&lt;br /&gt;
&lt;br /&gt;
ln -s -f /keyfile path /usr/local/openvpn_as/etc/web-ssl/server.key&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/openvpn_as/scripts&lt;br /&gt;
&lt;br /&gt;
./sacli stop&lt;br /&gt;
&lt;br /&gt;
./sacli --key &amp;quot;cs.priv_key&amp;quot; --value_file &amp;quot;/etc/letsencrypt/live/sslvpn.apoyar.net/privkey.pem&amp;quot; ConfigPut&lt;br /&gt;
&lt;br /&gt;
./sacli --key &amp;quot;cs.cert&amp;quot; --value_file &amp;quot;/etc/letsencrypt/live/sslvpn.apoyar.net/fullchain.pem&amp;quot; ConfigPut&lt;br /&gt;
&lt;br /&gt;
./sacli start&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
reboot&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Zeb_video_sftp_permissions_check_and_fix&amp;diff=249</id>
		<title>Zeb video sftp permissions check and fix</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Zeb_video_sftp_permissions_check_and_fix&amp;diff=249"/>
		<updated>2022-09-19T14:46:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;ZEB-VIODE sftp permissions check and fix ------------------------------------  On nagios.apoyar-KITTY machine  /etc/nagios/objects # vi services.cfg  /rds  To check what is the command for RDS   Check_rds! -n zeb -r eu-west-1 -i zeb-db -m status  # vi commands.cfg  #Check_rds (definition)  Define command { 	Command_name check_rds 	Command_name $USER1$|pmp-check-aws-rds.py $ARG1$  (We can run this command to know the arguments)  # /usr/local/libexec/nagios/pmp-check-aws-r...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ZEB-VIODE sftp permissions check and fix&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
On nagios.apoyar-KITTY machine&lt;br /&gt;
&lt;br /&gt;
/etc/nagios/objects # vi services.cfg&lt;br /&gt;
&lt;br /&gt;
/rds&lt;br /&gt;
&lt;br /&gt;
To check what is the command for RDS&lt;br /&gt;
 &lt;br /&gt;
Check_rds! -n zeb -r eu-west-1 -i zeb-db -m status&lt;br /&gt;
&lt;br /&gt;
# vi commands.cfg&lt;br /&gt;
&lt;br /&gt;
#Check_rds (definition)&lt;br /&gt;
&lt;br /&gt;
Define command {&lt;br /&gt;
	Command_name check_rds&lt;br /&gt;
	Command_name $USER1$|pmp-check-aws-rds.py $ARG1$&lt;br /&gt;
&lt;br /&gt;
(We can run this command to know the arguments)&lt;br /&gt;
&lt;br /&gt;
# /usr/local/libexec/nagios/pmp-check-aws-rds.py -h&lt;br /&gt;
&lt;br /&gt;
If we check nagios ZEB-MYSQL[RDS]&lt;br /&gt;
&lt;br /&gt;
MYSQL Connection Time&lt;br /&gt;
&lt;br /&gt;
MYSQL Open file&lt;br /&gt;
&lt;br /&gt;
MYSQL Query Cache&lt;br /&gt;
&lt;br /&gt;
MQSQL Threads Connected&lt;br /&gt;
&lt;br /&gt;
MQSQL Threads running&lt;br /&gt;
&lt;br /&gt;
(MYSQL Check which can be checked over the connection)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
RDS – CPU Load&lt;br /&gt;
&lt;br /&gt;
RDS RAM&lt;br /&gt;
&lt;br /&gt;
RDS Status&lt;br /&gt;
&lt;br /&gt;
RDS Storage&lt;br /&gt;
&lt;br /&gt;
(metrics on machine itself)&lt;br /&gt;
&lt;br /&gt;
RDS is the managed service we don’t have access to the machine we cannot run maintenance ,istall updates . but we cannot connect to DataBase.&lt;br /&gt;
&lt;br /&gt;
Here we have to create 2 policies&lt;br /&gt;
&lt;br /&gt;
1.	Custom Policies(GetMetricStatitics)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cloudwatch (Monitoring system of AWS)&lt;br /&gt;
&lt;br /&gt;
2.	RDSDescribe&lt;br /&gt;
&lt;br /&gt;
(Two policies need to be for every new user and customer, we had it in ZEB also we need to create the same in scorpion)&lt;br /&gt;
&lt;br /&gt;
After the policies created we are going to IAM (management Console) in AWS&lt;br /&gt;
&lt;br /&gt;
This is not the regular user , we cannot use the username and password , it is called as an API.&lt;br /&gt;
&lt;br /&gt;
IAM---USER—Security Credentials.&lt;br /&gt;
&lt;br /&gt;
Here we find the Access Key ID – generated when you create user we cannot change this.&lt;br /&gt;
&lt;br /&gt;
NOTE : if you lose or forget your secret key you cannot retrieve it instead create a new access key and make the old key inactive.&lt;br /&gt;
&lt;br /&gt;
Now we have RDS monitoring using Nagios created on AWS.&lt;br /&gt;
&lt;br /&gt;
Go back to nagios machine.&lt;br /&gt;
&lt;br /&gt;
root@nagios: /usr/local/etc/nagios/objects $ vi /etc/boto.cfg&lt;br /&gt;
&lt;br /&gt;
(boto -this library looks for configuration files in the following location and in the following order : /etc/boto.cfg)&lt;br /&gt;
&lt;br /&gt;
It has PROFILE NAME, ACCESS KEY ID and SECURE KEY data in it.&lt;br /&gt;
&lt;br /&gt;
Why this has been done the reason for that is the plugin itself doesn’t have any option to provide username and password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Check_rds -n zeb eu-west-1 -i zeb-db -m status&lt;br /&gt;
&lt;br /&gt;
-n –profile name&lt;br /&gt;
&lt;br /&gt;
-r –region&lt;br /&gt;
&lt;br /&gt;
-i –identity&lt;br /&gt;
&lt;br /&gt;
-m—status&lt;br /&gt;
&lt;br /&gt;
If we run the arugments of that particular command we get&lt;br /&gt;
&lt;br /&gt;
$ /usr/local/libexec/nagios/pmp-check-aws-rds.py -n zeb eu-west-1 -i zeb-db -m status&lt;br /&gt;
&lt;br /&gt;
(we get the version of MYSQL and the status)&lt;br /&gt;
&lt;br /&gt;
We integrate all nagios user ,IAM and Policies with RDS.&lt;br /&gt;
&lt;br /&gt;
We have to create pragramatic user in RDS , we have to give the 2 policies to enable it to monitoring.&lt;br /&gt;
&lt;br /&gt;
It doesn’t access the database at all the only thing it access is cloud watch which is monitoring system of AWS.&lt;br /&gt;
&lt;br /&gt;
We can see what Cloud watch does , if you click monitoring on database.&lt;br /&gt;
&lt;br /&gt;
We are asking cloud watch to give us the information.&lt;br /&gt;
&lt;br /&gt;
Same Process is Applicable for Scorpion.&lt;br /&gt;
&lt;br /&gt;
If we go Scorpion on AWS Console.&lt;br /&gt;
&lt;br /&gt;
We can see the commands run on nagios machine for scorpion.&lt;br /&gt;
&lt;br /&gt;
/usr/local/etc/nagios/objects $ vi services.cfg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can check the command for scorpion as well&lt;br /&gt;
&lt;br /&gt;
Check_rds -n scorpion -r us-east-2 -i scorpion -m status.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_certificate_CSR_generation&amp;diff=248</id>
		<title>SSL certificate CSR generation</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_certificate_CSR_generation&amp;diff=248"/>
		<updated>2022-09-19T14:41:48Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Generating CSR and applying generated certificate on server  CSR – Certificate Signing Request  Brose website URL   click on padlock  click on certificate  Click on Details tab, under this click on subject  Copy all information under subject to notepad   Login to phobos.apoyar  Go to below path  • cd /home/neal/certs  Generate key using below command with proper key name  • openssl genrsa -out key_name.key 2048  Generate CSR with below command with appropriate info...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Generating CSR and applying generated certificate on server&lt;br /&gt;
&lt;br /&gt;
CSR – Certificate Signing Request&lt;br /&gt;
&lt;br /&gt;
Brose website URL &lt;br /&gt;
&lt;br /&gt;
click on padlock&lt;br /&gt;
&lt;br /&gt;
click on certificate&lt;br /&gt;
&lt;br /&gt;
Click on Details tab, under this click on subject&lt;br /&gt;
&lt;br /&gt;
Copy all information under subject to notepad&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Login to phobos.apoyar&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
• cd /home/neal/certs&lt;br /&gt;
&lt;br /&gt;
Generate key using below command with proper key name&lt;br /&gt;
&lt;br /&gt;
• openssl genrsa -out key_name.key 2048&lt;br /&gt;
&lt;br /&gt;
Generate CSR with below command with appropriate information, which we have copied in notepad&lt;br /&gt;
&lt;br /&gt;
• openssl req -new -key key_name.key -sha256 -nodes -subj &#039;/C=BE/ST= Overijssel /L= Oldenzaal/O= Bleckmann Nederland B.V. STREET = Eekboerstraat 25 /OU=IT/CN= b2b.bleckmann.com /emailAddress=support2@apoyar.eu/subjectAltName=DNS.1= abc.com, DNS.2= xyz.com, DNS.3= xuv.com &#039; &amp;gt; name.csr&lt;br /&gt;
&lt;br /&gt;
Note :- above command is for example, we have to enter appropriate info as per the client&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After generating check CSR information using below command&lt;br /&gt;
&lt;br /&gt;
• openssl req -in name.csr -noout –text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once CSR is generated, we have to send it to the client, then they will send us certificate files in zipped format through mail&lt;br /&gt;
&lt;br /&gt;
Once we receive that zip file, get that zipped file to phobos.apoyar and unzip, it includes 3-4 files&lt;br /&gt;
&lt;br /&gt;
To create a single certificate using all that 4 files, run below command with same files sequence&lt;br /&gt;
&lt;br /&gt;
•	cat STAR_pointcarre_be.crt  USERTrustRSAAAACA.crt SectigoRSADomainValidationSecureServerCA.crt AAACertificateServices.crt &amp;gt; pointcarre_2023.crt&lt;br /&gt;
&lt;br /&gt;
Note :- above command is for example, we have to edit filenames as per the client&lt;br /&gt;
&lt;br /&gt;
Once we generated a single certificate (.crt), then we have to verify and check that with key file using below command&lt;br /&gt;
&lt;br /&gt;
•	openssl x509 -noout -modulus -in cert_name.crt  | openssl md5 &amp;amp;&amp;amp; openssl rsa -noout -modulus -in key_name.key | openssl md5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this verification done, get that certificate on the respected servers at below path.&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/ssl/certs/&lt;br /&gt;
&lt;br /&gt;
And then go to below path &amp;amp; edit required nginx configuration files and provide there new certificate path with name.&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/nginx/sites-available &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once all done, run below command, check all syntax errors and if we get successful message then reload nginx&lt;br /&gt;
&lt;br /&gt;
•	nginx -t&lt;br /&gt;
&lt;br /&gt;
•	service nginx reload&lt;br /&gt;
&lt;br /&gt;
Once we done for all servers, go to jupiter.apoyar Open Notepad as admin. Open the hosts file (C:\Windows\System32\drivers\etc) and find the according&lt;br /&gt;
&lt;br /&gt;
 domain entries. Remove the hash and save. Once again reload nginx and wait for some time. Test, bring up the cert.&lt;br /&gt;
&lt;br /&gt;
Once certificate is reflected on sites, go to jupiter.apoyar Open Notepad as admin. Open the hosts file (C:\Windows\System32\drivers\etc) and find the &lt;br /&gt;
&lt;br /&gt;
according domain entries. Add the hash and save.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Checking_System_logs&amp;diff=247</id>
		<title>Checking System logs</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Checking_System_logs&amp;diff=247"/>
		<updated>2022-08-22T09:33:12Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PHP RELATED AND DEPLOYMENT&lt;br /&gt;
------------------------------&lt;br /&gt;
 &lt;br /&gt;
Php There are two versions 7.4 And 8.0 Version&lt;br /&gt;
&lt;br /&gt;
if 8.0 Version is not supporting we should remove 8.0 and we need to install 7.4 version.&lt;br /&gt;
&lt;br /&gt;
If we got any error like some dependency packages are missing means we need to install those dependency packages manually.&lt;br /&gt;
&lt;br /&gt;
To find the list of modules we should run below coommand&lt;br /&gt;
&lt;br /&gt;
php –m&lt;br /&gt;
&lt;br /&gt;
we should take the list of modules which are present on the server and we should compare which modules are from the developer machine.&lt;br /&gt;
&lt;br /&gt;
When we are setting up the new project Env and config PHP files will be missed.We have to copy from existing projects.&lt;br /&gt;
&lt;br /&gt;
To work the setup upgrade command we need to install the Composer and then we need to upgrade composer to 1.10 then only the magento commands will work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CHECKING LOGS BASED ON ISSUES&lt;br /&gt;
--------------------------------&lt;br /&gt;
&lt;br /&gt;
If something is not opening like phpmyadmin,Webpage,website.It will stores the logs for every actions.We need to check both the success and error logs we will find the difference.&lt;br /&gt;
&lt;br /&gt;
First we need to go to below path&lt;br /&gt;
 &lt;br /&gt;
cd /var/log&lt;br /&gt;
&lt;br /&gt;
here we should find logs by using below command &lt;br /&gt;
&lt;br /&gt;
tail –f php7.4-fpm.log&lt;br /&gt;
&lt;br /&gt;
If this command gives the critical alert means website may not works.&lt;br /&gt;
&lt;br /&gt;
To find the particular modules or configuraion files we should have to use locate php.ini and then we should open below file &lt;br /&gt;
&lt;br /&gt;
vi /etc/php/7.4/cli/php.ini&lt;br /&gt;
&lt;br /&gt;
In this above file file we can find maximum load configurations,Maximum Uploads.&lt;br /&gt;
&lt;br /&gt;
For Mysql Related Configurations we can check in /usr/local/etc/mysql/my.cnf. This location is in magento-database server.&lt;br /&gt;
&lt;br /&gt;
We need to verify all the configurations,.if the bind –ip address column if we are giving 0.0.0.0 means we are allowing all the ip address to login into this server .If we want we can give particular ip address also then it will allow only that ip address.&lt;br /&gt;
&lt;br /&gt;
To verify the logs go to below path&lt;br /&gt;
&lt;br /&gt;
cd /var/log/nginx/ &lt;br /&gt;
&lt;br /&gt;
and then run below command &lt;br /&gt;
&lt;br /&gt;
tail –f error.log &lt;br /&gt;
&lt;br /&gt;
it will shows error message &lt;br /&gt;
&lt;br /&gt;
And if we want to check the log for php related run below command at cd /var/log &lt;br /&gt;
&lt;br /&gt;
tail –f php7.4-fpm.log&lt;br /&gt;
&lt;br /&gt;
If we want to find the system authentication logs we should go to &lt;br /&gt;
&lt;br /&gt;
cd /var/log &lt;br /&gt;
&lt;br /&gt;
and run below command &lt;br /&gt;
&lt;br /&gt;
tail –f syslog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To Remove Php from server&lt;br /&gt;
&lt;br /&gt;
sudo apt-get purge php7.*&lt;br /&gt;
&lt;br /&gt;
Sudo apt-get autoclean&lt;br /&gt;
&lt;br /&gt;
Sudo apt-get autoremove&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Adding_hosts_and_services_to_Nagios_-_Windows_hosts&amp;diff=246</id>
		<title>Adding hosts and services to Nagios - Windows hosts</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Adding_hosts_and_services_to_Nagios_-_Windows_hosts&amp;diff=246"/>
		<updated>2022-08-09T12:22:22Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Adding Windows Host in Nagios&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Connect to Server (nagios.apoyar)&lt;br /&gt;
&lt;br /&gt;
Go to below path and edit .cfg file&lt;br /&gt;
&lt;br /&gt;
•	cd /usr/local/etc/nagios/objects/machines&lt;br /&gt;
&lt;br /&gt;
•	ls&lt;br /&gt;
&lt;br /&gt;
•	vi apoyar.cfg (depending on whether we are adding host for Apoyar or other customers)&lt;br /&gt;
&lt;br /&gt;
Copy the configuration format for windows server added before&lt;br /&gt;
&lt;br /&gt;
Edit the hostname (TempNCC) and address (tempncc.apoyar-networks.com) for new host&lt;br /&gt;
&lt;br /&gt;
Add the host name in member list&lt;br /&gt;
&lt;br /&gt;
Save file (:wq!) and exit vi editor&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
•	cd /usr/local/etc/nagios/objects&lt;br /&gt;
&lt;br /&gt;
•	vi services.cfg&lt;br /&gt;
&lt;br /&gt;
Add the new hostname to the services, which we need for new server in Nagios&lt;br /&gt;
&lt;br /&gt;
We can do with following command, will get same services like Mercury DC for new host&lt;br /&gt;
&lt;br /&gt;
:%s/Mercury-DC, /Mercury-DC, TempNCC, /gc&lt;br /&gt;
&lt;br /&gt;
Save file (:wq!) and exit vi editor&lt;br /&gt;
&lt;br /&gt;
For those services, which we need other than Mercury DC&lt;br /&gt;
&lt;br /&gt;
Go to that particular service configuration and enter new server (TempNCC) name manually &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connect to new host (TempNCC)&lt;br /&gt;
&lt;br /&gt;
Type in file explorer \\ncc1701d\\sourcefiles&lt;br /&gt;
&lt;br /&gt;
dir&lt;br /&gt;
&lt;br /&gt;
copy NSClient++ folder &lt;br /&gt;
&lt;br /&gt;
Paste it on (TempNCC) server’s desktop&lt;br /&gt;
&lt;br /&gt;
Open NSClient++ folder on desktop&lt;br /&gt;
&lt;br /&gt;
•	Install 64-bit file&lt;br /&gt;
&lt;br /&gt;
•	Generic&lt;br /&gt;
&lt;br /&gt;
•	Typical&lt;br /&gt;
&lt;br /&gt;
•	Install&lt;br /&gt;
&lt;br /&gt;
•	Finish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open services	&lt;br /&gt;
&lt;br /&gt;
Stop NSClient++ service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to NSClient++ folder on desktop&lt;br /&gt;
&lt;br /&gt;
Copy nsclient file&lt;br /&gt;
&lt;br /&gt;
Go to&lt;br /&gt;
&lt;br /&gt;
C:\Program Files\NSClient++&lt;br /&gt;
&lt;br /&gt;
Paste, Replace file in destination&lt;br /&gt;
&lt;br /&gt;
Go to NSClient++ folder on desktop&lt;br /&gt;
&lt;br /&gt;
Open scripts folder&lt;br /&gt;
&lt;br /&gt;
Copy four scripts&lt;br /&gt;
&lt;br /&gt;
Go to&lt;br /&gt;
&lt;br /&gt;
C:\Program Files\NSClient++\Scripts&lt;br /&gt;
&lt;br /&gt;
Paste &lt;br /&gt;
&lt;br /&gt;
Open copied nsclient.ini file and Replace 10.0.1.45 (nagios private IP) with 128.0.3.254 (nagios vpn IP) and save file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Start NSClient++ service&lt;br /&gt;
&lt;br /&gt;
Delete NSClient++ folder on Desktop&lt;br /&gt;
&lt;br /&gt;
Disable Nagios notifications&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run below command to check all warnings and alerts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To disable windows (ex. MapsBroker) service &lt;br /&gt;
&lt;br /&gt;
Open PowerShell as admin&lt;br /&gt;
&lt;br /&gt;
Run below command&lt;br /&gt;
&lt;br /&gt;
Get-Service -Name MapsBroker | Set-Service -StartupType Disabled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to server manager on (TempNCC) server&lt;br /&gt;
&lt;br /&gt;
•	Manage&lt;br /&gt;
&lt;br /&gt;
•	Add roles and features&lt;br /&gt;
&lt;br /&gt;
•	Select .NET Framework 3.5&lt;br /&gt;
&lt;br /&gt;
•	Next&lt;br /&gt;
&lt;br /&gt;
•	Next&lt;br /&gt;
&lt;br /&gt;
•	Install&lt;br /&gt;
&lt;br /&gt;
•	Finish&lt;br /&gt;
&lt;br /&gt;
After this go to https://nagios.apoyar.net/&lt;br /&gt;
&lt;br /&gt;
Check for the server we added&lt;br /&gt;
&lt;br /&gt;
Reschedule the check for all services&lt;br /&gt;
&lt;br /&gt;
It will be visible and working in Nagios for Monitoring&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Extending_Linux_File_System_After_Resizing_the_Volume_%E2%80%93_EC2&amp;diff=245</id>
		<title>Extending Linux File System After Resizing the Volume – EC2</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Extending_Linux_File_System_After_Resizing_the_Volume_%E2%80%93_EC2&amp;diff=245"/>
		<updated>2022-08-04T08:39:55Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Extend a Linux File System After Resizing the Volume – EC2 &amp;#039;&amp;#039;&amp;#039;   (This Task has to be done only after the Prior approval from client as this is Costing for Client)  To Increase the storage of any of the EC2 Instance -  - Login into AWS Console  - Go to EC2 Instances  - Click on the Instance  you will the details of the instance in the bottom i.e., Details, Security, Storage networking Etc   - Click on Storage and There you find the Storage capacity of the EC2 instan...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Extend a Linux File System After Resizing the Volume – EC2&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(This Task has to be done only after the Prior approval from client as this is Costing for Client)&lt;br /&gt;
&lt;br /&gt;
To Increase the storage of any of the EC2 Instance -&lt;br /&gt;
&lt;br /&gt;
- Login into AWS Console&lt;br /&gt;
&lt;br /&gt;
- Go to EC2 Instances&lt;br /&gt;
&lt;br /&gt;
- Click on the Instance&lt;br /&gt;
&lt;br /&gt;
you will the details of the instance in the bottom i.e., Details, Security, Storage networking Etc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Click on Storage and There you find the Storage capacity of the EC2 instance in GIB’s.&lt;br /&gt;
&lt;br /&gt;
If you want to increase the volume &lt;br /&gt;
&lt;br /&gt;
- Click on Volume ID&lt;br /&gt;
&lt;br /&gt;
- Go to Actions &lt;br /&gt;
&lt;br /&gt;
- Select Modify Volume&lt;br /&gt;
&lt;br /&gt;
- Give the Size you want to increase in GIB’s&lt;br /&gt;
&lt;br /&gt;
- Click Modify&lt;br /&gt;
&lt;br /&gt;
(Note: It take More time Depending on the Volume Increased)&lt;br /&gt;
&lt;br /&gt;
For Reference: Please Go Through the Link in Amazon Docs for Clear Understanding.&lt;br /&gt;
&lt;br /&gt;
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now Connect to Server&lt;br /&gt;
---------------------&lt;br /&gt;
 &lt;br /&gt;
To verify the file system and type for each volume, use the df -hT command.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;df -hT&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To check whether the volume has a partition that must be extended, use the lsblk command to display information about the NVMe block devices attached to your instance.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;lsblk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For volumes that have a partition, such as the root volume shown in the previous step, use the growpart command to extend the partition. Notice that there is a space between the device name and the partition number&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;growpart /dev/nvme0n1 1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To extend the file system on each volume, use the resize2fs command&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;resize2fs /dev/nvme0n1p1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To verify that each file system reflects the increased volume size, use the df -h command again.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;df -h&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Root Partition Alerts on Nagios would be based on the volume of the Instances)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=244</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=244"/>
		<updated>2022-08-04T08:34:52Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Cloudfront Static/Media url creation]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;br /&gt;
* [[Extending Linux File System After Resizing the Volume – EC2]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=243</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=243"/>
		<updated>2022-06-29T11:42:23Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Cloudfront Static/Media url creation]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_video sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=242</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=242"/>
		<updated>2022-06-29T11:41:45Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Cloudfront Static/Media url creation]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_viode sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Wise_Geary_Backups&amp;diff=241</id>
		<title>Wise Geary Backups</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Wise_Geary_Backups&amp;diff=241"/>
		<updated>2022-06-06T12:15:29Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Wise Geary database Backup --------------------------------  How does the actual backup get Wise Geary work?  We are using Azure Portal as the Secure Backup portal which is the online storage secured by special Passphrases and it serving to hold the data online.  We need to manage the expiration time of the actual data.  We have 3 types of services which are being used for backups.     MARS (Microsoft Azure Recovery Service) ----------------------------------------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Wise Geary database Backup&lt;br /&gt;
--------------------------------&lt;br /&gt;
&lt;br /&gt;
How does the actual backup get Wise Geary work?&lt;br /&gt;
&lt;br /&gt;
We are using Azure Portal as the Secure Backup portal which is the online storage secured by special Passphrases and it serving to hold the data online.&lt;br /&gt;
&lt;br /&gt;
We need to manage the expiration time of the actual data.&lt;br /&gt;
&lt;br /&gt;
We have 3 types of services which are being used for backups.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MARS (Microsoft Azure Recovery Service)&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
It chooses folders or files to backup online and they will be uploaded to azure portal using a special passphrase.&lt;br /&gt;
&lt;br /&gt;
Connect to Management Server(management.wise.apoyar)&lt;br /&gt;
&lt;br /&gt;
Create an account on Azure Portal.&lt;br /&gt;
&lt;br /&gt;
(WWW.PORTAL.AZURE.COM)&lt;br /&gt;
&lt;br /&gt;
Choose RSV (Recovery Service Vault)&lt;br /&gt;
&lt;br /&gt;
First, we look the properties (first we need to download the Recovery service agent)&lt;br /&gt;
&lt;br /&gt;
You can download the backup credentials&lt;br /&gt;
&lt;br /&gt;
You can register the online agent.&lt;br /&gt;
&lt;br /&gt;
We can see the Downloaded Files in &lt;br /&gt;
&lt;br /&gt;
Local Disk © &amp;gt; Program Files &amp;gt; MABS (Microsoft Azure Backup Service) &amp;gt; DPM (Data Protection Management) &amp;gt; MARS( Microsoft Azure Recovery Service)&lt;br /&gt;
&lt;br /&gt;
If we install it, Database gets Created, it creates the backup, we can create the schedules etc.&lt;br /&gt;
&lt;br /&gt;
If that Database fails, you lose all the settings and the tree of backup server&lt;br /&gt;
&lt;br /&gt;
We do not able to download the data from the online portal if we look at the backup items.&lt;br /&gt;
&lt;br /&gt;
Azure backup server (we can see the last recovery date)&lt;br /&gt;
&lt;br /&gt;
However, there is no way to download from here.&lt;br /&gt;
&lt;br /&gt;
The only thing we can do is Install MABS server and try to restore the data.&lt;br /&gt;
&lt;br /&gt;
What Happens to old data &amp;amp; mails that needed to be restored.&lt;br /&gt;
&lt;br /&gt;
We can find the backup servers in Backup Infrastructure.&lt;br /&gt;
&lt;br /&gt;
The total number of servers backed up, with different Active Directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When we register in azure portal, we get the special pass phrases will be generated (It is important to keep the passphrases saved for future purpose.)&lt;br /&gt;
&lt;br /&gt;
If we lose the pass phrases even Microsoft will not be able to give it back the data, the data would be lost.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
During installation, registration process. A special pass phrases is generated (can be saved in folders)&lt;br /&gt;
&lt;br /&gt;
This PC &amp;gt; Documents &amp;gt; Azure Vault info&lt;br /&gt;
&lt;br /&gt;
If the server does not fail, you will not require this pass phrases within the application.&lt;br /&gt;
&lt;br /&gt;
However, if you reinstall the application at another server, you need the pass phrases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MABS (Microsoft Azure Backup Server)&lt;br /&gt;
-------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-	Go to console Azure Portal&lt;br /&gt;
&lt;br /&gt;
-	Protection&lt;br /&gt;
&lt;br /&gt;
-	Protection groups created for maintenance&lt;br /&gt;
&lt;br /&gt;
We only can schedule backup time using protection group properties.&lt;br /&gt;
&lt;br /&gt;
Once the schedule time triggers, the server starts backing up the data in local storage.&lt;br /&gt;
&lt;br /&gt;
Because WG do not have fast internet. We cannot afford to upload to online storage during the workday. Because this will slow down the bandwidth.&lt;br /&gt;
&lt;br /&gt;
We have a hard drive on management server, this will have a backup cache folder.&lt;br /&gt;
&lt;br /&gt;
This PC &amp;gt; Azure&amp;gt; Azure Backup Cache&lt;br /&gt;
&lt;br /&gt;
Later it will be moved to online portal.&lt;br /&gt;
&lt;br /&gt;
MABS is responsible for backing up the data locally &amp;amp; MARS the online agent responsible for move or copy the data to online.&lt;br /&gt;
&lt;br /&gt;
We can See the Properties of the Protection group.&lt;br /&gt;
&lt;br /&gt;
Right click on the Server name.&lt;br /&gt;
&lt;br /&gt;
Modify group&lt;br /&gt;
&lt;br /&gt;
List of servers we are backing up with agent&lt;br /&gt;
&lt;br /&gt;
We have the option to back up on disk and online protection&lt;br /&gt;
&lt;br /&gt;
To run the data integrity&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DPM&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
Restoration range of local disk&lt;br /&gt;
&lt;br /&gt;
Move to online portal&lt;br /&gt;
&lt;br /&gt;
Restoration range on online portal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to Recover the Backed-up data by this server&lt;br /&gt;
-------------------------------------------------------------------- &lt;br /&gt;
&lt;br /&gt;
If you want to access the data online from a failed management server.&lt;br /&gt;
&lt;br /&gt;
Recovery&lt;br /&gt;
&lt;br /&gt;
Add External DPM&lt;br /&gt;
&lt;br /&gt;
Vault Credential (Downloaded RSV)&lt;br /&gt;
&lt;br /&gt;
DPM Server (Choose the server)&lt;br /&gt;
&lt;br /&gt;
Encryption Passphrase (Saved in the Folder)&lt;br /&gt;
&lt;br /&gt;
Ok&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to restore the Recovery data&lt;br /&gt;
------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Select the Folder on Recovery Server and Choose the date. (EG : Mailbox)&lt;br /&gt;
&lt;br /&gt;
Right Click and select Recover the data.&lt;br /&gt;
&lt;br /&gt;
Recovery Selection Window Opens&lt;br /&gt;
&lt;br /&gt;
Because its online we only can download the folder copy to Network Folder.&lt;br /&gt;
&lt;br /&gt;
We have a software for Restore&lt;br /&gt;
&lt;br /&gt;
Steller Repair for exchange&lt;br /&gt;
&lt;br /&gt;
Local Scan&lt;br /&gt;
&lt;br /&gt;
Select the file Downloaded.&lt;br /&gt;
&lt;br /&gt;
Ok&lt;br /&gt;
&lt;br /&gt;
The mailbox data base is opened&lt;br /&gt;
&lt;br /&gt;
Right click and save the mailbox of particular as PST&lt;br /&gt;
&lt;br /&gt;
This can be merged with the Current Mailbox, Also can view the data in the folders.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=240</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Main_Page&amp;diff=240"/>
		<updated>2022-06-06T09:20:40Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Apoyar Wiki main page.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Infrastructure|Apoyar Infrastructure]]&lt;br /&gt;
* [[Complete step-by-step guides]]&lt;br /&gt;
* [[Developer guides]]&lt;br /&gt;
* [[Tips &amp;amp; Tricks]]&lt;br /&gt;
* [[Miscellaneous Information]]&lt;br /&gt;
* [[Installing Updates on Hyper V servers]]&lt;br /&gt;
* [[Connecting RDP servers, if license expired and extending grace period via regedit]]&lt;br /&gt;
* [[Website Hosting &amp;amp; SSL certificate installation]]&lt;br /&gt;
* [[Email Configuration and Issues (Windows)]]&lt;br /&gt;
* [[Providing SSL Certificates to Web Sites ]]&lt;br /&gt;
* [[Generating a LetsEncrypt certificate - both Linux and Windows]]&lt;br /&gt;
* [[Low Free Disk Space Issues (Windows, Linux, UNIX) &amp;amp; Resolution]]&lt;br /&gt;
* [[Zeb Live DB Restore Task]]&lt;br /&gt;
* [[Creating an SFTP user for www server]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Windows hosts]]&lt;br /&gt;
* [[Adding hosts and services to Nagios - Linux/BSD hosts]]&lt;br /&gt;
* [[Upgrading from Windows 2008 R2 to 2016 - migrating MS SQL]]&lt;br /&gt;
* [[Upgrading major versions of Nginx,Mysql]]&lt;br /&gt;
* [[How to fix server authentication if it is broken( unable to login server)]]&lt;br /&gt;
* [[Snapshot restoration of VM&#039;s]]&lt;br /&gt;
* [[AWS CloudFront distributions Creation]]&lt;br /&gt;
* [[VPN configuration on organization level]]&lt;br /&gt;
* [[Fixing VM Issue from vcenter console with admin access in Clavister]]&lt;br /&gt;
* [[OS level checks on Nagios]]&lt;br /&gt;
* [[Certificate checks on Nagios]]&lt;br /&gt;
* [[SSL certificate CSR generation and merge as well create certificate key file]]&lt;br /&gt;
* [[Applying a generated certificate on web server]]&lt;br /&gt;
* [[What if Office 365 doesn&#039;t respond to Magento test emails]]&lt;br /&gt;
* [[Killing CPU &#039;hungry&#039; processes on Zeb/PCR servers]]&lt;br /&gt;
* [[Auto Deployment from UAT to LIVE (dashboardsupportpod)]]&lt;br /&gt;
* [[Checking Failed Mails in Trend Micro]]&lt;br /&gt;
* [[Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)]]&lt;br /&gt;
* [[Upgrading Major Versions of PHP]]&lt;br /&gt;
* [[How to Make Dead RMG Back to Live (Scorpion)]]&lt;br /&gt;
* [[Disabling Expired Certificate on demo.apoyar]]&lt;br /&gt;
* [[How to Block 80 and 443 traffic for server]]&lt;br /&gt;
* [[AWS S3 Sync]]&lt;br /&gt;
* [[Checking System logs]]&lt;br /&gt;
* [[Root partition alerts]]&lt;br /&gt;
* [[SSL Certification Installation on Linux]]&lt;br /&gt;
* [[Renewing SSL Certificate on OpenVPN Server]]&lt;br /&gt;
* [[Updating the Demo server (has the outbound http/https traffic blocked)]]&lt;br /&gt;
* [[Performing restores from AWS using the N2WS backup software]]&lt;br /&gt;
* [[Renewing Commercial certificate on Exchange 2016-19]]&lt;br /&gt;
* [[Seizing the DC roles in the case the main DC fails]]&lt;br /&gt;
* [[Backend fetch failed 503 error &amp;amp; Webp,Webm conversion  little bit understandable]]&lt;br /&gt;
* [[Cloudfront Static/Media url creation]]&lt;br /&gt;
* [[Addidional steps to perform when moving services from one DC to another]]&lt;br /&gt;
* [[Check_defrag probe not working on Nagios]]&lt;br /&gt;
* [[JIRA File Upload issue]]&lt;br /&gt;
* [[Zeb_viode sftp permissions check and fix]]&lt;br /&gt;
* [[Wise Geary Backups]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Addidional_steps_to_perform_when_moving_services_from_one_DC_to_another&amp;diff=239</id>
		<title>Addidional steps to perform when moving services from one DC to another</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Addidional_steps_to_perform_when_moving_services_from_one_DC_to_another&amp;diff=239"/>
		<updated>2022-06-01T07:04:44Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;WiseGeary – Steps to Follow while shifting from one DomainController to Other ----------------------------------------------------------------------------   When a DC1 is Switched Off or Not Running because we have to restart, we have to move everything to DC2.  Now We will move back everything to DC1  There are 3 steps to follow .  Whenever there I a update on DC1 we need to follow these steps pnly then we will shoutdown and install the Updates.  We can view the Runni...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WiseGeary – Steps to Follow while shifting from one DomainController to Other&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When a DC1 is Switched Off or Not Running because we have to restart, we have to move everything to DC2.&lt;br /&gt;
&lt;br /&gt;
Now We will move back everything to DC1&lt;br /&gt;
&lt;br /&gt;
There are 3 steps to follow .&lt;br /&gt;
&lt;br /&gt;
Whenever there I a update on DC1 we need to follow these steps pnly then we will shoutdown and install the Updates.&lt;br /&gt;
&lt;br /&gt;
We can view the Running Status of VM’s on the Host in Hyper V Manager &lt;br /&gt;
&lt;br /&gt;
Hyperv1:&lt;br /&gt;
&lt;br /&gt;
VM’s : DC1, Disaster Recovery, Exchange. File Server, Management. PBX, RDP.&lt;br /&gt;
&lt;br /&gt;
Hyperv2 :&lt;br /&gt;
&lt;br /&gt;
DC2, Exchange, File Server, Management, PBX, RDP, Storage Server.&lt;br /&gt;
&lt;br /&gt;
Step 1 : Transfer FSMO(Flexible Single Master Operations) Roles&lt;br /&gt;
&lt;br /&gt;
Check the Domain :&lt;br /&gt;
&lt;br /&gt;
Open Power Shell Editor , Copy the Below Commands and Press Enter&lt;br /&gt;
&lt;br /&gt;
Get ADForest wg.local | ft DomainNamingMaster, SchemaMaster&lt;br /&gt;
&lt;br /&gt;
Get ADDomain wg.local | InfrastructureMaster, PDCEmulator, RIDMaster&lt;br /&gt;
&lt;br /&gt;
And to Transfer the Domain from DC2 to DC1&lt;br /&gt;
&lt;br /&gt;
Move ADDirectoryServerOperationMasterRole-Identity “DC1” – OperationMasterRole&lt;br /&gt;
&lt;br /&gt;
DomainNamingMaster, PDCEmulator, RIDMaster, InfraStructureMaster&lt;br /&gt;
&lt;br /&gt;
Give [A] Yes to all it will transfer the role&lt;br /&gt;
&lt;br /&gt;
NOTE : We need to wait upto 15 to 20 Mins for the roles to tranfer, Do not shut down immediately.&lt;br /&gt;
&lt;br /&gt;
These transfer will work even the other server is down, even we can run the commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Move DHCP Server :&lt;br /&gt;
&lt;br /&gt;
NOTE : we should not have 2 or more DHCP Server running on the same subnet at the same time.&lt;br /&gt;
&lt;br /&gt;
We Open DHCP Server on Both the Servers DC1 &amp;amp; DC2&lt;br /&gt;
&lt;br /&gt;
Check the Server which is Authorised by right Clicking on DHCP Server. If you find the Authorise option.&lt;br /&gt;
&lt;br /&gt;
Open bash shell as Admin on DC2 server Use the Command to Export the files from DC2 to DC1.&lt;br /&gt;
&lt;br /&gt;
Export-dhcp- ComputerName “DC2” – File \\DC2\C$\DHCP\01dHCPConf.xml - verbose&lt;br /&gt;
&lt;br /&gt;
Verbose : Exporting Configuration from Server DC2 to File \\DC2\C$\DHCP\01dHCPConf.xml&lt;br /&gt;
&lt;br /&gt;
Now we return to DC1 &lt;br /&gt;
&lt;br /&gt;
Check the C drive for DHCP Folder Moved .&lt;br /&gt;
&lt;br /&gt;
Now we Import the File.&lt;br /&gt;
&lt;br /&gt;
Open Bash Shell on DC1 &lt;br /&gt;
&lt;br /&gt;
Copy the below command and run&lt;br /&gt;
&lt;br /&gt;
Import – DhcpServer – Lease – File “C:\DHCP\01dHCPConf.xml” – BackupPath “C:\DHCP\Backup” – Vverbose &lt;br /&gt;
&lt;br /&gt;
Press Y to run the command.&lt;br /&gt;
&lt;br /&gt;
Now we have to Unauthorise the DHCP on DC2 , Right Click and select unauthorise and press Yes.&lt;br /&gt;
&lt;br /&gt;
After that we have to authorise DHCP on DC1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Change the Value on Clavister.&lt;br /&gt;
&lt;br /&gt;
LDAP Client doesn’t allow more than one LDAP Servers.&lt;br /&gt;
&lt;br /&gt;
Login to https:\\pfa.wise-geary.co.uk.444&lt;br /&gt;
&lt;br /&gt;
Login with credentials&lt;br /&gt;
&lt;br /&gt;
Click on Objects&lt;br /&gt;
&lt;br /&gt;
We DC (we need to see the IP Address if it is of DC2 , change the IP to DC1.)&lt;br /&gt;
&lt;br /&gt;
192.168.1.250 to 192.168.1.245&lt;br /&gt;
&lt;br /&gt;
No Interruptions against the client unless we do configuration it still tries to connect to DC2.,&lt;br /&gt;
&lt;br /&gt;
DC2 still has the ActiveDirectory Uprunning.&lt;br /&gt;
&lt;br /&gt;
Click on Configuration.&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; Activate Setting.&lt;br /&gt;
&lt;br /&gt;
We Have Disaster Recovery System Running on Windows for the Back Up for the Domains.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Check_defrag_probe_not_working_on_Nagios&amp;diff=238</id>
		<title>Check defrag probe not working on Nagios</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Check_defrag_probe_not_working_on_Nagios&amp;diff=238"/>
		<updated>2022-06-01T07:01:38Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;Checking Defrag Probe not working on Nagios ------------------------------------------   We have a problem with WG-DC1 -Defragmentation.  Lets look on nagios machine  /usr/local/etc/nagios/objects $ vi service.cfg  /defrag  Command is : check_defrag ! “C1”  Lets go to command  $ vi command.cfg  Defrag command   $USER1$|Check_nrpe3 -H $HOSTADDRESS$ -n -t 7200 -c check-defrag -a $ARG1$  (its not always easy to get the metrics from a windows machine and lets execute the...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Checking Defrag Probe not working on Nagios&lt;br /&gt;
------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have a problem with WG-DC1 -Defragmentation.&lt;br /&gt;
&lt;br /&gt;
Lets look on nagios machine&lt;br /&gt;
&lt;br /&gt;
/usr/local/etc/nagios/objects $ vi service.cfg&lt;br /&gt;
&lt;br /&gt;
/defrag&lt;br /&gt;
&lt;br /&gt;
Command is : check_defrag ! “C1”&lt;br /&gt;
&lt;br /&gt;
Lets go to command&lt;br /&gt;
&lt;br /&gt;
$ vi command.cfg&lt;br /&gt;
&lt;br /&gt;
Defrag command &lt;br /&gt;
&lt;br /&gt;
$USER1$|Check_nrpe3 -H $HOSTADDRESS$ -n -t 7200 -c check-defrag -a $ARG1$&lt;br /&gt;
&lt;br /&gt;
(its not always easy to get the metrics from a windows machine and lets execute the command on nagios machine&lt;br /&gt;
&lt;br /&gt;
$ /usr/local/libexec/nagios/check-nrpe3 -H dc1.wise.apoyar -n -t 7200 -c check_defrag -a c:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is easy with NRPE.&lt;br /&gt;
&lt;br /&gt;
Go to DC1 Server.&lt;br /&gt;
&lt;br /&gt;
Start &lt;br /&gt;
&lt;br /&gt;
Services&lt;br /&gt;
&lt;br /&gt;
Stop the NSClient++ Monitoring agent&lt;br /&gt;
&lt;br /&gt;
Now we try running it manually &lt;br /&gt;
&lt;br /&gt;
Start&lt;br /&gt;
&lt;br /&gt;
CMD(Admin)&lt;br /&gt;
&lt;br /&gt;
We find the NSClient++ in the local disk this is the windows server which takes all the commands and requests from nrpe, browses them and keeps all the information about.&lt;br /&gt;
&lt;br /&gt;
Local Disk --- Program Files – NSClient++--NSCP.&lt;br /&gt;
&lt;br /&gt;
In Command Prompt&lt;br /&gt;
&lt;br /&gt;
C:”\program Files”\NSClient++”&lt;br /&gt;
&lt;br /&gt;
Nscp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to command prompt admin&lt;br /&gt;
&lt;br /&gt;
C:\program files\NSClient++ &amp;gt; cd Scripts&lt;br /&gt;
&lt;br /&gt;
C: \program files\NSClient++\scripts &amp;gt; check_defrag( this command is missing )&lt;br /&gt;
&lt;br /&gt;
We need to get the contents from other any other server &lt;br /&gt;
&lt;br /&gt;
Go to folders&lt;br /&gt;
&lt;br /&gt;
Search : \\dc\\&lt;br /&gt;
&lt;br /&gt;
Network&amp;gt;dc&amp;gt;c$&amp;gt;programfiles&amp;gt;NSClient++&amp;gt;Scripts&lt;br /&gt;
&lt;br /&gt;
(this script folder contains pre installed scripts and custom scripts , Copy them)&lt;br /&gt;
&lt;br /&gt;
Go back to previous folder&lt;br /&gt;
&lt;br /&gt;
Local disk&amp;gt;program files&amp;gt; NSClieent++&amp;gt;scripts folder &lt;br /&gt;
&lt;br /&gt;
Paste it&lt;br /&gt;
&lt;br /&gt;
(skip files which are same now we can see check defrag script in the folder)&lt;br /&gt;
&lt;br /&gt;
Now we try running the command&lt;br /&gt;
&lt;br /&gt;
C:\ program files\NSClient++\scripts &amp;gt; check_defrag.exe C:&lt;br /&gt;
&lt;br /&gt;
a dialogue box displays with some message(the following feature couldn’t be installed&lt;br /&gt;
.NET Framework 3.5(includes &amp;gt;NET 2.0 and 3.0)&lt;br /&gt;
&lt;br /&gt;
We need to install .NET Framework&lt;br /&gt;
&lt;br /&gt;
Start&amp;gt; server manager(need to wait until it finish the loading)&amp;gt;manage&amp;gt;add roles and features&amp;gt;server selection(next)&amp;gt;server roles&amp;gt;features (.NET Framework3.5)&amp;gt;confirmation.&lt;br /&gt;
&lt;br /&gt;
Note : if you try to install  .NET Framework 3.5 it would throw an error for windows) Specify an alternate source path&lt;br /&gt;
&lt;br /&gt;
Go to folder&lt;br /&gt;
&lt;br /&gt;
This PC &amp;gt; DVD Drivers&amp;gt; sources&amp;gt;sxs&lt;br /&gt;
&lt;br /&gt;
Copy the path and paste as alternate path &lt;br /&gt;
&lt;br /&gt;
Click Install&lt;br /&gt;
&lt;br /&gt;
Close after completes the installation&lt;br /&gt;
&lt;br /&gt;
Now if we try to run the command &lt;br /&gt;
&lt;br /&gt;
C:\ program files\NSClient++\scripts &amp;gt; check_defrag.exe C:&lt;br /&gt;
&lt;br /&gt;
It will run without any error –&lt;br /&gt;
&lt;br /&gt;
We need to restart the services of NSClient++ after defrag completes without fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let go back to Nagios machine and run the command.&lt;br /&gt;
&lt;br /&gt;
$ /usr/local/libexec/nagios/check-nrpe3 -H dc1.wise.apoyar -n -t 7200 -c check_defrag -a c:&lt;br /&gt;
&lt;br /&gt;
(Now we can see the services run for defragmentation)&lt;br /&gt;
&lt;br /&gt;
Now we go to nagios&lt;br /&gt;
&lt;br /&gt;
WG DC2 &amp;gt; Defragmentation &amp;gt; Reschedule the next check (Manually) &amp;gt; it will take some time and the issue get resolved.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>