Latest Posts
Sunday, May 30, 2021
For example if we define a date object like the following:
and we output the console.log(date.toString()) method without any extra code we would get the current date and time automatically
Saturday, May 29, 2021
Anyways here is how you add a dba to SQL Server 2014 on a Windows 8 machine.
1. Connect to your instance of SQL Server, then expand the "Logins" node
Friday, May 28, 2021
AdventureWorks Database Download
2. Click on the "Download" button on page
Thursday, May 27, 2021
First let's install all the packages that we need for SELinux with the following yum command
yum install policycoreutils policycoreutils-python selinux-policy selinux-policy-targeted libselinux-utils setroubleshoot-server setools setools-console mcstrans
Tuesday, May 25, 2021
SELECT *FROM ProductsWHERE SupplierID NOT IN (1,2)
The above example all the products will be retrieved except for products with SupplierID of 1 or 2, here are the results
SELECT *FROM ProductsWHERE SupplierID IN (1,2)
In the above example all the products with the SupplierID of 1 or 2 are retrieved.
Monday, May 24, 2021
When you are planning and configuring your server farm, one of the most common task will probably be changing your server names to fit your organization's naming convention. In this post we are going to change one of our Linux hostname with the hostnamectl command. Here are the steps to change your Linux hostname.
1. Open a terminal session on the host that you want to change the hostname, then type the command hostnamectl the hostname information will be displayed, as you can see the hostname is currently localhost.localdomain
2. Let's see we want to change the name of the server to dc.acmebanking.com because this is the server for our company ACME Banking Inc. and we want this server to be the domain controller hence the letters dc. to label it as the domain controller. Some people like to be creative and use movie characters or attractions as the server names. It's a matter of preference, but I like to look at a server name and know exactly what it's for. But it's really up to you.
3. Now what you want to do is type in the following command, to change the hostname
hostnamectl set-hostname 'dc.acmebanking.com'
4. Type hostnamectl again to verify that the hostname has been changed
Monday, January 20, 2020
The following steps is how you would create a Windows 2016 Server in the Azure Portal:
1. Log into Azure Portal, and mouse over "Virtual Machines", click on "Create"
Monday, January 13, 2020
The following is how you would create a "Virtual Network" in Azure.
1. Search for "Virtual Network" and click on "Virtual Network", mouse over and click on "Create"
Monday, January 6, 2020
The first thing you want to create after you have an Azure account is to create a "Resource Group" as "Resource Group" as the name implies is an Azure Resource Group, groups all of your resources in a single group so that it's easily managed.
The following steps is how you would create a "Resource Group" in the Azure Portal.
1. Log into Azure portal, and click on "Resource Group" or "More Services" depending on your UI




