Rss Feed
Tweeter button
Facebook button
Technorati button
Reddit button
Linkedin button
Delicious button
Digg button
Flickr button
Stumbleupon button
31 articles and counting
      
Articles tagged with: linux

linux: handy commands

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

linux how to: replicate svn repository

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

IIS SSL and linux openSSL

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

How to make SVN remember password

Who is this post for? This post is for anyone who wants a step by step guide to accomplish any of the following Make a SVN client like tortoise svn remember password Make linux server remember your password when logging through putty Tools you need: Putty Puttygen What you need to do: Using putty - login to linux server. change directory to ~/.ssh/ by typing following command cd ~/.ssh Type command ssh-keygen -b 1024 -t dsa and press enter. Do not enter a passphrase. Hit enter when prompted for one. Same for the filename. default filename = id_dsa and id_dsa.pub. id_dsa is the priva.......................... READ FULL ARTICLE


Parse error: syntax error, unexpected '<' in /home/philogy/public_html/wordpress/wp-content/themes/prettypress/statcode.php on line 7