Some major Linux distros use Python for maintaining their packages. Red Hat (and its downstream distros) which use the yum tool uses Python 2.4. I tried to install Python 2.6 in CentOS 5.4 without success. The tool rejected to install Python other than 2.4 using that tool out of fear that it will interfere with the tool.
I just found another catch, when you are trying to install Python 2.6 in Ubuntu (I was using Karmic Koala, 9.10), such as:
[source lang='shell']
$ sudo apt-get remove python2.6
[/source]
It will display the components that are about to be removed.
Kids, don't try this at home!
It will remove your whole desktop related application! Java, Gnome, apt tools. You practically will be left with command line Linux, and without the apt tools.
Uninstalling Python 2.6 from Ubuntu seems to be an act of shooting own's foot!
Lucky I tried on not-so-important experimental Ubuntu installation on my laptop.
Showing posts with label others. Show all posts
Showing posts with label others. Show all posts
Sunday, November 28, 2010
Monday, June 14, 2010
Mercurial Server 1.0.1 Installation on Ubuntu
When we are working using Subversion, we can expose the Subversion repository using svnserve (open the default port 3690 and svn:// protocol) or leverage the Apache WebDav to expose your Subversion service in HTTP (the web protocol -- I've always tempted to write it as HTTP Protocol which is incorrect as the last P letter stands for 'protocol').
And of course if you are just as lazy as I, you will use the CollabNet Subversion or Edgewall Trac.
Mercurial Server from Lshift is one way to achieve similar thing. Though it is named Mercurial Server, it is not a server in traditional client/server perspective. It leverages the SSH authentication to make it like a central repository where multiple user can access and serves the same purpose.
Surprisingly, it is very easy to install in an Ubuntu box.
[sourcecode lang="shell"]
$ sudo apt-get install mercurial-server
[/sourcecode]
Gotcha! You have it now.
With this Mercurial Server, you can access the server using:
hg clone ssh://<ssh-user>@<host-name-or-ip-address>[:<ssh-port-num>]/<folder>
[sourcecode lang="shell"]
$ hg clone ssh://mercurial@192.168.0.1/projects
[/sourcecode]
And of course if you are just as lazy as I, you will use the CollabNet Subversion or Edgewall Trac.
Mercurial Server from Lshift is one way to achieve similar thing. Though it is named Mercurial Server, it is not a server in traditional client/server perspective. It leverages the SSH authentication to make it like a central repository where multiple user can access and serves the same purpose.
Surprisingly, it is very easy to install in an Ubuntu box.
[sourcecode lang="shell"]
$ sudo apt-get install mercurial-server
[/sourcecode]
Gotcha! You have it now.
With this Mercurial Server, you can access the server using:
hg clone ssh://<ssh-user>@<host-name-or-ip-address>[:<ssh-port-num>]/<folder>
[sourcecode lang="shell"]
$ hg clone ssh://mercurial@192.168.0.1/projects
[/sourcecode]
Subscribe to:
Posts (Atom)