Tag Archives: Windows

Samba – Share Linux Folder to Windows

I want to share a folder in my Ubuntu virtual machine to my Windows host. That folder contains the Rails applications such that i can edit them on the Windows host.

1. Install the Samba server

  • sudo apt-get install samba

Continue reading Samba – Share Linux Folder to Windows

Notepad++ – Explorer Plugin

As i want to develop a Rails application, i would like to have an editor like TextMate which i can use in Windows. It seems that Notepad++ would be a good option but it does not have a project explorer for me to switch the files.

Luckily, there is a Notepad++ plugin called Explorer where you can add the project explorer view.

1. Download it from Notepad++ Explorer Plugin.
 

2. Extract the archive and put the .dll file into <Notepad++>\plugins folder. Continue reading Notepad++ – Explorer Plugin

Apache – Setup the VirtualHost

Usually, people got more than one website in the Apache web server and sometimes they want to separate them into different domain names. This can be done by the Apache VirtualHost.

The following example is done in Mac MAMP, i guess the configuration on Linux and Windows should be similar. Let’s start now.

1. I have 2 folders in the Apache webroot folder

  • drupal-6.19 – The Drupal Application
  • HelloWorld – Folder contains simple HTML

Continue reading Apache – Setup the VirtualHost

Java – Connect Windows Active Directory Through LDAP @ 1

The Java Naming and Directory Interface (JNDI) is the standard Java API for multiple naming and directory services such as Lightweight Directory Access Protocol (LDAP).

Active Directory is a group of network services like account authentication and it supports LDAP. Therefore, you can write a Java program using JNDI in order to obtain the account credentials in the Active Directory of a Windows Server. Here comes the example. Continue reading Java – Connect Windows Active Directory Through LDAP @ 1