Compiling/Building a Firefox Sync Server on CentOS 5 server

The mozilla sync server build on CentOS 5.6 that has python2.4 install and python2.6 installed using the "yum install python2.6"

 

 

SSH Key commonly used functions

To display a key's fingerprint: ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub 

will display something similar to: 1024 62:4a:83:f4:3c:b4:ed:e1:ea:00:7d:be:96:b1:e5:7d /etc/ssh/ssh_host_rsa_key.pub (RSA)

 

Creating your own personal bookmark site like Delicious in Drupal 7

This guide will show you how to make a bookmarking site similar to Delicious where you can add a URL with an optional description and tags which can then be searched on using the internal search or browse using tags.

Contrib modules required:

Resetting a lost mysql root password

root@steve:~# /etc/init.d/mysql stop

Now you should start up the database in the background, via the mysqld_safe command:

root@steve:~# /usr/bin/mysqld_safe --skip-grant-tables &
[1] 6702
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6763]: started

Here you can see the new job (number "1") has started and the server is running with the process ID (PID) of 6702.

Now that the server is running with the --skip-grant-tables flag you can connect to it without a password and complete the job:

Finding Executable that is using a port

So I ran into a problem with my computer where I was trying to set up a Tomcat server to run on port 8081. Every time I started the server, I experienced an error saying that the port was already in use. Since I didn't have any other applications open, I became baffled so I did a little exploring.

Running netstat -a -p TCP:

TCP 0.0.0.0:8081 eng01:0 LISTENING
TCP [::]:8081 eng01:0 LISTENING

Creating bookmark (link repository) in Drupal 7

You can create similarly create what is provided in userlink module by building the same functionality without some of the display restrictionsHere're the modules you'll need for the job:

Enabling NTLM Authentication Single Sign-On (SSO) in Internet Explorer

Internet Explorer supports NTLM authentication out of the box. It should just work for intranet hosts, but you can add other hosts to the security settings:

Internet Explorer: Tools → Internet Options → Security → Local Intranet → Sites
 

Adding trusted hosts can also be done through group policy.

You must also make sure either your Local security policy or Domain Group policy reflects the following:

Go to Local Security policy > Security settings > local policies > security options

Enabling NTLM Authentication Single Sign-On (SSO) in Firefox

How many of you have noticed that when you are using Internet Explorer and you browse to your companies intranet page that it will automatically authenticate you but when you use Firefox you will be prompted with a login box?

I recently, in searching for solutions to allow NTLM authentication with Apache, stumbled across how to set a preference in Firefox that will pass the NTLM authentication information to a web server. The preference is network.automatic-ntlm-auth.trusted-uris.

So how do you do it?

Drupal Manual URLs

 

Here is a quick list of Drupal URL's everyone will find useful.

 

Login user form: http://<site name/address>/?q=user

Logout user: http://<site name/address>/?q=user/logout

Note: If ClenaURLs are configured the "?q=" will not appear. (e.g. Login user form would read: http://<site name>/user )

 

Apache NTLM / Active Directory Authentication

This document describes how to set up NTLM/Windows Integrated Authentication in Moodle.

Contents

[hide]

Pages

Subscribe to kb.kaminskiengineering.com RSS