This blog contains the technical articles on different technologies along with architectural models
Chocolatey Package Manager
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
-
Chocolatey is a command-line package manager for Windows operating system based on the NuGet package manager. Chocolatey manages its own package feed; however, you can set up your own local repository for the enterprise environment to control the package's source for installation. If you are familiar with Linux or macOS environments, the Chocolatey is similar to Apt and Homebrew, respectively
Prerequisites
Windows 10 + / Windows Server 2012+
PowerShell 5.1 +
Installing Chocolatey on Windows
You can install Chocolatey by either using the PowerShell script method or downloading the offline installer. Follow the steps below to download and install Chocolatey using the online method:
Open PowerShell in Administrator Mode by right-clicking on the application and choosing Run as Administrator:
You need to update the script execution policy on your device before installing any package. Run the following command in the PowerShell terminal to allow script execution for the system:
Type Y when prompted for confirmation and allow the changes:
The output of the command will look like this:
Verify the installation using the following command while in the same terminal session:
Like most other PowerShell commands and tools, Chocolatey also comes with an inbuilt search and help command to make it easier to find the packages and get help for associated commands.
You can search for packages using the list, search, or info command. All these commands are an alias for each other and display similar results. The result for a package winrar looks like this:
Another useful command to know while using Chocolatey is the info command. Unlike the search command, this command gives out detailed information about the package and lists install instructions and any accepted parameters for the installation of the package. Below is an example of the Winrar package:
Another common argument that you might often use when identifying any command's possible commands and arguments are the help argument. The --help, /? or -? can be used to get assistance with almost any command.
Installing Chocolatey Packages
Once you have done enough research on the package you want to install, the next step is to download and install the package. The command used to install the chocolatey package is choco installfollowed by the name of the package of choice. The install command first downloads the package from the remote repository and then installs it on the operating system as part of one command.
The output of the command choco install Winrar will look like this:
Run the following command and see the results in action:
Microsoft Office365 EWS servers have been extended to support authorization via the industry-standard OAuth 2.0 protocol. Using OAUTH protocol, user can do authentication by Microsoft Web OAuth instead of inputting user and password directly in application Microsoft / Office 365 OAuth + EWS We can use the OAuth authentication service provided by Azure Active Directory to enable our application to connect with IMAP, POP or SMTP protocols to access Exchange Online in Office 365. To use OAuth with our application we need to register application on Azure Active directory and other steps also we need to do to get the access token back. Below are the steps To use Microsoft/Office365 OAUTH in your application, you must create an application in https://portal.azure.com . Sign into the Azure portal using either a work or school account or a personal Microsoft account. If your account gives you access to more than one tenant, select your account in the top right corn
I think most IIS administrators know IISRESET command, and why they use it. One of possible reasons can be to restart IIS services to initialize web applications, or to apply some changes of applications & IIS settings .There’re just a few conditions those need your IISRESET command. In most situations, you don’t need this. I have a concern if you always run this command for applying any changes, or release system resource – memory – regularly, or frequently. Because it’s much more cost than what you really need to take – there’re side effects Recycling App Pool’ has been introduced from IIS6 in Windows2003. It’s designed to restart only application pools(=worker processes). It can be done in a command prompt(run ‘IISAPP /?’ in a command prompt for details), as well as in the IIS manager What IISRESET does? When you run IISRESET, many things will happen. In order to understand them, I think I need to show you how IIS looks like – about IIS core components. The below shows you role
What is Docker? Docker is a containerization platform, meaning that it enables you to package your applications into images and run them as “containers” on any platform that can run Docker. It negates the classic: “It works on my computer” argument as Docker images contain everything needed for the app to run. Are Containers the same as Virtual Machines? They are similar, but not the same. In short: Virtual Machines provide OS Level Virtualization Containers provide App Level Virtualization This concept is depicted below: Why Would You Use it? In short you would use Docker, (and hence containers), for the following reasons: Portability. As containers are self- contained they can run on any platform that runs Docker, making them easy to stand up and run on a wide variety of platforms. Scalability. With the use of additional “orchestration” you can spin up multiple container instances to support increased load. Performance. Containers generally perform better than their VM counterp
Comments
Post a Comment