Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th August 2008, 16:15
lolox lolox is offline
Junior Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting up Subversion and websvn on Debian / other ssh port

hi,

i read your howto about "Setting up Subversion and websvn on Debian"(http://www.howtoforge.com/debian_subversion_websvn)

now i'am @step

Code:
$ mkdir ~/TEMP/
$ echo "testing svn" > ~/TEMP/testing.txt
$ svn import -m "importing test over ssh+svn" ~/TEMP/ svn+ssh://example.com/var/svn-repos/project_zen/trunk
$ svn co svn+ssh://example.com/var/svn-repos/project_zen/trunk testcheckout
the error:
ssh: connect to host linuxsofa.net port 22: Connection refused
svn: Netzwerkverbindung wurde unerwartet geschlossen


how i can use subversion with other ssh port?

sorry for bad english, but here is german :/

the next problem is, i used apache2 +php5

@step
Code:
# apt-get install enscript
# apt-get install websvn
root@bitarray:~/test# apt-get install websvn
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
gettext intltool-debian libapache2-mod-php4 libzzip-0-12 php4 php4-common po-debconf
Vorgeschlagene Pakete:
gettext-doc php-pear
Empfohlene Pakete:
libmail-sendmail-perl
Die folgenden Pakete werden ENTFERNT:
libapache2-mod-php5
Die folgenden NEUEN Pakete werden installiert:
gettext intltool-debian libapache2-mod-php4 libzzip-0-12 php4 php4-common po-debconf websvn
0 aktualisiert, 8 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
Es müssen 4274kB Archive geholt werden.
Nach dem Auspacken werden 5661kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]?

the installer will install php4 and remove my php5 but i need php5! what i can do to don't install php4?

Last edited by lolox; 12th August 2008 at 16:44.
Reply With Quote
Sponsored Links
  #2  
Old 13th August 2008, 17:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by lolox View Post
hi,

i read your howto about "Setting up Subversion and websvn on Debian"(http://www.howtoforge.com/debian_subversion_websvn)

now i'am @step

Code:
$ mkdir ~/TEMP/
$ echo "testing svn" > ~/TEMP/testing.txt
$ svn import -m "importing test over ssh+svn" ~/TEMP/ svn+ssh://example.com/var/svn-repos/project_zen/trunk
$ svn co svn+ssh://example.com/var/svn-repos/project_zen/trunk testcheckout
the error:
ssh: connect to host linuxsofa.net port 22: Connection refused
svn: Netzwerkverbindung wurde unerwartet geschlossen


how i can use subversion with other ssh port?
Try
Code:
svn co svn+ssh://example.com:1234/var/svn-repos/project_zen/trunk
where 1234 is your port number.


Quote:
Originally Posted by lolox View Post
the next problem is, i used apache2 +php5

@step
Code:
# apt-get install enscript
# apt-get install websvn
root@bitarray:~/test# apt-get install websvn
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
gettext intltool-debian libapache2-mod-php4 libzzip-0-12 php4 php4-common po-debconf
Vorgeschlagene Pakete:
gettext-doc php-pear
Empfohlene Pakete:
libmail-sendmail-perl
Die folgenden Pakete werden ENTFERNT:
libapache2-mod-php5
Die folgenden NEUEN Pakete werden installiert:
gettext intltool-debian libapache2-mod-php4 libzzip-0-12 php4 php4-common po-debconf websvn
0 aktualisiert, 8 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
Es müssen 4274kB Archive geholt werden.
Nach dem Auspacken werden 5661kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]?

the installer will install php4 and remove my php5 but i need php5! what i can do to don't install php4?
Try
Code:
apt-get install websvn libapache2-mod-php5
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 14th January 2010, 20:45
vheadz vheadz is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sry for entering the thread, but im also a bit stucked within your little tutorial.
i could follow until ive got the same problem as the threadstarter, helped myself with the installation of openssh (helped). but from this point on there are some problems (for me):
you mention "htpasswd2" which im not able to find on my fresh installed system (nor in the synaptic packetmanager).
I tried then htpasswd, which worked, somehow, still leaving me with the feeling i miss something important.
Next one is /etc/init.s/apache2 restart
which is denied ("Datei nicht gefunden") as normal user or root
Next then is the sec. import (svn import -m.....) where i ve got "command not found" , possible related to the first fail, but even when restarting the apache by hand it doesnt show success...
anyway, its a new fresh installed Debian (as Desktop, from the netinstall)
inside the virtualbox 3.1.2 on a Macbook Pro (mid 2009)

any hint highly appreciated,
thx in advance

Michael
(vheadz)
Reply With Quote
  #4  
Old 15th January 2010, 14:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by vheadz View Post
Next one is /etc/init.s/apache2 restart
The correct command is
Code:
/etc/init.d/apache2 restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Setting up Subversion and websvn on Debian osyrixx HOWTO-Related Questions 0 3rd September 2007 13:28


All times are GMT +2. The time now is 06:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.