LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2006, 02:17 PM   #1
jmattshirey
LQ Newbie
 
Registered: Jun 2006
Posts: 29

Rep: Reputation: 15
Apache and No-IP


Hey everyone... I have a quick question for anyone to answer. I just installed Apache and No-IP software. Everyone knows y u would use Apache but the No-IP software constantly checks my IP and update it for my DNS. How would I setup both software to auto start if my computer has to reboot? I know I have to modify a file but I don't know how to do it and what I need to put in it to make it work. I would greatly appreciate any help anyone can give me.

Thanks,
.: :.
 
Old 06-11-2006, 02:32 PM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
This will probably vary depending on which distro you are using. Apache should automatically start every time you reboot (you did install it via your distro's package management system, right?).

This link might help you in setting up the no-ip update client to restart on every reboot, although I advise Googling for a setup guide for your specific distro.
 
Old 06-11-2006, 02:48 PM   #3
jmattshirey
LQ Newbie
 
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Can i remote desktop into my Slackware box?
 
Old 06-11-2006, 02:48 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
The best ip updater out there and also extremely easy to use. Check out ddclient

Tux,
 
Old 06-11-2006, 03:19 PM   #5
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
tuxrules, from what I can gather from that page, ddclient only supports dyndns.org and not no-ip.com. Am I right?

jmattshirey, I'm not sure about remote desktop in Linux, it's not something I've ever tried doing. Try reading up on rdesktop. You could also get remote access via ssh (which is installed by default) or vnc.
 
Old 06-11-2006, 03:30 PM   #6
jmattshirey
LQ Newbie
 
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Aight... do i need to setup SSH on my linux(slackware) side?
 
Old 06-11-2006, 05:26 PM   #7
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Quote:
Originally Posted by Gethyn
This will probably vary depending on which distro you are using. Apache should automatically start every time you reboot (you did install it via your distro's package management system, right?).
Yup...no support for no-ip with ddclient...my bad

Tux,
 
Old 06-11-2006, 07:51 PM   #8
jmattshirey
LQ Newbie
 
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Aight.... I want to be able to access my server from remote locations... how can i do this? I need help...


Thanks,
 
Old 06-11-2006, 10:27 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you want to use ssh to access your server, you may want to read through the man pages for ssh_config and sshd_config.

I would recommend that you add your own user's name to the ALLOW_USERS entry, in the /etc/ssh/sshd_config file. This will accept connections only from your account, unless you have another account that also needs to connect, such as a secure ftp program that you use to publish the web content to the server. In that case, add that account also. Having ALLOW_USERS entries trumps all other entries, so you don't need to list a bunch of individual system users in DENY_USERS.

You can configure the ssh server to forward X windows traffic. This will allow you to use graphical configuration tools that slackware uses.

Slackware uses a different system to start services on boot then the distro's I have used, so chkconfig won't work in your case. You will need to read your administrator's manual on how this is done. However, if the Appache service (httpd) is configured to start on boot, then it will start if and when the server reboots.

I would recommend that you disable root login in the /etc/ssh/sshd_config configuration file.
You will need to run ssh-keygen once locally to generate a public/private key pair in ~/ssh/. If you just want to use your accounts password, you will need to press enter by itself when it comes to the passphrase question. But for a remote server, this may not be the best idea. It may be better if someone else had to guess both your account's password and your ssh passphrase before breaking in.
A passphrase would be something like an entire sentence, that would be impossible for someone to guess but easy for your to remember, like "myyellowchimpskatesonbluejello".
 
  


Reply

Tags
dns, init



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration