Tuesday, November 5, 2019

Running the utilities directly from the web

Running the utilities directly from the web

Sysinternals Live is a service that enables you to execute Sysinternals utilities directly from the Web without first having to hunt for, download, and extract them. Another advantage of Sysinternals Live is that it guarantees you run the latest versions of the utilities.
To run a utility using Sysinternals Live from Internet Explorer, type http://live.sysinternals.com/utilityname.exe in the address bar (for example, http://live.sysinternals.com/procmon.exe). Alternatively, you can specify the Sysinternals Live path in UNC as \\live.sysinternals.com\tools\utilityname.exe. (Note the addition of the “tools” subdirectory, which is not required when you specify a utility’s URL.) For example, you can run the latest version of Process Monitor by running \\live.sysinternals.com\tools\procmon.exe.


The UNC syntax for launching utilities using Sysinternals Live requires that the WebClient service be running. In newer versions of Windows, the service might not be configured to start automatically. Starting the service directly (for example, by running net start webclient) requires administrative rights. You can start the service indirectly without administrative rights by running net use \\live.sysinternals.com from a command prompt or by browsing to \\live.sysinternals.com with Windows Explorer.

You can also map a drive letter to \\live.sysinternals.com\tools or open the directory as a remote share in Windows Explorer, as shown in Figure 1-6. Similarly, you can view the entire Sysinternals Live directory in a browser at http://live.sysinternals.com.
Image
FIGURE 1-6 Sysinternals Live displayed in Windows Explorer.

Monday, November 4, 2019

Windows Defender

Windows Defender
Windows Server 2016 includes Windows Defender, the Microsoft anti-malware solution. Windows Defender is enabled by default when you deploy Windows Server 2016. To disable Windows Defender, you must remove it, either by using the Add Roles And Features Wizard, or by using the following Uninstall-WindowsFeature command:


Uninstall-WindowsFeature -Name Windows-Server-Antimalware

You can use the following PowerShell cmdlets to manage Windows Defender on computers running the GUI, or the Server Core version of Windows Server 2016:

• Add-MpPreference. Modifies Windows Defender settings.

• Get-MpComputerStatus. View the status of antimalware software on the server.

• Get-MpPreference. View the Windows Defender preferences for scans and updates.

• Get-MpThreat. View the history of malware detected on the computer.

• Get-MpThreatCatalog. Get known threats from the definitions catalog. You can use this list to determine if a specific threat is known to Windows Defender.

• Get-MpThreatDetection. Lists active and past threats that Windows Defender has detected on the computer.

• Remove-MpPreference. Removes an exclusion or default action.

• Remove-MPThreat. Removes an active threat from the computer.

• Set-MpPreference. Allows you to configure scan and update preferences.

• Start-MpScan. Starts an anti-malware scan on a server.

• Start-MpWDOScan. Triggers a Windows Defender offline scan.

• Update-MpSignature. Triggers an update for antimalware definitions.

Installing Docker


Docker is needed to work with Windows containers. The Docker installer for Windows is now available in an online package repository. It can be found and installed using the Docker provider of the package management (a.k.a. OneGet) PowerShell module. The provider needs to be installed before we start using it.

The following PowerShell cmdlets can be used to install the provider.

Open a remote PowerShell session on Nano Server. This assumes that you have already completed the steps described earlier:
$Session | Enter-PSSession
Run the following command within the remote PowerShell session to install the Docker provider PowerShell module to the Nano machine:
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Run the following command within the remote PowerShell session to install the latest version of Docker using the OneGet to Nano machine:
Install-Package -Name docker -ProviderName DockerMsftProvider
When the installation is completed, reboot the Nano Server machine.
Restart-Computer -Force

TCP Chimney Offload



Sunday, November 3, 2019

Microsoft announced a pilot program to provide access to rural areas

Microsoft's pilot program to provide broadband Internet access to rural areas uses which of the following technologies?

Group of answer choices
drones
satellites
unused, low-powered television channels
high altitude balloons

In 2017, Microsoft announced a pilot program to provide access to rural areas that lack broadband via unused, low-powered television channels, known as white spaces.  However, the project faces opposition from television broadcasters, who have a concern that using unused airwaves may interfere with broadcasts on nearby channels, as well the costs of developing devices compatible with the technology (Tam, 2017; Kang, 2017).

Laudon, Kenneth C.. E-Commerce 2018 (p. 153).

what is docker run -it flag?



docker run -it ubuntu:xenial /bin/bash starts the container in the interactive mode (hence -it flag) that allows you to interact with /bin/bash of the container. That means now you will have bash session inside the container, so you can lsmkdir, or do any bash command inside the container.
The key here is the word "interactive". If you omit the flag, the container still executes /bin/bash but exits immediately. With the flag, the container executes /bin/bash then patiently waits for your input.

Docker volumes

