How to install the Windows 10 2004 update if it’s blocked by a PC settings issue

how-to-install-the-windows-10-2004-update-if-it’s-blocked-by-a-pc-settings-issue

The May 2020 Update for Windows 10 may resist installation but Microsoft offers a few workaround steps.

windows-10-update-ahead.jpg

Image: ZDNet

Trying to install the latest biannual update to Windows 10 is an experience often fraught with challenges and frustrations. You typically have to wait until the update is ready and approved as compatible with your machine. Even then, you may bump into certain obstacles during the update process. And that apparently is what’s happening to a host of people trying to snag the latest Windows 10 Update.

SEE: Windows 10 Start menu hacks (TechRepublic Premium)

As described in a Tuesday story from ZDNet, the Windows 2004 update is failing for a range of users because of some type of error regarding PC settings. The update presents itself through Windows Update, usually a sign that the PC is compatible and ready for the new version. The user is able to click the Download and Install button. The installation even kicks off without a glitch.

But then at around the 30% point, the install stops and displays a screen with the following message: “This PC can’t be upgraded to Windows 10. Your PC settings aren’t supported yet on this version of Windows 10. Microsoft is working to support your settings soon. No action is needed. Windows Update will offer this version of Windows 10 automatically when these settings are supported.”

Tech journalist and Microsoft watcher Paul Thurrott tweeted about this issue popping up on one of his computers. A user commenting on Reddit ran into the same error when trying to update a Home edition of Windows 10 version 2004 to the Pro edition. Plus, tech news site Techdows pointed to a conversation thread on Microsoft TechNet among people describing the same glitch.

For anyone who’s striving to install Windows 10 2004 and is running into this problem, there are a few steps you can try, courtesy of Microsoft.

Update hardware drivers. At a thread about this issue at Microsoft’s Q&A page, a Microsoft employee with the name of JennyFeng-MSFT advises users to first update their hardware drivers. You can do this by browsing to the website of your PC vendor, checking the model or serial number of your computer, and then running a manual search or automatic scan for the latest drivers. You want to make sure to update your display drivers as those appear to be the focus of the incompatibility.

Disable Core Isolation. The next step suggested by both JennyFeng-MSFT and a Microsoft support page published on May 27 is to temporarily disable Core Isolation, a feature that tries to protect against malware by isolating certain parts of the operating system. To do this, go to Settings and then Update & Security. Select Windows Security and click the Open Windows Security button. Click the setting for Device security and then the link for Core isolation details. Turn off the switch for Memory integrity if it’s turned on. Then restart your computer.

Check for known issues. Next, JennyFeng-MSFT advises people who still have trouble updating to check the page listing known issues and notifications for Windows 10 2004. However, at this point, this page doesn’t mention any issues relevant to the current update glitch.

However, the Microsoft support page offers a clue to the problem, stating that an incompatibility was found with certain display drivers and Windows 10 version 2004 when memory integrity protection is enabled. Another Microsoft support page, this one from March 5, also suggests that users should try updating their drivers first before disabling Core Isolation.

Microsoft has a less than stellar track record with its biannual Windows 10 updates. Past updates seemed to be rushed to Windows users without being fully tested or vetted. The company even had to pause the rollout of its Windows 10 October 2018 update after it led to data loss on many PCs. Since that debacle, Microsoft has promised to be more cautious with these updates, one reason it staggers the deployment and doesn’t present the update unless a machine is considered compatible.

But the latest issue shows that glitches can occur even during the installation process after a PC has supposedly been OK’d for the update. And even if the update is successfully installed, certain bugs and problems can appear as Microsoft continues to troubleshoot and improve the update. All of this is why unless you’re installing the Windows 10 2004 update for testing purposes on a non-production machine, you’re best off waiting until Microsoft irons out more of its kinks.

Microsoft Weekly Newsletter

Be your company’s Microsoft insider by reading these Windows and Office tips, tricks, and cheat sheets.
Delivered Mondays and Wednesdays



Sign up today

Also see

How to install the Go language on Linux

how-to-install-the-go-language-on-linux

About

How to install the Go language on Linux

Length: 2: 30 |
Jul 7, 2020

Go is the go-to language for distributed and highly scalable servers. If you’re looking to start working with this language on Linux, Jack Wallen has you covered.

Share



Contact

How to install the Go language on Linux

how-to-install-the-go-language-on-linux

Go is the go-to language for distributed and highly scalable servers. If you’re looking to start working with this language on Linux, Jack Wallen has you covered.

Go is one programming language that’s on the rise. In fact, according to Popularity of Programming Languages, Go is at No. 14 and steadily climbing up the ranks. Go is used specifically for distributed systems and highly-scalable network servers and has replaced C++ and Java in Google’s software stack. 

