SVN Server on Ubuntu 12.04 LTS with Web Access Rumi, December 9, 2015December 9, 2015 To install SVN server, run this command at the command prompt: sudo apt-get install subversion libapache2-svn apache2 Make the directory where you want to keep the svn repositories and edit the dav_svn.conf file: sudo mkdir /svn sudo nano /etc/apache2/mods-enabled/dav_svn.conf Delete all the data and make it simple like this 🙂 <Location /svn> DAV svn SVNParentPath /svn AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/apache2/dav_svn.passwd Require valid-user </Location> To create a svn user , use the following command: sudo htpasswd -cm /etc/apache2/dav_svn.passwd arbab We only need to use the –c option for the FIRST TIME, when you create a user, after that you will only use the -moption. Move to the folder, where you want to keep your repositories and create your first repository: cd /svn sudo svnadmin create test_repo Make sure you set the permissions of the /svn directory to apache with the following command: sudo chown -R www-data:www-data /svn Restart the apache2 service: sudo /etc/init.d/apache2 restart On Windows machine, Right-Click and select the SVN Checkout, inside the directory where we want to store the working copy (In my case, it’s on desktop). Enter the repository’s URL and click OK, it will be prompted for a login and password. Enter the login informationand click OK. We shall receive a screen that looks like this: Create some test file inside the checkout repository, Right-Click and Select the SVN Commit: Enter the comments that describe the purpose of this commit: It will be prompted for a login and password. Enter the login information and click OK. The result of the commit will appear in a dialog window. Congrats! now we have a working SVN server on Ubuntu 12.04 🙂 Src: https://rbgeek.wordpress.com/2012/05/01/svn-server-on-ubuntu-12-04-lts-with-web-access/ Related Administrations Configurations (Linux) Apache2DebianSVNUbuntu
Install Perl CPAN on CentOS troubleshooting Net::LDAP June 20, 2012June 20, 2012 First we need to make sure our perl modules are all there and up to date. We can do this easily by Running perl -MCPAN -e –shell Let it run. Answer “no” when it asks about Manual configuration. Once it stops you'll be at the cpan prompt….type install Bundle::CPAN this will… Read More
Install LibreNMS Monitoring Tool with Nginx on Ubuntu 20.04 March 30, 2021March 30, 2021 First, it is recommended to update your system packages to the latest version. You can do it with the following command: apt-get update -y After updating all packages, install all the dependencies required for LibreNMS with the following command: apt-get install rrdtool whois fping imagemagick graphviz mtr-tiny nmap python3-mysqldb snmp… Read More
MySQL Master-Master or Master-Slave Replication Error Fix January 18, 2013 Scenario Master – Master replication MasterA is a client facing server MasterB is a warm standby server (read only) MasterB restarted abruptly and when instances were braught back up MasterA (it’s slave) was showing the following error: MasterA has the following error in show slave status: Last_IO_Errno: 1236 Last_IO_Error: Got… Read More