Docker volumes
In the last section of this chapter, we will cover container storage or Docker volumes as they are referred to. We will take a look at data volumes and data volume containers, the differences between the two, and when to use which one. Lastly, we will also look at the best practices for Docker volumes. This is the data that we want to be persistent or shared between containers. We need to remember that, by default, when you exit a running container, the data isn't saved. When you start the container back up, it will start in its initial state, so Docker volumes become incredibly important in areas like databases or filesystems.

Another switch that we will be covering is the -v or --volume= switch. This switch allows you to provide a volume to the Docker container that you wish contained persistent data. Remember that, when you start a Docker container, the data inside doesn't remain persistent unless you save it (or commit in Docker terms). The volumes switch allows you to have persistent data inside your Docker container such that even if the container is stopped or deleted, the data remains intact. Let's take a look at the two ways we can provide persistent volumes to containers:

Data volumes
Data volume containers
Data volumes
The first volume storage we will look at is data volumes. Data volumes are mounted inside the container when you run the container. However, as stated before, the volume is not tied to the container in events when it stops, is killed, or is deleted. Let's see how we first mount a volume inside a container; then we can dive a little deeper:

$ docker run -it -v /tmp ubuntu /bin/bash
We are simply running an ubuntu container shelled into /bin/bash, so we can see the /tmp volume mounted. This will create a new volume inside the container at the specified path. Essentially, it overwrites or hides the folder inside the container if it does exist; and in our case, /tmp already exists, so any data the container might have had inside it is no longer there and /tmp will now be an empty folder or volume.

You can also use multiple -v volume switches on a single docker run line:

$ docker run -it -v /tmp -v /data ubuntu /bin/bash
It is nice to use the -it switch sometimes, so you can actually see how this works. In later times, you will want to be running your containers with the -d switch, so they are not running the foreground.

Now, you can also mount the directory from the local machine the Docker containers are running on into the Docker container. To do so, you can use the -v switch again, but you need to add :/<path> to the path:

$ docker run -it -v /tmp:/data ubuntu /bin/bash
This will mount the contents of /tmp (on the Docker host) to the /data directory inside the now running Docker container. If you were to look at the contents of /tmp on the Docker host and the contents of /data on the running Docker container, you will see that they match. Any changes you make inside the Docker containers /data folder will be reflected in the Docker host's /tmp folder.

By default, when you mount a directory from a Docker host to a Docker container, it will mount in the read/write mode. There is a way you can mount it in the read-only mode as well. Again, using the -v switch, we will just append :ro to our volume instruction:

$ docker run -it -v /tmp:/data:ro ubuntu /bin/bash
You can locate one or several volumes on a Docker container by using the docker inspect container:

