LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache and No-IP (http://www.linuxquestions.org/questions/linux-newbie-8/apache-and-no-ip-453761/)

jmattshirey 06-11-2006 02:17 PM

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,
.: :newbie: :.

Gethyn 06-11-2006 02:32 PM

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.

jmattshirey 06-11-2006 02:48 PM

Can i remote desktop into my Slackware box?

tuxrules 06-11-2006 02:48 PM

The best ip updater out there and also extremely easy to use. Check out ddclient

Tux,

Gethyn 06-11-2006 03:19 PM

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.

jmattshirey 06-11-2006 03:30 PM

Aight... do i need to setup SSH on my linux(slackware) side?

tuxrules 06-11-2006 05:26 PM

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,

jmattshirey 06-11-2006 07:51 PM

Aight.... I want to be able to access my server from remote locations... how can i do this? I need help...


Thanks,
:newbie:

jschiwal 06-11-2006 10:27 PM

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".


All times are GMT -5. The time now is 03:21 AM.