Saturday 28 January 2017

What is Just Enough Administration or JEA in Windows 2016

What is Just Enough Administration or JEA in Windows 2016


  • JEA is new kind of Administration Model in Windows 2016.
  • Its Role Based administration Model where you can fine tune custom Admin Settings.
  • To understand more look at the below video

Video:

Tuesday 17 January 2017

Install a Linux SQL Server VM in Azure Step by Step Tutorial

 Install a Linux SQL Server VM in Azure Step by Step Tutorial



To Create a Linux VM with SQL Server installed

  • Open the Azure portal.
  • Click New on the left.
  • In the New blade, click Compute.
  • Click See All next to the Featured Apps heading.
  • In the search box, type SQL Server vNext, and press Enter to start the search.


  • Select a SQL Server vNext image from the search results.
  • Click Create.
  • On the Basics blade, fill in the details for your Linux VM.
  • Click OK.
  • On the Size blade, choose a machine size. For development and functional testing, we recommend a VM size of DS2 or higher. For performance testing, use DS13 or higher.

  • Click Select.
  • On the Settings blade, you can make changes to the settings or keep the default settings.
  • Click OK.
  • On the Summary page, click OK to create the VM.

Install SQL Server tools on Red Hat Enterprise Linux Step by Step tutorial

Install SQL Server tools on Red Hat Enterprise Linux


  • Enter superuser mode.

sudo su


  • Download the Microsoft Red Hat repository configuration file.


curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/msprod.repo


  • Exit superuser mode.


exit


  • Run the following commands to install 'mssql-tools' with the unixODBC developer package.


sudo yum update
sudo yum install mssql-tools unixODBC-utf16-devel

Uninstall SQL Server on Red Hat Enterprise Linux Step by Step Tutorial

Uninstall SQL Server on Red Hat Enterprise Linux Step by Step Tutorial


  • In order to remove the mssql-server package, follow these steps:

  • Run the remove command. This will delete the package and remove the files under /opt/mssql/. However, this command will not affect user-generated and system database files, which are located under /var/opt/mssql.

sudo yum remove mssql-server

  • Removing the package will not delete the generated database files. If you want to delete the database files use the following command:

sudo rm -rf /var/opt/mssql/

Upgrade SQL Server on Red Hat Enterprise Linux Step by Step Totorial

Upgrade SQL Server on Red Hat Enterprise Linux Step by Step Totorial


  • In order to upgrade the mssql-server package, execute the following command:

sudo yum update mssql-server


  • These commands will download the newest package and replace the binaries located under /opt/mssql/. The user generated databases and system databases will not be affected by this operation.

Install SQL Server on Red Hat Enterprise Linux 7.3 Step by Step Tutorial

Install SQL Server on Red Hat Enterprise Linux 7.3 Step by Step Tutorial


Video:



  • You need at least 3.25GB of memory to run SQL Server on Linux. 
  • To install the mssql-server package on RHEL, follow these steps:
  • Enter superuser mode.

sudo su

  • Download the Microsoft SQL Server Red Hat repository configuration file:

curl https://packages.microsoft.com/config/rhel/7/mssql-server.repo > /etc/yum.repos.d/mssql-server.repo

  • Exit superuser mode.

exit

  • Run the following commands to install SQL Server:

sudo yum install -y mssql-server

  • After the package installation finishes, run the configuration script and follow the prompts. Make sure to specify a strong password for the SA account (Minimum length 8 characters, including uppercase and lowercase letters, base 10 digits and/or non-alphanumeric symbols).

sudo /opt/mssql/bin/sqlservr-setup

  • Once the configuration is done, verify that the service is running:

systemctl status mssql-server