A little something about everything

internet marketing and website development made simple..

cannot find valid baseurl for repo base/7/x86_64

mirrorlist.centos.org is no longer active.

Use

vi /etc/yum.repos.d/CentOS-Base.repo

to update your repos as follows:

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates 
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7


Now updates and installs should work normally again.

How to remove Microsoft Copilot from Windows

You can simply update the following registry entries then restart windows explorer to remove copilot from windows.


Manually using the following:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsCopilot]
"TurnOffWindowsCopilot"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot]
"TurnOffWindowsCopilot"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"HubsSidebarEnabled"=dword:00000000

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001

After updating your registry you can simply open task manager and right click on "Windows Explorer" then select restart. Now copilot will be gone.

Solution for LOAD DATA INFILE errors on Windows with IIS

Several items that are likely setup incorrectly by default.

First verify you are using the latest thread safe version of php.

in your pnp.ini, verify you have enabled INFILE by uncommenting this line:

mysqli.allow_local_infile = On

(come back to this after everything is running correctly, as it's easier to check without path errors first) For heightened security you can also specify the file you want to allow LOAD DATA INFILE access to, uncomment the next line as well and specify the correct directory.

mysqli.local_infile_directory = "Drive:\path\tmp\assets"

Next verify you have enable INFILE access in your my.ini. You can specify a path or leave it blank to allow all.

secure-file-priv=""

Last step!
This is what most matomo on windows users get stuck on. By default, your website is usually running in an IIS AppPool permission setup like it should be. However MySQL runs under NETWORK SERVICE by default. In this case you need to add permissions for NETWORK SERVICE to your  \assets directory like this:

and give it read/write permissions like this:

Once this is done your System Check should be all good assuming you have no other issues to deal with.