I think ... - windowshttps://blog.kmonsoor.com/2016-04-22T00:00:00+06:00Running Etherpad on Windows2016-04-22T00:00:00+06:002016-04-22T00:00:00+06:00Khaled Monsoortag:blog.kmonsoor.com,2016-04-22:/running-etherpad-on-windows/<p>Though it’s not a big deal, but running Etherpad as hosted on Windows is troublesome. Here’s how to make it predictable and easy.</p><p>Though it’s not a big deal, but running Etherpad as hosted on Windows is troublesome. Here’s how to make it predictable and easy.</p>
<p>What you’d need beforehand:</p>
<p><strong>1.</strong> Properly install system-wide <code>Node.js</code>, and of course <span class="caps">NPM</span> with it. Get the latest-and-stable <a href="https://nodejs.org/en/download/">from NodeJs.org</a>.<br>
After installing, check it from command prompt.
<div class="highlight"><pre><span></span><code><span class="linenos" data-linenos=" 1 "></span>C:\users\alpha\> node -v
<span class="linenos" data-linenos=" 2 "></span>v5.11.0
<span class="linenos" data-linenos=" 3 "></span>
<span class="linenos" data-linenos=" 4 "></span>C:\users\alpha\> npm verison
<span class="linenos" data-linenos=" 5 "></span>{ npm: '3.8.6',
<span class="linenos" data-linenos=" 6 "></span>ares: '1.10.1-DEV',
<span class="linenos" data-linenos=" 7 "></span>http_parser: '2.7.0',
<span class="linenos" data-linenos=" 8 "></span>icu: '56.1',
<span class="linenos" data-linenos=" 9 "></span>modules: '47',
<span class="linenos" data-linenos="10 "></span>node: '5.11.0',
<span class="linenos" data-linenos="11 "></span>openssl: '1.0.2g',
<span class="linenos" data-linenos="12 "></span>uv: '1.8.0',
<span class="linenos" data-linenos="13 "></span>v8: '4.6.85.31',
<span class="linenos" data-linenos="14 "></span>zlib: '1.2.8' }
</code></pre></div>
Version(s) in your output may not be same but nothing to worry.</p>
<p><strong>2.</strong> Download and install latest Python 2.7 from <a href="https://www.python.org/downloads/">Python.org</a>. Please note that <strong>Python2</strong> is needed as system-default, <span class="caps">NOT</span> <strong>Python 3</strong>.<br>
Check it by running Python interpreter from command-prompt.</p>
<div class="highlight"><pre><span></span><code><span class="linenos" data-linenos="1 "></span>C:\users\alpha\> python
<span class="linenos" data-linenos="2 "></span>Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32
<span class="linenos" data-linenos="3 "></span>Type "help", "copyright", "credits" or "license" for more information.
<span class="linenos" data-linenos="4 "></span>>>>
</code></pre></div>
<p><strong>3.</strong> Now, make sure you have <strong>Microsoft Build Tools 2013</strong> or newer properly installed on you system. Grab it <a href="http://go.microsoft.com/fwlink/?LinkID=320711">from Microsoft</a>.<br>
If the given link don’t work, look for it under <code>Tools for Visual Studio 2013</code> in <a href="https://www.visualstudio.com/downloads">VisualStudio’s download site</a>.</p>
<p>Only after you have done these properly, proceed to download <code>Etherpad-lite</code> from <a href="http://etherpad.org/#download">etherpad.org</a>
The download size should be over <strong><span class="caps">50MB</span></strong>. </p>
<p>Do <strong><span class="caps">NOT</span></strong> go for building from the source unless you must.</p>
<p><strong>Download</strong> the zip, <strong>unzip</strong> it, <strong>move</strong> it to your desired folder, and then run <code>start.bat</code> in the folder.</p>
<p>You will never know how much time i just saved you.</p>
<p>You’re welcome … ;)</p>Increase virtual-disk size in VirtualBox on Windows 72012-05-26T08:02:00+06:002012-05-26T08:02:00+06:00Khaled Monsoortag:blog.kmonsoor.com,2012-05-26:/increase-virtual-disk-size-in-virtualbox-windows/<p>Stuck with your small virtual disk partition for VirtualBox? I also stuck with same problem; researched many forums, and here is the gist. Find out how.</p><p>Are you stuck with your small virtual disk partition for VirtualBox? You created the partition for some testing <span class="amp">&</span> practicing, now it needs more space. I was also stuck with the same problem; so I researched many forums, and here is the gist.</p>
<p>[Note: This procedure won’t work for <span class="caps">VM</span> with snapshots. So, please take note the fact about your system beforehand.]</p>
<ul>
<li>Download <a href="http://gparted.org/download.php">Gparted</a>, disk manager for Linux. It’ll come as an <span class="caps">ISO</span> file.</li>
<li>Boot into your guest <span class="caps">OS</span>, check, with df command, which partition you need to grow. Take note of that specific mounted <span class="caps">HD</span>, such as /dev/hdb/sda3</li>
<li>Take backup of your existing data, as I <span class="caps">WILL</span> <span class="caps">NOT</span> <span class="caps">TAKE</span> <span class="caps">ANY</span> <span class="caps">RESPONSIBILITY</span> <span class="caps">IF</span> <span class="caps">YOU</span> <span class="caps">DAMAGE</span> <span class="caps">YOUR</span> <span class="caps">DATA</span>.</li>
<li>In host <span class="caps">OS</span>, Goto the command prompt by running, cmd.exe</li>
<li>Navigate to the Virtualbox installation folder</li>
<li>Execute the command:</li>
</ul>
<div class="highlight"><pre><span></span><code><span class="linenos" data-linenos="1 "></span><span class="go">C:\ VBoxManage modifyhd X:\yourVM_DiskPath_InHost\yourVM_Disk.vdi --resize 40960</span>
</code></pre></div>
<p>you will see progress as below:</p>
<p><img alt="10% ... 20% .. .. 100%" src="http://i.imgur.com/iYORelg.png"></p>
<p>If you fail with a message like thid</p>
<blockquote>
<p><span class="dquo">“</span>VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!”</p>
</blockquote>
<p>Now, you need this tool <a href="https://forums.virtualbox.org/download/file.php?id=7579">CloneVDI.exe</a> from this VirtualBox forum-post. If you’re using this tool, remember to check “Increase virtual drive size to ” with your desired size.</p>
<p><img alt="VDI_tool" src="http://i.imgur.com/YB49ZVk.png"></p>
<ul>
<li>Now, Load the <span class="caps">ISO</span> file to the <span class="caps">CD</span>/<span class="caps">DVD</span> drive of your virtual Linux.</li>
</ul>
<p><img alt="GParted.iso loaded on IDE Primary Master" src="http://i.imgur.com/UKyPkl8.png"></p>
<ul>
<li>Boot the Guest <span class="caps">OS</span>; from the boot menu, select <span class="caps">CD</span>/<span class="caps">DVD</span> drive, then it will boot in GParted tiny <span class="caps">OS</span>. Now the PartitionManager tool will come up automatically, like below:</li>
</ul>
<p><img alt="Gparted partition-manager" src="http://i.imgur.com/aK9kAtK.jpg"></p>
<ul>
<li>Now “shrink/Grow” or “Move” your desired partition, but be careful. Don’t rename any of them. Be careful about your data.</li>
<li>Don’t worry, unless you clicked Apply, nothing has actually took place. When you are done with moving and resizing, you have to click <strong><code>Apply</code></strong> to commit the change</li>
</ul>
<p><img alt="just before applying" src="http://i.imgur.com/wUMCHVQ.jpg"></p>
<ul>
<li>Once completed, close Gparted, and then shutdown the <span class="caps">OS</span></li>
<li>Unload the <span class="caps">ISO</span> aka virtual <span class="caps">CD</span> from virtual <span class="caps">OS</span></li>
<li>Boot into the virtual <span class="caps">OS</span> again</li>
<li>Now, check that if the desired partition grew or not by using the <code>df</code> command</li>
</ul>
<p>Thanks for visiting my blog. If it just helped you, please feel free to “Like” or “share”. Also, your suggestion or comment would be great as well.</p>
<hr>
<p>If you find this post helpful, you can show your support <a href="https://www.patreon.com/kmonsoor">through Patreon</a> or <a href="https://paypal.me/KhaledMonsoor/">Paypal</a> or by <a href="https://ko-fi.com/kmonsoor">buying me a coffee</a>. <em>Thanks!</em></p>Windows 7 Enterprise/Ultimate “K” to “EN” (aka English): Conversion Step-by-step2012-01-29T12:48:00+06:002012-01-29T12:48:00+06:00Khaled Monsoortag:blog.kmonsoor.com,2012-01-29:/convert-windows-7-k-to-en/<p>Ended up with Windows 7 Enterprise in Korean language? What you are seeing, all are in Korean language or any other foreign language? I am here to share my own experience. It may help you out.</p><p>Ended up with Windows 7 Enterprise in Korean language? What you are seeing, all are in Korean or any other foreign language? I am here to share my own experience. It may help you out.</p>
<p>As I was working for a South Korean conglomerate, I had access to Windows 7 Enterprise K. So, I have to face a lot of trouble to make the conversion to English. As, there is no Microsoft’s official help available, I have to find it myself. It would be great if I can share this with proper screen-shots of Korean Windows. But as I had already converted, I could not. Sorry about that.</p>
<p>First of all, it will be best if you can install Windows 7 English version directly.<br>
If not possible at all, like your company have license only to use Korean version, or you purchased your laptop or <span class="caps">PC</span> in Korea. In those cases this post may help. </p>
<p><strong>I am assuming that:</strong></p>
<ul>
<li>You have a valid license key or <span class="caps">OEM</span> <span class="caps">VLK</span>(Volume License Key) of Windows 7, either for Enterprise or for Ultimate edition. </li>
<li>If you don’t have Enterprise or Ultimate edition, but you have Home or Professional addition, the following method probably won’t work. </li>
</ul>
<h2 id="steps">Steps:<a class="headerlink" href="#steps" title="Permanent link">¶</a></h2>
<ul>
<li>Install <strong>Windows 7 K</strong> on your <span class="caps">PC</span>; <span class="caps">DON</span>’T change any settings if you don’t understand what it is saying.</li>
<li>Don’t install any anti-virus yet. Or, any other system software.</li>
<li>Validate and register your license.</li>
<li>Go to <strong>Windows update</strong> on your <span class="caps">PC</span>.<br>
And update your Windows to Service pack 1. Please <strong>avoid</strong> updating Internet Explorer-8 to 9. Uncheck it.</li>
<li>Now Windows will restart automatically.</li>
<li>Again, Go to Windows update. In the <strong>optional</strong> section, you’ll will see a long list of language pack. Select <em>English</em>. </li>
<li>Complete update. Again restart.</li>
<li>If your <em>Windows 7 K</em> is not converted to <em>Windows 7(English)</em> then from <strong>Language settings</strong>, choose <strong>English</strong> as display language.</li>
<li>Again, restart. </li>
<li>Now it should be in English. Some text still may be in Korean. Don’t bother for it. Your life will be quite okay without those.</li>
<li>Now, install whatever software you want.</li>
</ul>
<h2 id="postscript">Postscript<a class="headerlink" href="#postscript" title="Permanent link">¶</a></h2>
<ul>
<li>If now you are in trouble with Microsoft Office’s Korean package, check out <a href="https://blog.kmonsoor.com/install-english-language-on-microsoft-office-2007-2010/">my relevant post.</a> </li>
<li>After completion, you may find trouble using Microsoft’s <strong>Internet Explorer 9</strong>. I don’t know why <strong>Internet Explorer 9</strong> don’t work properly on Windows 7.<br>
If you face problem after installing it like “<span class="caps">I.E.</span> is not responding….”, “<span class="caps">I.E.</span> closed unexpectedly” etc. <strong>uninstall that</strong>. </li>
</ul>
<p>But how? <a href="https://blog.kmonsoor.com/uninstall-ie-9/">Please visit my relevant post.</a></p>Install English (or another) Language Pack of Microsoft Office 2007, 2010 Enterprise : Step by step2012-01-19T13:49:00+06:002012-01-19T13:49:00+06:00Khaled Monsoortag:blog.kmonsoor.com,2012-01-19:/install-english-language-on-microsoft-office-2007-2010/<p>Trouble with unknown foreign language on your Microsoft Office? Look no further for using your own language.</p><h3 id="please-note">Please Note<a class="headerlink" href="#please-note" title="Permanent link">¶</a></h3>
<p>If you are stuck with <strong>Windows 7</strong>, operating system of your <span class="caps">PC</span>, in a foreign language, this is not what you are looking for. Please check out <a href="https://blog.kmonsoor.com/convert-windows-7-k-to-en/">my relevant post</a>.</p>
<h2 id="background">Background<a class="headerlink" href="#background" title="Permanent link">¶</a></h2>
<p>As I have worked for a giant Korean conglomerate, I have to install Office 2007 Enterprise edition Korean version. I hunted, searched, tested many ways to convert/choose for English. But failed.</p>
<p>But, now, I got it. Here’s how.</p>
<p><img alt="Microsoft-office-2010-logo" src="http://i.imgur.com/MKfwSVi.png"></p>
<h2 id="process">Process<a class="headerlink" href="#process" title="Permanent link">¶</a></h2>
<ol>
<li>At first, check of your desired language file (<strong>matching</strong> with your version of Office) <a href="http://goo.gl/QX3Yf">here</a>. For <strong>Office 2010</strong>, check <a href="http://goo.gl/cJM8M">here</a>.</li>
<li>If it is there, voilà! You got it.</li>
<li>Install the downloaded <span class="caps">EXE</span> file. As a security check, plz check the publisher name if it is “Microsoft” or not.
If it is “Microsoft”, you have nothing to worry about security. </li>
<li>After completion, please restart your <span class="caps">PC</span> or laptop whether Windows tells so or not.</li>
<li>Now, check using <span class="caps">MS</span> Office Language preference that is it set or not as below:<br>
<img alt="check MS Office Language" src="http://i.imgur.com/Vp7lj9w.png">
…<br>
<img alt="office-preference" src="http://i.imgur.com/fTyZtps.png"></li>
<li>Now, happily use “Office” in your desired language.</li>
</ol>
<h2 id="credits">Credits<a class="headerlink" href="#credits" title="Permanent link">¶</a></h2>
<p>I got the link from a user comment <a href="http://www.merawindows.com/Forums/tabid/324/forumid/89/threadid/37339/scope/posts/Default.aspx">here</a>.
Though I didn’t believe at first place. But it worked anyway.</p>