A little bit ago I needed to migrate all my subversion repositories over to my fresh new Ubuntu server. I personally manage the server so it also gets interesting trying to do upgrade Ubuntu by installing a fresh new install.
Migrating to another server
Now let’s migrate to a new server. Just need to export it and then create a repository and then import it.
svnadmin dump REPOS_PATH > export.txt
First things first. Make sure you have your users specified. Here is a quick tip on adding new users for your subversion system:
htpasswd -b /svn/users/passwords username password
htpasswd /svn/users/passwords username
Create New Repository
svnadmin create /svn/repos/test
chown -R apache.apache /svn/repos/test
We just need to configure Apache to point to the correct subversion location. On Ubuntu I have the following specified in my apache.conf file:
AuthName “<NAME_OF_YOUR_SERVER> Subversion System”
<LimitExcept GET PROPFIND OPTIONS REPORT>
Here is the latest that I have found!
“If all goes as planned we’ll release STS 2.3.3.M2 including the usual installers next week.”
Looks like they have it some what working in the nightly builds.
The new version of Eclipse is out!
Here is a demo of the new Java features which is interesting to watch.
There are a lot of nice additions!
A couple things I have noticed so far:
- Support for formatting Annotations correctly!
- I would not recommend installing Aptana yet as it is not fully compatible with the new version of Eclipse.
- I would recommend creating a new workspace if you previously installed Aptana. Otherwise, you will get errors trying to find Aptana specific settings (as it is not installed).
Here are some useful links for getting your hands wet with Groovy/Grails programming:
Groovy resource: http://pleac.sourceforge.net/pleac_groovy/index.html
Plug-ins: Grails Plugins
Book references: Recipes!
Get the ideas flowing: 99designs.com
Quickly generate rounded corners: http://www.roundedcornr.com/
mosuser:: store failed
Duplicate entry ‘0’ for key 1 SQL=INSERT INTO mos_users(‘name’, ‘username’, ’email’, ‘password,’gid’, ‘registerDate’) VALUES (‘Dave’, ‘Dave’, ‘email@example.com’, ‘xkjojosjclkvjosjojxkc’, ’18’,’2004-08-05′)
This is a few pointers on setting up redmine having git as a repository hooked up to it. This also takes into account using gitosis for authentication.
Forwarding from Apache to the Webbrick server
ProxyPass / http://127.0.0.1:3001/
ProxyPassReverse / http://127.0.0.1:3001/
Had to add the exact IP for redmine in the proxy pass for security reasons:
/etc/apache2/sites-enabled$ sudo vi ../mods-enabled/proxy.conf
Change user password (you will need to have proper privileges in order to do someone elses)
passwd Change your own password.
passwd someone Change someone’s password.
passwd -d someone Delete someone’s password.