Installing Subversion on top of already installed Apache? - windows

I have a working WAMP environment (Apache Friends). I decided to try Subversion and downloaded CollabNetSubversion-server-1.6.9-1.win32.exe. On the download page there were packages including Apache server which I did not use - because I didn't want to replace my current Apache installation.
I just installed the one that did not include Apache, and now I want to configure it to work with my current Apache. What should I do?
Is there an easy step by step tutorial to explain this?

There's lots of tutorials such as the XAMPP (apache friends) version http://serk01.wordpress.com/2008/09/21/how-to-create-your-own-home-svn-repository-with-xamppapache/ and the WAMP version http://www.reloadedpc.com/other/setup-wamp-svn-subversion-windows/
If all you want to do is create a repository and do checkins and updates locally on your windows machine then just install TortoiseSVN. Tortoisesvn only installs the shell extension for windows explorer, not any command line svn executables. To get those you have to download them separately and make sure they're the same version of svn that tortoise uses or you'll get errors about version mismatches when using the command line svn.

Related

How to upgrade pgAdmin 4 on windows?

I installed pgAdmin 4 as part of the postgres installer for Windows. pgAdmin is now telling me there is a newer version (4.8, > 4.5 which I have). However, there is no built in upgrade functionality that I can see, and when I went to download and run the pgAdmin 4 installer to upgrade, it installed itself in the wrong place, leading to problems.
At first I tried installing it to the default location (C:\Program Files (x86)\pgAdmin 4\v4), which was incorrect, because the previous installation (from the postgres installer) went to a different location (C:\Program Files\PostgreSQL\11\pgAdmin 4).
The second time, I pointed it to my existing install of postgres (C:\Program Files\PostgreSQL\11\pgAdmin 4), but it installed itself to a subdirectory there instead (C:\Program Files\PostgreSQL\11\pgAdmin 4\v4), rather than upgrading the existing installation, once again yielding to duplicated installations and problems arising from that. I assume if I go download the postgres installer, it will just reinstall version 4.5 of pgAdmin, though I have not tested this.
What is the correct method for upgrading a pgAdmin instance originally installed by the postgres Windows installer?
I think the best option is to go to Program and files -> Select PostgreSQL and "Uninstall".
Uninstaller will ask you if you want to uninstall the whole application or only individual components. Select individual components and then select pgAdmin.
This will uninstall pgAdmin from PostgreSQL directory.
From now, install the latest version pgAdmin only from official website which will install it into: C:\Program Files (x86)\pgAdmin 4\v4
If you Download the installer from here https://www.postgresql.org/ftp/pgadmin/pgadmin4/v4.8/windows/
It should automatically install the 4.8 version in (C:\Program Files (x86)\pgAdmin 4\v4)
overwriting any existing 4.x version but keeping your server connections and setting.
In your case, the previous install was in a different place, therefore, you ended up having 2 versions.
What I suggest to you is go to control panel and uninstall from there all the versions you have. After that go to the above link, download and install the v4.8 in the default location. Every time there is a new version available just install it and let the installer install it on the default location.
Please note that your pgadmin server connections can be found in %appdata%\pgAdmin.
Note that I have personally just upgraded from v4.5 to v4.8 using this method (installing it in the default location) and it worked like a charm.
Not sure the best approach here.
If you update directly pgadmin from: https://www.postgresql.org/ftp/pgadmin/pgadmin4/v4.10/windows/ the installation goes into
"C:\Program Files (x86)\pgAdmin 4\v4\runtime\pgAdmin4.exe"
Wheras the installation of the whole EnterpriseDB Installer from:
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads is installed here:
"C:\Program Files\PostgreSQL\11\pgAdmin 4\bin\pgAdmin4.exe"
This looks like a wholly undesirable conflict? And leads to the problem identified by #Anomaly ?
To anyone finding this post (like me), before uninstalling your current pgAdmin 4, be aware that there may be limits on compatible versions based on your version of PostgreSQL. Following the instructions by Claudio Corchez, I removed my existing pgAdmin 4 and downloaded the latest 6.15. When I attempted to install it, the installer informed me that this version was not compatible with my version of PostgreSQL 10.3. So, I headed back and downloaded 4.30, which is now running. Unfortunately, it warns me each time I run it that a newer version is available. I just need to upgrade my entire PostgreSQL installation.
I had the same issue previously, and had to manually select the path.
Apparently now (v. 4.25) it auto-detects the path and updates correctly.
I had to download from the website, there was no update button embedded in pgAdmin itself

