Backtrack:  
 
showing all posts
by on January 1st 1970, at 01:00

Starting from Debian 10 ("Buster"), phpMyAdmin no longer exists as a package in the Debian repository. Instead, it needs to be installed manually. I found this article online which seems to explain the process very well:

https://linuxhint.com/install_phpmyadmin_debian_10/

by on January 1st 1970, at 01:00
When deploying Cylance for the first time in a new environment, best practice is to have it run in "audit mode" where Cylance detects but does not act upon it. Of course, this would not be very secure if you don't have another anti-virus in place. Starting from Windows 10 and Server 2016, Windows Defender is automatically installed and active if no other anti-virus product is installed. However, installing Cylance the regular way would result in Windows detecting the presence of Cylance and disabling most of the functionality of Defender. Luckily, you can workaround the issue by having Cylance not register as an anti-virus with Windows Security Center during the installation (or af  ...
by on January 1st 1970, at 01:00

Occassionally, it may be necessary to perform disk consolidation. If you have a lot of VMs which need consolidation, it can be tedious to do this in the webclient. Fortunately, it's also possible to mass-consolidate via PowerCLI.

Install and log in using PowerCLI.

To show which VM's need consolidation, run:

Get-VM | ? {$_.Extensiondata.Runtime.ConsolidationNeeded}

To actually perform disk consolidation, run:

Get-VM | ? {$_.Extensiondata.Runtime.ConsolidationNeeded} | % {$_.ExtensionData.ConsolidateVMDisks_Task()}
by on January 1st 1970, at 01:00
With the release of Chrome (and Edge) version 92, a new feature called CECPQ2 was introduced, hardening the TLS 1.3 keychain against brute-force attacks from quantum computers. Unfortunately, this breaks many SSL scanning (IDS) implementations on security appliances (such as firewalls). A workaround is to either temporarily disable scanning or disable CECPQ2 in the browser through a group policy (or registry key).

To turn off CECPQ2 for Chromium, create the following registry keys:

Chrome:

HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome"CECPQ2Enabled"=dword:00000000

Edge:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge"CECPQ2Enabled"=dword:00000000

A browser   ...
by on January 1st 1970, at 01:00
A while back, Microsoft has introduced new security defaults in Windows 10 and Server 2019, disallowing unauthenticated guest access to shares. While this is a good security best practice, it can also break Samba implementations running on Linux. Older versions of Windows (and versions with this policy disabled) can still access the shares, but with the policy in effect, connections immediately fail.

While it would be possible to disable the policy, it's not a very good idea as it is a potential security flaw. A better solution is to fix it on your Linux Samba server, which can be easily done by completely disabling guest access and enforcing SMB3 and password encryption.

Add these lines t  ...
by on January 1st 1970, at 01:00
After migrating your on-premise Exchange mailboxes to Office 365 using Hybrid method, and subsequently decommissioning your on-premise Exchange, you may run into the issue where it is not possible to enable the in-place archive for a mailbox through the online Exchange Admin Portal or ECP. Attempting to do so will trigger an error.Microsoft has released some Powershell scripts to work around the issue. You can run the scripts to enable or disable the in-place archive for a certain mailbox. The script does not need any prerequisites other than the Powershell AD module and the user running the script must have the proper permissions as outlined on the downloads page.

https://docs.microsoft.co  ...
by on January 1st 1970, at 01:00
By default, VMware Tools are automatically updated when power-cycling a VM each time a new version is available. This may not be desirable, and currently, there is no way to change this behaviour anywhere in the settings. This setting can however by changed manually on a VM-basis, by manually editing the VM's configuration file (.vmx).

Although there's mention of a global setting in Fusion's configuration files, many users report this as not working, so I only mention the per-VM setting here.

First, make sure your VM is not running. Preferably, close VMware Fusion entirely (⌘ + Q).