Chances are, you’ll be using Go sometime soon. For those who develop on Linux, you can’t just install it from the standard repositories. So how do you install this popular programming language on the open source operating system? Fear not, I’m going to show you. 

SEE: Telephone interview cheat sheet: Software developer (TechRepublic Premium)

How to install Go on Linux

This can be done on most all Linux distributions, so log in to your favorite Linux development machine and open a terminal window. 

From that terminal window download the Go binary files with the command: 

curl -O https://storage.googleapis.com/golang/go1.13.5.linux-amd64.tar.gz

Once that file download completes, unpack it with the command:

tar -xvf go*.tar.gz

Next, move the newly-created go folder with the command:

 sudo mv go /usr/local

We now have to add the go folder to our user PATH. Issue the command:

nano ~/.profile

Scroll to the bottom of that file and add the lines:

export GOPATH=$HOME/work and export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

Save and close that file. Refresh your profile with the command: 

source ~/.profile

You can now check to make sure the go folder is in your usr PATH with the command go version. You should see the version number of the installed Go language printed out. 

And that’s all there is to installing the Go language on Linux. You are now ready to start developing with this popular language. Happy coding!

http://www.techrepublic.com/

Developer Essentials Newsletter

From the hottest programming languages to the jobs with the highest salaries, get the developer news and tips you need to know.
Weekly



Sign up today

Also see

Getty Images/iStockphoto

How to install Lens and connect it to your Kubernetes cluster

how-to-install-lens-and-connect-it-to-your-kubernetes-cluster

If you’ve been searching for a solid GUI to help you manage your Kubernetes clusters, look no farther than Lens. Learn how to get started with this best-in-show GUI.

Image: iStockphoto/123dartist

Are you tired of trying to cobble together a UI to help manage your Kubernetes clusters? Although there are some decent GUI tools available, many of them are as much a struggle to get up and running as is the Kubernetes cluster itself. Other UIs require you to piece together numerous parts to gain any meaningful features.

That’s why Miska Kaipiainen, set out to bring the once-defunct Kontena Lens back into being. And he’s succeeded. Lens might well be one of the most user-friendly means of managing your Kubernetes clusters on the market. Lens features:

  • User-friendly UI/UX

  • Multi-cluster management

  • Standalone application

  • Real-time information

  • Resource utilization charts and trends

  • Terminal access to nodes and containers

  • Performance optimized for massive clusters

  • Kubernetes RBAC support

I want to walk you through the installation of Lens and show you how to connect it to your Kubernetes cluster. I’ll be demonstrating with macOS, connecting it to a cluster deployed via Docker Desktop. This is more of a developer setup, but it will illustrate how the connection between Lens and cluster is made.

Lens is available for installation on Linux, macOS, and Windows. The machine you install Lens on will need to have access to your cluster, so choose that machine wisely.

SEE: Kubernetes security guide (free PDF) (TechRepublic)

How to install Lens on macOS

Installing Lens on macOS is quite simple. Download the latest .dmg file from the Lens Github page. Once the file has downloaded, double-click on the .dmg file and then on the Lens icon. This will open the installer, where you drag the Lens icon into the Applications folder (Figure A).

Figure A

Installing Lens on macOS.

How to connect Lens to your Kubernetes cluster

Lens actually makes the connection to a cluster incredibly simple–especially if you’re using the tool on the machine hosting your Kubernetes cluster (or controller). Once installed, open Lens and click the Add Clusters button in the main window (Figure B).

Figure B

The Lens main window makes it easy to add a new cluster.

Lens connects to Kubernetes clusters by way of the kubconfig file. Where this is located will depend on the platform you are using. However, Lens is really good at auto-detecting your kubeconfig file. When you click the drop-down, you should see the config file listed (Figure C).

Figure C

My docker-for-desktop kubeconfig automatically shows up in the list.

Select the kubeconfig file in question and then click Add Cluster (Figure D).

Figure D

Adding the new cluster to Lens.

If your kubeconfig doesn’t show up, you’ll need to select Custom and then, in the resulting window, either write or paste the config file in question (Figure E).

Figure E

Adding a custom kubeconfig file to Lens.

Once you click Add Cluster, your cluster should appear in the left navigation. Click the entry to reveal all of the information and management tools available to your cluster (Figure F).

Figure F

Lens has successfully connected to your Kubernetes cluster and is ready to help you manage.

And that’s all there is to installing Lens and connecting it to your Kubernetes cluster. Give this outstanding tool a go and see if it doesn’t help make managing your data center Kubernetes clusters significantly easier.

http://www.techrepublic.com/

Data Center Trends Newsletter

DevOps, virtualization, the hybrid cloud, storage, and operational efficiency are just some of the data center topics we’ll highlight.
Delivered Mondays and Wednesdays



