Subversion (SVN) tricks
When you use Subversion as a source control management system it is useful to know some magic commands. The next command cleans, updates, adds and shows status of local repository: svn cleanup \...
View ArticleApache and SVN configuration with user permissions
This tutorial shows how to configure Apache+SVN couple. 1. First of all you should install Apache Httpd server (version 2.4 in this case) with DAV_SVN module and subversion client: yum -y install...
View ArticleMultiple SSH keys configuration
If you are using, for example GIT, it may be needed to use different ssh keys for different servers. By default git client uses “~/.ssh/id_rsa” private key. And you’ll get the error like: Permission...
View ArticleGenerate SSH key (identity)
To generate SSH key you have to do following: 1. Install any SSH client (if absent). 2. Show existing keys: ls -la ~/.ssh It can be empty. 3. Generate key itself: ssh-keygen -t rsa -b 4096 -C...
View ArticleUsing RSYNC to backup (synchronize) folders
If you want to synchronize two folders use next snippets. 1. Sync folder “source” content to “target” folder: rsync -arpv --delete /mnt/source/ /mnt/target Notice trailing slash for “source” folder!...
View ArticleChange default password for Oracle 11g Database
To change the default password for SYS and SYSTEM users use the trick. 1. Run in shell: sqlplus / as sysdba 2. Change password for SYS: SQL> alter user SYS identified by "your-super-password"; 3....
View ArticleExclude beans from tests in Spring Boot
Running unit tests bootstraps, for example, scheduling tasks (EnableScheduling, Scheduled). To exclude automatic start up auto-configuration beans with annotation you can follow next instruction: 1....
View ArticleInstall Oracle Java 8 on Ubuntu Linux
To install Oracle JDK 8 on Ubuntu you can choose one of two methods: A. Automatic installation: sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo...
View ArticleAccess to device over 3g mobile internet or NAT
The problem is to present access to your device (pc, raspberry etc) which has usb-dongle (or wifi) connected to mobile internet provider. So, in this case you have no public (white) IP address and...
View ArticleGit configuration across multiple repositories
Often you need to push across many git repositories with different credentials. The simplest way is to edit “$REPO/.git/config” file to setup environment. But may be more convenient is to keep...
View Article
More Pages to Explore .....