Friday, July 16, 2010

Re-enable lower panel in Ubuntu

Restoring Default Ubuntu Panel



If accidentally you delete your lower panel in Ubuntu and could not bring it back after attempting several trials, you can try this below:

gconftool-2 --shutdown
rm -rf ~/.gconf/apps/panel

pkill gnome-panel

Thursday, June 24, 2010

How to enable rar\unrar in Ubuntu

As I am in a serious Ubuntu mood at the moment, I thought I would throw up another quick little guide. In order to enable rar\unrar in Linux (this tested in Ubuntu 9.04), open a terminal window and type:
sudo apt-get install rar
Then, after rar is installed, type the following
sudo ln –fs /user/bin/rar /usr/bin/unrar
Now you can extract rar-archives with the default archive manager in Ubuntu! Enjoy!

Thursday, June 10, 2010

SVN Configuration


SVN Configuration :-

 Setup your svn server.

1)      install Subversion setup at serverside.
2)      Install SVN services software which simply on the svn server from the windows services if you activate or on it from this services software. So, you don’t need to
On it manually from windows services. And also it on the services automatically whenever you start your windows.
3)      add an environment variable for SVN_EDITOR. You can do this by right-click on my Computer > Properties. Go to advanced. Hit the Environmental Variables button. Just add another in there called SVN_EDITOR with a value of C:\windows\notepad.exe
4)      Make the svn repository. And steps for it is given below.

1.      mkdir /home/user/myrepo/
2.      svnadmin create /home/user/myrepo/
3.      remove 3 comments at 3 lines given below from the svnserve.conf located at repository location in “conf ” directory.
anon-access = read
auth-access = write
password-db = passwd
4.        Edit password database file: C:\SvnData\MyProject\conf\passwd and optionally move the file to the target location if you changed default location in configuration file. The file structure is: [users]user1 = password1user2 = password2.
We can also enter the username and password like given below.

harry:passwd1
sally:passwd2

           

5)      Create the different Directory in repository for storing projects, repository, etc….

Mkdir /home/user/myrepo/Projects

This is Command “svn mkdir svn://192.168.0.1/Projects”.

If you want to delete any directory created like above then type below command.

svn delete svn://192.168.0.1/Projects

6)      After making svn repository check the repository using below command.

รจ    svn ls svn://localhost/
It will showing the content in your repository. For now it will just showing Projects directory becoz we have created only one directory.

7)      then Import the project in repository at particular location wherever you want to store using svn import command.

Ex.
D:\users\work\src>svn import TaskManagementSystem "file:///D:/users/work/svnrepository/Projects/TaskManagementSystem"

Where, TaskManagementSystem Project folder is stored in src folder with the source files. And TaskManagementSystem name is the name of directory which you want to import in your specified repository location followed by next path from the location where you execute this command in our example it is from D:\users\work\src.

8)      You can now checkout your project from the repository location to client machine using svn checkout command.

svn checkout svn://192.168.0.1/Projects/testpro
or if you want to checkout or want to do any client side operation without command then you can use tortoise svn and setup is also given in svn installable folder.
And there is minimal requirement to access the svn server from any client machine is to install the svn client setup which is also given in installable folder.

9)      To take a backup of svn repository :
svnadmin dump D:/users/work/svnrepository/ > D:/users/work/svnbackup/svnrepobackup.dump

10)  To load a svn repository from Backup dump of svn repository.
$ svnadmin load newrepos < dumpfile

11)  To remove the repository : svnadmin deltify D:/users/work/svnrepository/


12)  To restore the repository from the backup dump :
svnadmin load D:/users/work/svnrepository < D:/users/work/svnbackup/svnrepobackup.dump

       13)   Or you can take a backup of repository and also can restore the repository by manually copy paste the repository folder.

Thursday, March 25, 2010

Inquiry (Contact me)

This is an inquiry form.
anyone can make an inquiry for any problem regarding Technology.

Commands - (Technology Refrences)

There are lots of kind of commands you found here like Software technology, networking, etc....

There are certain commands used to establish the svn (Subversion) server.

Subversion (SVN) :-

svn import svn://localhost/Projects/TaskManagementSystem/

svn import TaskManagementSystem "file:///D:/users/work/svnrepository/Projects/TaskManagementSystem"

To take a backup of svn repository :
svnadmin dump D:/users/work/svnrepository/ > D:/users/work/svnbackup/svnrepobackup.dump

To load a svn repository from Backup dump of svn repository.
$ svnadmin load newrepos <>

To remove the repository : svnadmin deltify D:/users/work/svnrepository/

To restore the repository from the backup dump :
svnadmin load D:/users/work/svnrepository <>

Monday, March 22, 2010

Java - References

This is all about java references to solve the developers queries and to resolve the developer errors. This is very useful links need for developers.

1. http://www.javawhat.com/gotoDirectorySubmenu.do?submenu=tutorials
2. http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html