Sign up today

Also see

How to install Nextcloud 19 on Ubuntu Server 20.04

how-to-install-nextcloud-19-on-ubuntu-server-20.04

The latest iteration of Nextcloud is out and Jack Wallen walks you through installing this on-premises cloud platform on Ubuntu Server 20.04.

Image: Jack Wallen

With more and more people having to work from home, there’s a growing need for cloud technology deployed on home local area networks (LANs) and, of course, on small to large business networks. For that, you need a platform that’s not only free to use, but easy to work with. That’s where Nextcloud comes into play.

The developers of Nextcloud continue to up the ante for on-premises cloud server technology. Already, this open source cloud option is one of the best on the market, but with the release of version 19, it gets even better. 

New features include:

  • Automatic logout (optional)

  • Password reuse limitations

  • Automatic account lock after X number of failed logins

  • Password expiration options

  • Ability to play video before download completes

  • SMB storage enhanced with better Access Control List support

  • Collabora Online ready to use out of the box

  • Edit office documents during video calls from within a chat room

  • FIDO2 compliant

  • FTP is up to 500% faster

  • File scan is 2.5x faster

Add all of those new features in with the usual bug fixes and performance enhancements, and Nextcloud 19 is a must have.

I want to walk you through the process of installing Nextcloud 19. This time, however, we’re going to install the software on Ubuntu Server 20.04.


SEE: Serverless computing: A guide for IT leaders (TechRepublic Premium)

What you’ll need

  • A running instance of Ubuntu 20.04

  • A user with sudo privileges

How to install the dependencies

The first thing we must do is take care of the necessary dependencies. If you don’t already have the LAMP stack up and running, log in to your Ubuntu 20.04 server and install Apache and MySQL with the command:

sudo apt-get install apache2 mysql-server -y

Once that installation completes, install the remaining dependencies with the command:

sudo apt-get install php zip libapache2-mod-php php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip php-mysql php-bcmath php-gmp -y

How to take care of the database

Next, we’ll take care of the MySQL database. Before we can create the new database, we must secure the installation with the command:

sudo mysql_secure_installation

Answer the questions and create a MySQL admin password.

Log in to the MySQL prompt with the command:

sudo mysql -u root -p

At the prompt, create the database with the command:

CREATE DATABASE nextcloud;

Now we’re going to create a new user and give that user the proper permissions with the following commands:

CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'PASSWORD';
GRANT ALL PRIVILEGES ON nextcloud.TO 'nextcloud'@'localhost';

Where PASSWORD is a strong, unique password.

Finish up the database with the following commands:

FLUSH PRIVILEGES;
exit

How to download and unpack Nextcloud

To download the latest version of Nextloud, change into the /tmp directory (with cd /tmp) and  issue the following command:

wget https://download.nextcloud.com/server/releases/nextcloud-19.0.0.zip

Once that download completes, unzip the file with the command:

unzip nextcloud-19.0.0.zip

Move the newly created directory into the Apache document root with the command:

sudo mv nextcloud /var/www/html/

Give the newly-moved directory the proper permissions with the command:

sudo chown -R www-data:www-data /var/www/html/nextcloud

How to configure Apache

It’s time to let Apache know about the Nextcloud instance. Create a new configuration file with the command:

sudo nano /etc/apache2/sites-available/nextcloud.conf

In that file, paste the following:

Alias /nextcloud "https://www.techrepublic.com/var/www/html/nextcloud/"

    Options +FollowSymlinks
    AllowOverride All
      
        Dav off
      
     
     SetEnv HOME /var/www/html/nextcloud
    SetEnv HTTP_HOME /var/www/html/nextcloud

Save and close the file. 

Enable the new site with the command:

sudo a2ensite nextcloud

Next, enable the necessary Apache modules with the command:

sudo a2enmod rewrite headers env dir mime

The php.ini file can be edited for Nextcloud with a single command:

sudo sed -i '/^memory_limit =/s/=.*/= 512M/' /etc/php/7.4/apache2/php.ini

Finally, restart Apache with the command:

sudo systemctl restart apache2

How to complete the installation

Open a browser on a machine connected to your LAN and point it to http://SERVER_IP/nextcloud (where SERVER_IP is the IP address of the server hosting Nextcloud). In the resulting window, fill out the necessary information for both the new admin user and the database (Figure A). 

Figure A

The Nextcloud web-based installer is simple and quick to use.

The database information will be:

  • User – nextcloud

  • Password – password associated with the new MySQL user created earlier.

  • Database – nextcloud

Leave everything else as is.

Once you’ve filled out the necessary information, click Finish Setup and, once the installation completes, you’ll find yourself on the Nextcloud main page, logged in as your newly-created admin user (Figure B).

Figure B

