Categories
Mastering Development System & Network

Do I need a VNet?

My deployed application isn’t very complicated and it doesn’t require a dedicated Azure VM. Fundamentally it’s an Azure App Service (with deployment slots), and it requires an Azure SQL database, and it stores some stuff in Azure Blob Storage, and it needs an Azure Key Vault, and I want to add a couple of Azure […]

Categories
Mastering Development System & Network

VMware with 2 NICs forwarding

I have two computers in a VMware lab environment GW1 and SVR1 (so far) I want to set up a computer (GW1) with 2 NICs that functions as a gateway. One NIC is auto-bridged (as it says auto let’s say IP X.Y.97.100/24 gateway X.Y.97.1) to my network, and the other is a Host-only (10.0.0.1, 255.0.0.0 […]

Categories
Mastering Development System & Network

Can OpenSMTPD whitelist a certain email address BEFORE filtering on RDNS?

I am running OpenSMTPD and it is working well. Near the top of my config, I have these two rules: filter check_rdns phase connect match !rdns \ disconnect "550 no rDNS" filter check_fcrdns phase connect match !fcrdns \ disconnect "550 no FCrDNS" … and this is just fine – I like disallowing hosts with no […]

Categories
Mastering Development System & Network

Can OpenSMTPD whitelist a certain email address BEFORE filtering on RDNS?

I am running OpenSMTPD and it is working well. Near the top of my config, I have these two rules: filter check_rdns phase connect match !rdns \ disconnect "550 no rDNS" filter check_fcrdns phase connect match !fcrdns \ disconnect "550 no FCrDNS" … and this is just fine – I like disallowing hosts with no […]

Categories
Mastering Development System & Network

Can’t create WVD Resource Pool

I’m trying to get Windows Virtual Desktop set up, and when it’s going through the steps of provisioning my resource pools i get this error: {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension ‘joindomain’. Error message: \"Exception(s) […]

Categories
Mastering Development System & Network

Mysql database restore from rescue mode server

I am seeking for the answer for the problem. Hope expert can guide me. The problem is i have one server which is in rescue mode, and limited run the command even the mysqldump. I tried to restore the client database to new server by manually upload and created database but the sql database in […]

Categories
Mastering Development System & Network

IIS Website Showing IP When Entered

I have created a website with IIS and Joomla as my CMS. I run this website on a Proliant DL360 G7 rack server running Windows server 2012 R2. I also have a Domain, www.example.com (not the actual domain obviously) registered with godaddy. I have done everything normally needed for a website. I have forwarded ports […]

Categories
Mastering Development System & Network

type -p java does not work in a init.d script

I am trying to modify /etc/init.d/jenkins script, in order to add my custom java path. My solutions is this: JAVAPATH=$(type -p java) PATH=/bin:/usr/bin:/sbin:/usr/sbin:$JAVAPATH However, when I start the service and look into the logs, I see JAVAPATH variable is empty. On the other hand, if I write, for instance: PYPATH=$(type -p python) PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PYPATH Then PATH […]

Categories
Mastering Development System & Network

Preventing a Large Number of Failed Login Attempts from FAKE SPOOFED IPs?

My system log file (/var/log/auth.log) is showing hundreds and hundreds of different IP’s trying to log into my system. How can I prevent all these attacks? It looks like all the IP addresses are fake ("pin" or "traceroute") always shows hundreds of different IP address in the auth.log file?? I really need help with this! […]

Categories
Mastering Development System & Network

cannot download repodata/repomd.xml

I’m training for my RHCE 8 EXAM, and I have to: Create a playbook with the name setupreposerver.yaml to set up the control host as a repository host. Make sure this host meets the following requirements, which must be done by the playbook: a. The RHEL 8 installation ISO is loop-mounted on the directory /var/ftp/repo. […]