$ docker inspect <CONTAINER_ID>
The line(s) you will be looking for will resemble the following:

    "Volumes": {
        "/tmp": "/mnt/sda1/var/lib/docker/volumes/5c4e1bff167ea1479dd9f33f74aeaf5d7f9f4d252d096e95e87befdb9be23ea0/_data"
Remember, you can get the container ID by running:

$ docker ps
The preceding output shows how the docker inspect command actually works. It is mounting /tmp inside the container; but where does the data actually live? The data actually lives in the machine your container runs on in the path specified. If you were to populate data inside the container in the /tmp folder and then navigate from the machine running the Docker container to the /mnt/sda1/var/lib/docker/volumes/5c4e1bff167ea1479dd9f33f74aeaf5d7f9f4d252d096e95e87befdb9be23ea0/_data directory, the data would be there. Now, we will go into the details of how to manage data and move it around between Docker hosts in the next chapter.

On a side note, you can also use the VOLUME instruction inside the Dockerfile to specify volumes for a container. It would look similar to this:

FROM ubuntu:latest
MAINTAINER Scott P. Gallagher <someone@email.com>
VOLUME ["/datastore"]
You can also use the -v flag to mount a single file into a container. So, the discussion isn't just about directories, it's about files as well. Now, we have seen how we can use Volumes to create persistent data that is stored inside containers; but what other options do we have with regards to using Volumes? We can use data volume containers too.

Data volume containers
Data volume containers come in handy when you have data that you want to share between containers. There is another flag we can utilize on the docker run command. Let's take a look at the --volumes-from switch.

What we will be doing is using the -v switch on one of our Docker containers. Then, our other containers will be using the --volumes-from switch to mount the data to the containers that they run.

First step, let's fire up a container that has a data volume we can add to other containers.

For this example, we will be using the busybox image since it's very small in size. We are also going to use the --name switch to give the container a name that can be used later:

$ docker run -it -v /data --name datavolume busybox /bin/sh
We are going to create a volume and mount it in /data inside our container. We have also named our container datavolume so that we can leverage in our --volumes-from switch. While we're still inside the shell, let's add some data to the /data directory. So, when we mount it on the other systems, we know it's the right one:

$ touch /data/correctvolume
This will create the correctvolume file inside the /data directory in the busybox container we are running.

Now, we need to connect some containers to this /data directory in the container. This is where the name we gave it will come in handy:

$ docker run -it --volumes-from datavolume busybox /bin/sh
If we now perform ls /data, we should see the correctvolume file that we created earlier.

Tip
Something to note here is that when you use the --volumes-from switch, the directory will be mounted in the same place on both the containers. You can also specify multiple --volumes-from switches on a single command line.

There will come a time when you run into the following error:

$ docker run -it -v /data --name datavolume busybox /bin/bash
Error response from daemon: Conflict. The name "data" is already in use by container 82af96592008. You have to delete (or rename) that container to be able to reuse that name.
You can remove the volume if you want, but USE IT CAUTIOUSLY, as once you remove the volume, the data inside that volume will go away with it:

$ docker rm -v data
You can also use this to clean up the volumes that you no longer want on the system. But again, use extreme caution as stated before that once a volume is gone, the data will go with it.

Docker volume backups
It is important to remember that while your containers are immutable, the data inside your volumes is mutable. It changes, while the items inside your Docker containers do not. For this reason, you need to make sure that you are backing up your volumes in some manner.

Volumes are stored on the system at /var/lib/docker/volumes/.

The key to remember here is that the volumes are not named the way you named them in this directory. They are given unique hash values, so understanding what content is in them can be confusing if you are just looking at their name. If you are looking at managing volumes at this point, I would highly recommend this image from the Docker Hub: https://hub.docker.com/r/cpuguy83/docker-volumes/.

This container (once built) will allow you to list volumes as well as export them into a tarred up file.

Sunday, October 20, 2019

local area networks and client/server computing

Which business application is associated with the technological development of local area networks and client/server computing?


desktop automation (e.g., word processing)

industrial system automation (e.g., supply chain management)

transaction automation (e.g., payroll)

workgroup automation (e.g., document sharing)


MAJOR TRENDS IN E-COMMERCE 2017–2018 BUSINESS

 Retail e-commerce in the United States continues double-digit growth (over 15%), with global growth rates even higher in Europe and emerging markets such as China, India, and Brazil.  • Mobile e-commerce (both retail and travel sales) explodes and is estimated to reach almost $230 billion in the  United States in 2017.  • The mobile app ecosystem continues to grow, with around 200 million Americans using smartphone apps and  135 million using tablet computer apps in 2017.  • Social e-commerce, based on social networks and supported by advertising, emerges and continues to grow,  generating over $15 billion in revenue in the United States in 2016.  • Local e-commerce, the third dimension of the mobile, social, local e-commerce wave, also is growing in the United  States, fueled by an explosion of interest in on-demand services such as Uber, to around $80 billion in 2017.  • B2B e-commerce revenues in the United States are expected to reach $6.3 trillion.  • On-demand service firms like Uber and Airbnb attract billions in capital, garner multi-billion dollar valuations, and show explosive growth.

Laudon, Kenneth C.. E-Commerce 2018 (p. 15)

E-commerce and E-business


Monday, September 9, 2019

What is a Executive Summary - basic elements





Another document that entrepreneurs should arm themselves with is the executive summary. This is a one- to three-page summary of the key elements of your business that uses a paragraph to summarize each section of a traditional business plan. It should be an easy-to-consume document that is focused on being reasonable rather than right. The purpose, beyond describing the overview of the business, is to show readers that the founders are knowledgeable, informed, and rational in their choices.
Executive Summary
Teams should write this Section last.
The executive summary can be up to 350 words. The executive summary should act as a strong opening
statement to your business plan and should be able to stand alone as a document independent of the
rest of the plan.  You should attempt to intrigue your audience to learn more about your business with
this section.
Explain the basic elements of the proposed business. Below are some things you may want to include
(but are not limited to):  
A. Company Overview:
a. What does the company do?
b. Who are your target customers?
B. Product(s)
a. What does your product do?
b. How is it differentiated?
c. Include information on ownership of the technology
C. Competitive Analysis: What is the current competitive landscape?
D. Business Strategy / Model:
a. How are you going to make money?
b. What are the benefits for payers? Venture capitalists? Etc.
c. Who is going to give you money so that you can achieve your strategy?
E. R&D Path and Major Milestones
a. R&D, Regulatory, Commercialization
b. Exit plan
F. Operations:
a. Marketing, and Sales
b. Manufacturing
c. Other
G. Management
H. Financial Summary
a. Include your projected positive cash flow vs. your burn rate
b. Include the financial value proposition to prospective investors and payers

The Nexus of Policy and Technology: An Expert Report on Allegations of Political Bias in Gmail's Spam Filtering

  Executive Summary: The Nexus of Policy and Technology The Federal Trade Commission (FTC) has initiated a new wave of regulatory scrutiny a...