how to move iis from one windows to another

Last weekend I needed to move from one windows 2012 to another one. And I have a large website runs in IIS. Normally in IIS manager you can export with web deploy tool. But I hit the 4gb max size limit. And the dialog was saying use archivedir. Here is how you can do it. For backing up whole sites from your IIS msdeploy -verb:sync -dest:archivedir=c:\site1archive,encryptPassword=password -source=webserver The sitearchive1 directory should have been created before and you can change the password. ...

November 30, 2015 · 1 min · Özkan Pakdil

install macos in virtualbox in ubuntu

I am not a fan of apple products but I wanted to try qt in mac. so I look for how can I install the macos in ubuntu virtualbox. there are some info in hackintosh site and some videos and documents. first of all I tried yosemite but it did not start properly in virtualbox then I look for which one is the latest macos version and it is el capitain. ...

November 22, 2015 · 2 min · Özkan Pakdil

adding jars to maven pom

normally you dont need this but sometime you may need to work with some special products like weblogic. and you may just need to add a dependincy from already installed weblogic. <dependency> <groupId>weblogic</groupId> <artifactId>weblogic</artifactId> <version>1</version> <scope>system</scope> <systemPath>C:\wl12\wlserver\modules\features\weblogic.server.merged.jar</systemPath> </dependency> this is working in windows as you guess :)

November 1, 2015 · 1 min · Özkan Pakdil

nginx vs varnish

it has been a long time I am using varnish + apache. and I was reading nginx is really fast. 2 days ago I installed nginx and configure one php page works with it. here are the ab outputs this is varnish mascix@mascix-HP-Pavilion-dv7-Notebook-PC:~/tmp/akka/example-akka-http$ ab -n 100 -c 10 http://sifavi.com/ This is ApacheBench, Version 2.3 <$Revision: 1528965 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking sifavi.com (be patient).....done Server Software: Apache Server Hostname: sifavi.com Server Port: 80 Document Path: / Document Length: 230 bytes Concurrency Level: 10 Time taken for tests: 0.937 seconds Complete requests: 100 Failed requests: 0 Non-2xx responses: 100 Total transferred: 57784 bytes HTML transferred: 23000 bytes Requests per second: 106.73 [#/sec] (mean) Time per request: 93.696 [ms] (mean) Time per request: 9.370 [ms] (mean, across all concurrent requests) Transfer rate: 60.23 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 42 45 3.3 44 56 Processing: 43 47 3.6 45 64 Waiting: 43 47 3.5 45 64 Total: 86 92 5.4 90 113 Percentage of the requests served within a certain time (ms) 50% 90 66% 92 75% 96 80% 97 90% 101 95% 102 98% 110 99% 113 100% 113 (longest request) this is nginx ...

October 23, 2015 · 2 min · Özkan Pakdil

first jni example

I never tried JNI(Java Native Interface) before. jni is an api for to call native C code from inside a java code. for a principle I dont like this kind of mixed things. calling java inside c# or calling C# code from C++ is always makes hard codes to understand. anyway I was wondering about the performance of printf between java and jni. basically there are 2 codes. one is written in java one is written in C. here is our C code ...

October 10, 2015 · 2 min · Özkan Pakdil