How do I install XAMPP to another directory on Windows 10?

I'm having the hardest time installing XAMPP on C:\Development\xampp on Windows 10. I would like my C drive to be as clean as possible so I'm moving as many dev tools to the Development folder as I can to achieve this. I get an error towards the end of the XAMPP installation about a problem running the post-install step. It then suggests I install Microsoft Visual C++ 2008 Redistributable, which I already have the 2012 version installed. Originally XAMPP was installed on C:\ with no problems.
How do I install XAMPP to the above directory or any directory other than C:\?
Edit:
I have tried installing XAMPP portable and now receive the following error
I'm no longer on Windows so I can't re-test, but as I recall, the easiest way I managed this was to use the portable version of xampp.
Make sure to run the shell setup script so that it recognizes it's location properly.
You can get it from Apache Friends
Or from PortableApps.com

Apache on Windows

I want to install Apache server on Windows.
The book says that i can go to official site http://httpd.apache.org/download.cgi and download latest Apache version (Book year 2008, and in example showed 2.2.9v, and this example how to install on Windows, not Linux). So i go to this address, and there latest version 2.4.7, but its .tar.bz2 and .tar.gz extension, and how i understand it will be difficult to install it cause its on Linux, for Windows must be .msi, but there no file with that extension, only 2.0.65 version and older. I understand that in Linux maybe appear earlier Apache version, but how it's real that in 2008 year, there was 2.2.9 version, but now in 2014 the latest .msi version 2.0.65 ?
Easy! Here you go:
http://www.apachelounge.com/download/
You'll find the latest Apache HTTP server's there pre-built for you (Binaries).
Edit: They are not provided in .MSI files like Apache would but you can unzip the files to C:\Apache2 and set it up manually, like a true developer!

SVN version in Maven tasks with SVNKit on MacOS

I am getting this error in a Maven build (mvn clean install) on a Mac with Mountain Lion
org.tmatesoft.svn.core.SVNException: svn: The path 'XYZ' appears to be part of Subversion 1.7 (SVNKit 1.4) or greater
working copy rooted at '/Users/XYZ/workspace/XYZ'.
Please upgrade your Subversion (SVNKit) client to use this working copy.
I had SVN installed as part of the Apple Command Line tools package and that gets installed at /usr/bin. I have installed the latest SVN as well but that got installed at /usr/local/bin.
When the maven build runs, it does not pick up the latest SVN, it picks the older one and fails.
Has anyone faced this kind of problem before?
I think there are 2 options -
1) Somehow force maven to use the new installed SVN.
2) Upgrade the SVN installed as part of Apple' Command Line tools to the latest SVN. I have reinstalled Command Line tools with the latest version but it still sticks to the older version.
I dont control the pom.xml so modifying it is not a viable option.
Any pointers in resolving this would be much appreciated.
Thanks!
This means your svn client is version 1.7 but the working copy(your project workspace) was checkout with the older version.
It's simple by execute the following command at your project root directory, where the pom.xml is there.
svn upgrade
please note, the maven use the svn client which is in your OS path.
After upgrade you should configure your IDE to use the version 1.7 as well. In my case I use the Eclipes Juno sr1 with Svnkit.
Anyhow if you would not like to change the working copy or IDE configuration. There is an alternative by install the svn clinet 1.4/1.5/1.6 and set it active via OS path instead.
I hope this may help.
Regards,
Charlee Ch.

Eclipse SVN plugin install fail on mac pro

Yesterday I had install the eclipse and the Android plugin. Everything works perfectly, but I would like to install the SVN plugin too. I had add the suite, and selected the three main components, but when I click on the next it stack in. The eclipse write "Calculateing requriements and dependencies" and than I just waiting.
So I had disabled all another update site and it works, but then I got the following message:
"could not upgrade:missing compnents: svn.rep.grap". It is very good, but I would like to install this component at NOW beside of the another svn tools.
Any ideas?
The Subclipse plugin can be installed from the Eclipse Marketplace Client or by adding the update site URL of http://subclipse.tigris.org/update_1.8.x
Note that Subclipse requires the JavaHL native library that is part of Subversion. The easiest way to get this is to install the latest Subversion client distribution provided by CollabNet:
http://www.open.collab.net/downloads/community/
You can also install Subversion via MacPorts. Both of these include the JavaHL library and properly link it in your System folder so that is visible to the Subclipse plugin running in Eclipse. I would assume you could also install via Homebrew but I have not tried that option.

Resources