Inthis tutorial I am explaining how to install the Redis server as a local server to your Windows machine. Here this is a full article about Installing and Running in very simple steps.
By clicking this link you will get a .msi file which is a Windows installer. Now go to your Downloads folder and find this file.
Now click on that file and install Redis.
Install Redis Server
First, You need to run this file. Click the Run button.
Then Click Next,
Accept the terms in the License Agreement and Click Next,
Now Make sure to tick the “Add the Redis installation folder to the PATH environment variable”. And click Next,
Now it will give you a default port to the server, Just Click Next(If you want to change the default running port, you can change it here),
Now the system will ask to set the memory limit for the Redis server(default 100MB given). You can just change the memory limit if you want and click Next Button,
Now continue the installation process. Click the Install button,
After all click the Finish button to finish installation process.
Congratulations!. You have almost installed the Redis server. Now let’s talk about How to Run the Redis server.
Run Redis Server
Step 1
Now open up the Windows Services console and start the Redis service. For the first time you can see it is running.
Step 2
If you want to run the Redis server from the terminal use this way.
Redis Server should have installed to C:\Program Files\Redis. There you’ll find a .exe file called redis-server.
Now open a command line and enter this command, You can see Redis server running in the standalone mood with this User Interface.
redis-server
Your Redis server started to run.
Now you can monitor the updates and changes in the Redis server by this command.
redis-cli monitor
These are the basic steps to install and run your Redis server locally in your machine. I hope you will get an idea about how to run Redis Server.
I have a needed to read a file with some columns and separte each one, and after do that i need to make a script that create a folder and move on every single file on it.
The first thing i have to do for this test, is create a file with some content like this:
Step 1- Made a new emulator(Any). Step 2- then fixed another problem the black screen by changing the settings to use hardware graphics.(Dunno if this problem was related to the bug)
I believe I have managed to fix my problem permanently without the use of daily scripts etc.
See here for a detailed explanation of the issue along with a detailed guide to resolve it. Kudos to crutledge from Peer Wisdom who made this guide.
The fix is to relocation the ASP.NET temp folder which is outside of the system state backup.
Create the new temp directory
The first thing we need to do is to create new directories for the ASP.NET temporary files. These commands will create new directories for the ASP.NET 2.0 and 4.0 temporary files on the D drive. You can choose any location, I just followed the guide.
md "D:\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files"
md "D:\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files"
md "D:\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files"
md "D:\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files"
Set Folder Permissions
Next we need to set the folder permissions to match the existing default directories. The easiest way to do this is with the ICACLS command. The first command removes the removes the inherited permissions and replaces them with a copy of the inherited permissions. Thus changes to the permissions of the drive (root directory) will not effect the new temporary directories. The remaining commands grant the required permissions.
Add Attribute tempDirectory To The compilation Tag In web.config
For ASP.NET to use temporary directories anywhere other than the default location, the directory must be specified using the tempDirectory attribute of the <compilation> tag in the system web.configfile. There is one file for each version of the .NET Framework. (Again, these are the same versions that have ASP.NET temporary directories, so there is no web.config file for .NET 3.0 and 3.5.) The tempDirectory attribute specifies the directory where the compiled machine code will be cached. The web.config file is a XML file that can be edited with Notepad.
For ASP.NET 2.0 32-bit, we would edit the web.config file and locate this tag:
<compilation>
and change it as follows to use the new temporary directory:
<compilation tempDirectory="D:\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files">
The web.config file is located in the CONFIG folder for the .NET Framework version. In our example, we will need to edit the following web.config files.
For the changes made to the web.config files to take effect, IIS has to be restarted. This is easily done from the command line.
iisreset
Delete Files In The Old Temporary Directories
Now we need to delete the files in the old ASP.NET temporary directories so they are no longer part of the system state. These files are actually in a subfolder named root, so we'll actually delete this folder along with all it's files and subfolders. Again, this is easily done from the command line.
rmdir /s /q "C:\Windows\Microsoft.Net\Framework\v2.0.50727\Temporary ASP.NET Files\root"
rmdir /s /q "C:\Windows\Microsoft.Net\Framework64\v2.0.50727\Temporary ASP.NET Files\root"
rmdir /s /q "C:\Windows\Microsoft.Net\Framework\v4.0.30319\Temporary ASP.NET Files\root"
rmdir /s /q "C:\Windows\Microsoft.Net\Framework64\v4.0.30319\Temporary ASP.NET Files\root"
Restart The Cryptographic Service
To get the VSS System Writer back, we must restart the service that controls it, which as previously mentioned, was the Cryptographic Service.
net stop cryptsvc
net start cryptsvc
Verifying Everything Is Working
If you did everything correctly, you should see files created in the new ASP.NET temporary directories the next time the website is accessed. And to verify the System Writer has returned, run the vssadmincommand to list the writers.
vssadmin list writers
Marked as answer bykieferschildThursday, April 06, 2017 12:35 PM
Edited bykieferschildThursday, April 06, 2017 12:36 PMv3