198 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Verse 1.0.2 with Live text and send extensions
Mon, Sep 4th 2017 6
Why you should install Verse on premise NOW!!
Tue, May 9th 2017 5
Why companies should train the employees in IT-Security today
Sat, Feb 11th 2017 5
Bluemix the extension your need to expand your universe
Mon, Jan 9th 2017 6
GDPR privacy and security for everybody
Wed, Dec 7th 2016 8
Update of the Bootstrap standby widget
Mon, Nov 14th 2016 7
IBM Domino to be or not to be
Mon, Aug 29th 2016 12
Top 10
HTTP Server is waiting for threads to finish: the wait is over
Wed, May 14th 2014 14
iNotes, IBM Traveler, IBM Verse, Win 10 Mail
Tue, Jan 5th 2016 12
IBM Domino to be or not to be
Mon, Aug 29th 2016 12
Xpages on Bluemix
Sat, Jul 11th 2015 9
Xpage – Exception Notes error: You are not authorized to perform that operation
Thu, May 12th 2016 9
Calling web services from XPages the missing part
Tue, Mar 4th 2014 8
Creating your first XPage Repository using GitBlit
Mon, Aug 4th 2014 8
Internet of things is that something to care about
Wed, Aug 13th 2014 8
Setting up a sFTP server to be used with an existing Domino SSL certificate
Mon, Dec 8th 2014 8
Moving on with Excel Export part 2 : XPages Export
Tue, Mar 10th 2015 8


Setup a Free Git server with Domino Credentials in a few minutes
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
Fredrik Norling    

Today I’m going to show you hav to setup you own internal Free Git server in five minutes

Make sure that you have java version 7 installed in you windows server. JRE or JDK any version works. If you don’t have one goto java.com and install the a java jre.

Goto the java download page scroll down to the bottom of the page and download the JCE

Java_JCE

Open up the downloaded zip file and copy the 2 selected files

To the folder libsecurity below your java installation folder in my case it was

C:Program FilesJavajre7libsecurity you might need to replace existing files nothing to worry about.

This is needed to be able to create the certificates later.

Next step is to  gitblit.com wher your download the Go Git Blit Server for Windows or if you are using Linux or Macosx use that version.

GitBlit

Unzip the zip file in the root to a folder called gitblit or a suitable sub folder, if you change the folder you might need to change url:s in the .cmd files.

Configure GitBlit

We are now going to configure gitblit to use LDAP as authentication method

Open up the file gitblit.properties in the data folder, search for the keyword realm.userService edit this line so the line should look like this realm.userService = com.gitblit.LdapUserService

Setup the connection to the LDAP server

realm.ldap.server=ldap://localhost change the row if your LDAP server isn’t on localhost remember if you want to connect to a domino server and it’s hosted on a windows machine that has AD LDAP on it you need to change the port for the Domino LDAP service.

The syntax if you want to change ip or port is like this ldap://192.168.10.10:399

You also need to change the login user to be able to use the domino LDAP Service

realm.ldap.username = LDAP Manager

realm.ldap.password = your password

To a Domino user and password

Clear the accountBase so it will search all Nodes

realm.ldap.accountBase=

Change the accountPattern to

realm.ldap.accountPattern = (&(objectClass=person)(cn=${username}))

Empty the groupBase to search all nodes for groupsrealm.ldap.groupBase =

And the groupMemberPattern to find groups

realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))

realm.ldap.admins can be edited to add a admin group from LDAP

change the row realm.ldap.email from email to mail

And the row realm.ldap.uid also to mail

Important last step, search the file for localhost and remove that otherwise gitblit will only operate on localhost and you can access it from another machine

Save the file

Generate SSL Certificate

In the Gitblit folder in my case c:GitBlit there is a cmd file called authority.cmd (if you have another url you might need to modify the file)

start authority.cmd add the information about your certificate

Write the password for your keystore, write gitblit if you don’t want that password you need to edit the gitblit config file so the password match.

The keystore is generated and the cert admin is opened

Close the Window

Start the Git Blit Server using the gitblit.cmd the server will now start in the window.

Your Git server should be up and running now. Let’s access it thru a browser.

Write https://servername or ipadress or localhost and end the adress with :8443

but if you want to use http instead you need to edit the gitblit.properties and change the row

server.httpPort =0 to have the port for the http server i.e. server.httpPort = 8080

The GitBlit interface will load.

Try to login using your Domino credentials

When you have logged in, logout again and login using the standard admin user

username: admin password: admin

and assign yourself as an administrator and change the password of the default admin

Login with your user again

Now your ready to create your first repository

Next step is to connect your git client to the repository. Some clients like sourcetree needs a special setup to accept ssl that is created using a self cert. But that is for the next post.



---------------------
http://www.xpagedeveloper.com/2014/setup-a-free-git-server-with-domino-credentials-in-a-few-minutes
May 29, 2014
3 hits



Recent Blog Posts
6
Verse 1.0.2 with Live text and send extensions
Mon, Sep 4th 2017 2:18p   Fredrik Norling
Yes you heard right, onpremise Verse gets extensionpoints that gives you the possibility to find text and populate this. And also gives you the possibility to do intercept the user before a email is sent. This is great for compliance reasons. There is more good stuff in there but this is really exciting a developer end point in to web email.
5
Why you should install Verse on premise NOW!!
Tue, May 9th 2017 10:30a   Fredrik Norling
If you are using Domino and mail on premise you should install Verse now. My list on why you should Modern fast interface for your users Supersmart filtering of emails Filter by folder, time and even containing attachments, Group emails by thread. Last two added with Verse 1.01 Need Action and wait for functions for better email workflows Offline emails Installing Verse is a simple operation, make sure that your server has the right Domino and FP version installed. Also add the 2 new views
5
Why companies should train the employees in IT-Security today
Sat, Feb 11th 2017 9:28a   Fredrik Norling
Demands what and what not the employees do on their computers becomes more and more important. Some examples, a person comes in to the reception desk with a presentation with coffee stains on it. Asks to get a new copy, please it’s on my USB drive. And the hacker is in your network! If this was after the 25:th of may 2018 your company could get fines because the employee didn’t get enough training. This is only one example, what about passwords do they use the same password to your i
6
Bluemix the extension your need to expand your universe
Mon, Jan 9th 2017 1:52p   Fredrik Norling
We have everything on our own servers you might say and have no use for IBM Bluemix Cloud services you might say. Well, I think you are wrong, Bluemix will help you expand the reach of your applications beyond borders that you might have today. Lets say you have an internal audit application and you want some external users to answer on some audits. Bluemix will help you here without opening up or adding a new server Perhaps you want to get some users in another part of the world to get web acc
8
GDPR privacy and security for everybody
Wed, Dec 7th 2016 9:02p   Fredrik Norling
If you have or haven’t heard of GDPR (General Data Protection Regulation) that is a European Union law that will be in effect on the 25:th of May 2018. This regulation will affect all companies working with citizens of EU, do many companies will be affected not only Companies with offices within the EU. So if your company is within EU or work with EU citizens this affects your company. Why should you bother, well the board of directors of your company will. Because the company can get a fi
7
Update of the Bootstrap standby widget
Mon, Nov 14th 2016 8:01p   Fredrik Norling
a minor update to fix some issues with the standby widget for bootstrap is in xSnippets. Found an issue with multiple triggering of the widget, this is hopefully fixed now, reported by David Leedy. Check it out here https://openntf.org/XSnippets.nsf/snippet.xsp?id=bootstrap-standby-dialog




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition