Articles listed under: Linux
Applies to:
Any SVN client using putty to connect to SVN server. For e.g. tortoise SVN
Who is this post for?
This post is for anyone who wants SVN client and server to forget currently configured password
Steps to follow
Know your repository URL
For this you should be using tortoise SVN repo-browser and check out the URL. In my case, it looks like
svn+ssh://jyotsnas@visharad/svnRepos/travel_broker
This tells me following
linux username being used is jyotsnas
the svn server is named as visharad
Probably all SVN repositories are located under /var/svnRepos
Now that we know the servername, in this case 'vish..........................
READ FULL ARTICLE
copy files from one linux server to another through shell
$ scp user@from_computer:dir/filename user@to_computer:dir/filename
open shell to another linux machine from one through shell
$ ssh user@to_computer
Prints the owner of every file or directory in the current directory. The AWK syntax is simply "print the 3rd field in every line of data"
ls -l | awk '{print $3}'
To get the owner of only one file (filename):
ls -l | grep filename | awk '{print $3}'
To compress a folder:
zip -r target.zip folder/
User creation
useradd username
Change user password
passwd username
Add user to a group
usermod..........................
READ FULL ARTICLE
Task at hand:
I have a repository on one of the linux server. As a part of upgradation process, we decided to move the SVN server to a newer better linux infrastructure. Task at hand is to replicate the svn repositories on new server.
Solution:
Create dump for existing repository
svnadmin dump /path/to/repo > /path/to/dump/folder/myrepo.dump
This command creates a .dump file and shows the revisions being dumped as it progresses
Transfer the dump file to new server. This can be accomplished through SSH / FTP connection or a simple scp command as:
scp /path/to/dump/folder/myrepo.dump user@new_server:/path/to/dump/folder/myr..........................
READ FULL ARTICLE
I have a .NET web service that I want to be accessed over https rather than http. Problem is HOW !!
Solution:
Activate SSL on web server (IIS)
Follow steps 1 through 4 of this very useful blog by Eric Longman
Specify the file for which SSL is required
Through inetmgr, browse to the file (in my case the .asmx file). Right click -> Properties -> File Security -> Secure Communications -> Edit
Check Require SSL Channel (SSL)
And you should be done.
Related useful article:
CONSUMING WEBSERVICES OVER HTTPS (SSL)..........................
READ FULL ARTICLE
Assumptions:
You already have SVN installed on your linux server. If you do not know if it is installed, just type command
which svn
If this returns a valid path as output, then it means that svn is installed on your linux box. If not, you need to install it. Installing subversion is very easy (for most distributions) and ample documentation is available on the web. You can start with http://subversion.apache.org/.
Four steps to complete svn repository creation on linux
log onto server as root
I prefer to have all svn repositories in one directory for better organization and easy maintenance. So next step for me would be..........................
READ FULL ARTICLE