The Nextcloud 19 main window.

And that’s all there is to installing Nextcloud 19 on Ubuntu Server 20.04. You can now start customizing your cloud server to perfectly meet your needs.

http://www.techrepublic.com/

Open Source Weekly Newsletter

You don’t want to miss our tips, tutorials, and commentary on the Linux OS and open source applications.
Delivered Tuesdays



Sign up today

Also see

How to install the Strapi Node.js headless CMS

how-to-install-the-strapi-node.js-headless-cms

Looking to develop and consume your own custom APIs? Strapi might be the tool for you. Learn how to quickly spin up this developer-centric CMS tool.

Image: iStockphoto/DragonImages

Strapi is a cross between a content management system (CMS) and a Node.js framework. With this headless tool running in your data center, you’ll save weeks of API development time. Strapi offers only the basic functionalities for managing content and users, while allowing you to manage and share that content via REST or GraphQL. 

Features of Strapi include:

  • Fully open source

  • Get started with development in just a few minutes

  • GraphQL support built in

  • Easy API permission management

  • Easy handling of relations between data within the Strapi instance

  • Easily customizable

I’m going to walk you through a quick installation of the Strapi headless CMS tool. This method will allow you to create a project and then create content on a project-by-project basis. This will also allow you to quickly test Strapi to see if it’s the right tool for you. 

Once you’ve made that decision, you can then move on to the full-blown installation (which we’ll walk through at a later time). However, with this method, you will have a 100% functioning instance of Strapi that you can use to build your own custom APIs.

I’ll be demonstrating on Ubuntu Server 18.04, but you can install this system on any platform that supports Node.js and npm.

SEE: 10 things companies are keeping in their own data centers (TechRepublic download)

What you’ll need

  • A running instance of Ubuntu Server 18.04

  • A user with sudo privileges

How to install the dependencies

The first thing we have to do is take care of the dependencies. Strapi requires Node.js version 10 or newer, so the first thing we’ll do is take care of that. 

Log in to your Ubuntu server instance and install the initial dependencies by issuing the command:

sudo apt-get install build-essential apt-transport-https lsb-release ca-certificates curl -y

Once that completes, download and install Node.js version 12 with the command:

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

When the Node.js installation completes, install npm with the command:

sudo apt-get install npm -y

Next, we need to install yarn, which will be used to run the Strapi instance. To do that, first download and add the necessary apt key with the command:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

Add the yarn repository with the command:

echo "deb https://dl.yarnpkg.com/debian/ stable main"http://www.techrepublic.com/" sudo tee /etc/apt/sources.list.d/yarn.list

Finally, install yarn with the command:

sudo apt update && sudo apt install yarn

When that completes, you’re ready to spin up an instance of Strapi.

How to run an instance of Strapi

Back at the command line, you’ll start an instance of Strapi (while also creating a new project) with the command:

yarn create strapi-app PROJECT_NAME --quickstart

Where PROJECT_NAME is the name of the project you want to create.

This will take a bit of time (between two to five minutes). Once it completes, you’ll be presented with a screen displaying the address for which you can reach the server (Figure A).

Figure A

The Strapi instance is running.

Thing about this is, it’s going to attempt to open a browser from that command. Since we’ve installed this on a GUI-less server, that’s not going to happen. So instead of pointing a browser to http://localhost: 1337/admin, you’ll open a browser on another machine (one on your LAN) and point it to http://SERVER_IP: 1337 (where SERVER_IP is the IP address of the server hosting Strapi). Do not add the /admin portion of the URL, as that will give you an error.

You should see a welcome screen, asking you to create an administrator (Figure B).

Figure B

Welcome to Strapi and create your administrator.

Click Create The First Administrator. Fill out the necessary information and click Ready To Start (Figure C). 

Figure C

Creating the Strapi administrator.

You will then be greeted by the Strapi main window, where you can start building your first content (Figure D).

Figure D

The Strapi main window.

Congratulations, you have Strapi up and running, where you can build and consume content. Just remember, your Strapi instance is still running in the terminal window. If you close out that terminal window, your Strapi server will stop running. So, when you want to use Strapi to create a new project, you’ll issue the yarn command to create it. 

Note: Running Strapi in this manner requires you to keep Strapi up and running until you complete a project. You cannot start a project, close it out, and restart that same project. For that, Strapi needs to be installed as a stand-alone server, not spun up with yarn. 

Next time around, we’ll install a full instance of Strapi that doesn’t depend on yarn and uses MongoDB as it’s database.

http://www.techrepublic.com/

Data Center Trends Newsletter

DevOps, virtualization, the hybrid cloud, storage, and operational efficiency are just some of the data center topics we’ll highlight.
Delivered Mondays and Wednesdays



Sign up today

Also see