Install WordPress on Centos Web Panel

Under a user account on CWP, Create MySQL Database from CWP under SQL Services --> MySQL Manager --> Create Database and User Download the wordpress files from https://wordpress.org/download/and extract the file to your computer. Then FTP them to public_html on the server using the users login details Go to the domain you have for the user and it will prompt to setup wordpress, and enter the details for the SQL database you created Database - full file path from mysql_manager user - all up to [localhost] Password - the password you created for the Database user Server - localhost...
Read More

Found my Site mentioned it was Not secure

I noticed that this site homepage did not say secure instead it had the info icon. I looked into it and found a plugin was causing this. I used whynopadlock.com and it told me Soft Failure A file with an insecure url of "http://placehold.it/45x45/f0f0f0/ccc" was loaded on line: 152 of https://pyrolaptop.co.uk/. This URL will need to be updated to use a secure URL for your padlock to return. I looked at the sause of the page view-source:https://pyrolaptop.co.uk/ and it was under a plugin I used Recent Posts Widget Extended...
Read More

Export list of Mac addresses used by Hyper-V VMs

Run Powershell as admin Get-vm | Get-VMNetworkAdapter | select-object VMname, Macaddress, Name | Export-Csv -Delimiter ";" -Path C:\vmmacs.csv VMName = name of the virtual machine Macaddress = Mac of the VM being used Name = The type of network adapter being used such as Network Adapter and Legacy Network Adapter Delimiter is ; which is how they are spaced out so that you can convert from text to collumn. Open the file in Excel, select the column, then click on Data tab then text to columns, select delimited and click on next and then ensure only semicolon is ticked, and then click finish   ...
Read More

Jenkins service does not start error 1067

When starting the service it returned the error: "Windows could not start the Jenkins service on Local Computer. Error 1067: The process terminated unexpectedly" I found the cause was the jenkins.war file was no longer in the Jenkins directory, luckily in the folder there is jenkins.war.bak I copied it and renamed it to jenkins.war and Jenkins was able to load correctly....
Read More

Hide Hyper V Floppy Disk Drive via group policy

On Any Hyper-V virtual machine it adds the Floppy disk drive, and there is not an option to remove the drive from the settings window of the VM   The Way to remove this drive is by changing a value in the registry of the virtual machine that is running windows. However as I join my VMs to a domain I can utilise group policy to apply this change I created a new group policy called "Remove Hyper V Floppy disk drive" I went into Computer configuration > preferences > windows Settings > Registry From there I right clicked on registry and selected new > Registry item And set the following values: Action: Update Hive: HKey_Local_Machine Key Path: SYSTEM\CurrentControlSet\Services\flpydisk Value name: Start Value Type: REG_DWORD Value: 4 Base: Decimal Then I clicked Apply and OK   I applied it to the root of the domain so that it would apply to all devices on the domain...
Read More

Ports RD Gateway uses

Encapsulates RDP in HTTPS packets listens on port 443 (for TCP) and port 3391 (for UDP)   Ports can be changed via RD Gateway Manager utility Right-click the RD Gateway server name in the navigation pane and select Properties. Select the Transport Settings tab. Modify the HTTP and/or UDP port number. Add firewall exceptions for TCP and UDP for the custom port   When you connect from a client, you need to add the custom port to the end of the gateway server name, preceded by a colon (:)...
Read More