Using Finder or Terminal, navigate to the VM folder. When using Finder, you'll need to right-click you  ...
by on January 1st 1970, at 01:00
In VMware, using VMFS-6 as the datastore filesystem introduces automatic storage reclamation. This process, also called "VMFS unmap" runs in the background (by default at low priority so it doesn't interfere with performance) to clear allocated unused storage space by sending "unmap" commands to the underlying storage so it can reclaim the blocks for other uses.

Sometimes it may become necessary to (temporarily) turn off (or on, if it's turned off already) storage reclamation on a datastore. You can do this through the WebClient but if you want to change this for a bunch of datastores, you can also do this via PowerCLI. While the latter is pretty complicated, William Lam  ...
by on January 1st 1970, at 01:00
When attempting to log onto a Data Domain's management webpage, sometimes you may run into the issue where you are not able to log on, and the following error appears, even though you have not upgraded the firmware or there's nothing wrong with installed SSL certificates.

Service Not Available
The GUI Service is temporarily unavailable. Please refresh your browser. If the problem persists, please contact DataDomain support for assistance.

While the webpage does not work, it is still possible to log on using CLI (through SSH).

If you have not upgraded DDOS, try restarting the web services by logging on through CLI and running the following commands in sequence:

adminaccess disable httpadm  ...
by on January 1st 1970, at 01:00

To successfully provision Snom phones using SRAPS, you'll need these access using these servers and protocols/ports.

  • To secure-provisioning.snom.com (52.28.89.237), open outbound port HTTP and HTTPS (TCP 80 and 443).
  • For XML-RPC API, also open outbound port 8080.
by on January 1st 1970, at 01:00
When attempting to join your vCenter appliance to AD, you may get the following error message when clicking the Join button:

Error
java.lang.reflect.InvocationTargetException

This is known behaviour when running vCenter with an external Platform Service Controller (in HA mode) but the issue may persist even after upgrading vCenter to a new version with the option to switch to an embedded PSC. You can work around the issue by performing the domain join from the CLI (through SSH):

Connect to the vCenter appliance through SSH (if it's still an external PSC, connect to that instead).

Unless shell access is already activated, use the shell command to enter the regular shell.

Run the followin  ...
by on January 1st 1970, at 01:00

If you need to perform packet captures on virtualized appliances, it can be useful to get a statically linked binary of "tcpdump" on hand, especially because tools such as a compiler or package repositories are not on hand on those appliances.

You can download the latest statically linked binary of "tcpdump" via Github:

https://github.com/yunchih/static-binaries/blob/master/tcpdump

by on January 1st 1970, at 01:00
It is possible to automatically bring up a network interface without any IP address configuration in Debian. This can be useful for e.g. traffic flow monitoring where the interface is subsequently placed in promiscuous mode by software such as tcpdump.

Like always, all network interface configuration is stored in the file /etc/network/interfaces. For the interface you want to bring up without an IP address, add these lines:

iface eth0 inet manualpre-up ifconfig $IFACE uppost-down ifconfig $IFACE down

If the interface is a VLAN interface, the up/down commands must be executed after/before the VLAN hooks, so it should then read:

iface eth0.2 inet manualpost-up ifconfig $IFACE uppre-down if  ...
by on January 1st 1970, at 01:00
Dell OS10 (used on PowerSwitch S-series) supports RDMA over Converged Ethernet (RoCE). The SmartFabric manual has some good examples on how to configure it but here's the summary.

A few remarks first: you can choose which queue to place traffic in. The manual states Q3 which is the required queue if you also use iSCSI (which is by default placed in Q4), but if you don't use iSCSI, you can opt to place the traffic in Q4 instead of Q3.

Also, when entering the commands, be sure to check whether you're in the proper context in CONFIG mode. I did not add the necessary "exit" commands so don't blindly copy/paste this.

First, enable DCB(X), which is required for RoCE (PFC and ETS):

dc  ...
by on January 1st 1970, at 01:00

Completely hiding Quick Access from the navigation tree in File Explorer can be achieved via the registry:

  1. In the registry, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
  2. Create a DWORD 32-bit value named HubMode and set its value to 1.

You may need to re-logon for the changes to take effect. You can also use group policies to apply this setting in a domain.

by on January 1st 1970, at 01:00

Here's the direct streaming link for Aardvark Blues FM. You can use this link in your favourite streaming app (VLC, Apple Music, etc.):

https://streaming.live365.com/b77280_128mp3

A while back, most of the references on streaming sites such as Icecast were removed, leaving only the webplayer available. As I found this not to be very handy, I started looking to find the original streaming link used in the webplayer.

by on January 1st 1970, at 01:00

Remote Desktop Manager Mac sometimes has issues with stale cache, especially after an update. Below is a simple one-liner/script I like to use for deleting all the cache files in a Remote Desktop Manager Mac installation.

#!/bin/bash
find "$HOME/Library/Application Support/com.devolutions.remotedesktopmanager" -iname "*.mcdf2" -type f -delete
by on January 1st 1970, at 01:00
A slow and unresponsive Steam app on Mac is a rather common issue. Symptoms are intermittent display freezing of the app, sluggish and delayed reaction to user input (i.e. clicking on items) and slow animations in the various screens. The issues may not appear straight away after starting Steam but may build up over time, causing Steam to run increasingly slower. However, the problems are only related to the Steam app, as games themselves run normally.

This is a known (but undocumented) issue with GPU acceleration, which luckily can be turned off rather easily:

With the Steam app active, in the main menu, click Steam → Preferences.

On the left, click Interface.

Look for Enable GPU a  ...
by on January 1st 1970, at 01:00

You can easily trigger SCSI UNMAP in Windows via PowerShell:

Optimize-Volume -DriveLetter C -ReTrim -Verbose
by on January 1st 1970, at 01:00

On a Windows Server with GUI, you can use the traditional method of setting the display resolution but as there's no Control Panel nor Settings app on Windows Server Core, the only way is through Powershell with the Set-DisplayResolution cmdlet.

Set-DisplayResolution -Width 1024 -Height 768

The cmdlet above sets the resolution to 1024x768. It will prompt you to accept the change, if you don't want that, append -Force parameter.

To get the current display resolution, you can use the Get-DisplayResolution cmdlet.

showing all posts
 
 
« April 2024»
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930    
 
Links
 
Quote
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett