DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd August 2008
latorion latorion is offline
Real Name: Arthur
Port Guard
 
Join Date: May 2008
Location: Poland-Gdansk-Chojnice-little city;)
Posts: 36
Thanked 0 Times in 0 Posts
Question Few questions about server(openSSH, apache ,) and no-ip.com

Hello,
I decided to try to run my own server on freebsd for myself. Just for test and maybe for my own use in future we will see. But I have few questions. For my website I will use Apache v 1.3. Or maybe I should choose the newest version? I have a book how to configure 1.3v so I think I can make it. But I have a little problems with openSSH. First I have to install it. But it is a version for FreeBSD? I have found openSSH portable but to use it I must run it with linux compatibility. And those programs openSLL and Zlib but I will to compile them as a linux programs too? So even if I run them they will be working? And to have ssh and ftp openSSH is a good choice? I am beginner so if U have any clues or sth or mayby U know software which will be batter and easier to use? And one more question I have dynamic IP but I found solution of this problem. I found site no-ip and dyndns. But which of them is easier to use and free for not commercial use. And if it will be runing on FreeBSD with no poblems it would be great
Regards
Artur

Last edited by latorion; 2nd August 2008 at 09:00 PM.
Reply With Quote
  #2   (View Single Post)  
Old 2nd August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Quote:
But I have a little problems with openSSH. First I have to install it. But it is a version for FreeBSD?
OpenSSH is included with the FreeBSD operating system, you don't need to install it:

Code:
% ssh -V
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004
Quote:
For my website I will use Apache v 1.3. Or maybe I should choose the newest version? I have a book how to configure 1.3v so I think I can make it.
Apache 1.3 will work, while this branch is still supported by Apache, it is aging.
Apache 2.2 is the current stable version and recommended by Apache.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 2nd August 2008
latorion latorion is offline
Real Name: Arthur
Port Guard
 
Join Date: May 2008
Location: Poland-Gdansk-Chojnice-little city;)
Posts: 36
Thanked 0 Times in 0 Posts
Default

Ok thx. So now I know I don't have to install openSSH and which version of Apache should I choose. But I am wondering maybe XAMPP would be easier to configure for begginer then Apache?. And I have one more question cause I have a dynamic IP so I have registered on no-ip.com and add my host. I have my domain my_name.no-ip.info and now I want to install software(this program which is available on it's site). But here is a problem? When I am downloading it it is said that is version for Linux/BSD/unix ok great. I have found in FAQ how to install it but only for linux. Here is the description
Code:
http://www.no-ip.com/support/guides/update_clients/setting_up_linux_update_client.html
So if I install this program using this instruction everything will work well? Or I must run this program with linux capability and then it should work?
Artur
Reply With Quote
  #4   (View Single Post)  
Old 3rd August 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Actually, it appears you can install the noip client program from ports.

/usr/ports/dns/noip

Please read Chapter 4 of the handbook if you're not familiar with how to install packages/ports.
__________________
Kill your t.v.
Reply With Quote
  #5   (View Single Post)  
Old 3rd August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Quote:
which version of Apache should I choose. But I am wondering maybe XAMPP would be easier to configure for begginer then Apache?
I have no experience with XAMPP, but it doesn't look like it will make things easier in the long run, installing apache, MySQL etc. as a port or package is rather straightforward, and configuring a basic setup isn't much harder either.

As for version, just use Apache 2.2 (www/apache22).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #6   (View Single Post)  
Old 3rd August 2008
latorion latorion is offline
Real Name: Arthur
Port Guard
 
Join Date: May 2008
Location: Poland-Gdansk-Chojnice-little city;)
Posts: 36
Thanked 0 Times in 0 Posts
Default

Ok so I have installed Apache 22 using pkg_add but I have problems with no-ip. I have installed it from ports but when I'm trying to configure this I was asked for my mail and password and than I get this error
Code:
Read from dynupdate.no-ip.com failed (connection reset by peer)
I don't have ports forwarding done yet but here is the problem? And If i do ports forwarding I will be able to run my server of course after I configure Apache?
Thx for help
Artur

Edit: ok know its running but I have still little problem with port forwarding. I have Linksys WAG54GS and I know how to forward but I'm not shore which protocol i should choose TCP or UDP or mayby bouth? I want to to forwarding for apache sftp and ssh. Thx

Last edited by latorion; 3rd August 2008 at 10:07 PM.
Reply With Quote
  #7   (View Single Post)  
Old 3rd August 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Quote:
Originally Posted by latorion
I'm not shore which protocol i should choose TCP or UDP or mayby bouth? I want to to forwarding for apache sftp and ssh. Thx
Definitely tcp.
__________________
Kill your t.v.
Reply With Quote
  #8   (View Single Post)  
Old 6th August 2008
latorion latorion is offline
Real Name: Arthur
Port Guard
 
Join Date: May 2008
Location: Poland-Gdansk-Chojnice-little city;)
Posts: 36
Thanked 0 Times in 0 Posts
Default

THX a lot now server is almost working. SSH and FTP is working. But I have a little problem with Apache cause when I try to see my website I have been automatically tried to log on my router? Maybe sb now what is now not working?
Artur
Reply With Quote
  #9   (View Single Post)  
Old 6th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Quote:
Originally Posted by latorion View Post
THX a lot now server is almost working. SSH and FTP is working. But I have a little problem with Apache cause when I try to see my website I have been automatically tried to log on my router? Maybe sb now what is now not working?
Artur
You need to disable "remote management" feature in your router (make sure port 80 is properly forwarded to the web server as well)
Reply With Quote
Old 6th August 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Don't have to disable it, just move it to a different port. That is, if the router supports that. Most should.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 11th August 2008
latorion latorion is offline
Real Name: Arthur
Port Guard
 
Join Date: May 2008
Location: Poland-Gdansk-Chojnice-little city;)
Posts: 36
Thanked 0 Times in 0 Posts
Default

I have done it but it still don't work. But I will tell U what going on when I will have mouse because logging from Free to XP is not comfortable. So when I will have working mouse I will try to configure Apache. Thx for helping
Artur
Reply With Quote
Reply

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
can not star Apache web server. bsdnewbie999 OpenBSD General 21 4th April 2009 07:18 AM
Upgrade Apache 1.3 mod_ssl to Apache 2.2 beandip FreeBSD Ports and Packages 11 26th March 2009 09:12 PM
Mail server questions Zmyrgel OpenBSD General 13 4th July 2008 01:45 PM
Can't use bash on chroot'd openssh environment jploh FreeBSD General 2 18th June 2008 02:12 AM
What is the best kind of OpenSSH? php111 Other OS 3 3rd June 2008 10:32 PM


All times are GMT. The time now is 11:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick