To restore the MSSQL database on linux hosted MSSQL Server follow the following steps:
The following steps requires that you install MSSQL server in you linux OS. If not installed please follow this guide to install the server.
NOTE : Only for Ubuntu >= 16.04 and PHP version >= 7.0
First follow the steps as described here
After completing all the steps and checking the MS-Sql Version follow steps below.
Check if you have g++ installed.
$ sudo apt-get install g++
After successful installation, go to step two
When creating any web application, there is seldom a requirement where you only need one level of authentication. Or to be more exact where you have only one type of users. Normally we work win environment where we require an administrative user and another public user. Thus the two users may have different types of data and tables. In such we will also require two different types login processes for each user types. By default laravel ships with User auth model. So how doe we add another authentication model to the system.
In this blog, we will be learning one or two things about the SSL (Secure Socket Layer).
You are here, so I assume that I don’t need to explain you about the differences about the HTTP and the HTTPS protocols in the web.
While HTTP is straight forward, the security level of the protocol is near to none.
The data sent through this protocol is not encrypted thus any person thats monitoring your web traffic may get hold of the data that you send through the web i.e. Credit Card numbers, Passwords, and other valuable and private informations (the man-in-the-middle-attack). This is where HTTPS comes in. The HTTPS inserts a security layer (TSL/SSL) during the interchange of the data between the server and the client.
#! /bin/sh # listppa Script to get all the PPA installed on a system ready to share for reininstall for APT in `find /etc/apt/ -name \*.list`; do grep -o "^deb http://ppa.launchpad.net/[a-z0-9\-]\+/[a-z0-9\-]\+" $APT | while read ENTRY ; do USER=`echo $ENTRY | cut -d/ -f4` PPA=`echo $ENTRY | cut -d/ -f5` echo sudo apt-add-repository ppa:$USER/$PPA done done
Setup Failed: 0x80240017 Unspecified error
This is due to Windows not being updated properly.
We can then manually update the windows.
First we need to find the update file.
The file will be in
Copy the file and paste in any folder you like.
Then inside the folder create a new folder “Temp”.
Open up a administrator CMD in the folder and type in the following.
$ wusa.exe Windows8.1-KB2999226-x64.msu /extract:Temp $ DISM.exe /Online /Add-Package /PackagePath:Temp\Windows8.1-KB2999226-x64.cab
this will manually install the windows update into your system.
Now execute the vc_redist.x86.exe once again. It should install properly.
Every once in a while you try to develop a web application, you create a project under /var/www/html (or somewhere equivalent) and you access the project using localhost. This is old fashioned. Lets step up a bit. Best way to develop any web application is to simulate the actual web server the web application will be hosted into. Lets remove the localhost altogether and use the domain name in the local server instead of the trivial localhost.
So you have a ec2 amazon server instance set up and you plan to set up git into the server.
When you use git to push and pull requests from the repository you are always required to enter your username and password for the repository. You probably would get Error: Permission denied (publickey). In case of your ec2 instance you dont have a username and password attached to your git repository so how do you push/pull the repo. The repo is not public after all.
Laravel is best installed with the help of dependency manager composer. So jump into getComposer.org if you haven’e installed composer and install composer in your system.
After composer has been properly installed we now set up the laravel framework with composer (optional). Open up a terminal and run
When you are installing any new package or upgrading any package through terminal in Ubuntu you may sometimes be presented with “you have held broken packages” error, and thus preventing you from installing the package that you want.
Well this is because the package that you are trying to install already has been installed with any older or newer version or any other dependencies that you package depends on has the same issue. Either way we need the package installed. So what do we do.