Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a website being broadcasted and hosted off a computer at my apt. I paid for the domain name but I'm doing all the hosting from that computer. That computer is running fedora 8. I got httpd up and port 80 is open on the firewall. Also, this computer is behind a router at my apt. On the router I put from port 80 to port 80 forward to the internal ip address of the computer running the website.
Do I really need to open port 80 on the internal firewall in fedora 8 of the computer running the website? If I do, since I'm broadcasting the website, will port 80 be open or closed?
Also, I wanna setup a mail server on this computer. Can I setup the mail server on the same computer that is running the website? Is it ok if the ip addresses are the same for the website and the mail server? If they have to be different, I guess I could just install xen and make a vm. Would I have to make a full virtual one for a differnt ip or is paravirtual sufficient for a different ip.
Also, I tried ssh into this computer with the website. I have port 22 open on the firewall and I have the router forwarding port 22 to the internal ip of that computer. Now I'm on a computer in another city in a hotel. I ssh into it (of course I need to enable AllowTCPForwarding on the sshd_config, do I need to do this to a ftpd also? I usually use sftp or lftp. Do they have an AllowTCPForwarding on their config files?)
Anyhow, when I ssh from the hotel into the computer that is running the website at my apt, I try using startx to go into the gui. But it said that it can't because no screens were available in X11. That's because I have this computer running with no mouse, keyboard, and monitor. If I boot up this computer with none of those, then the kernal automatically edits the X11.conf to clear all the screens that were their before? How can I disable the computer from erasing the screens? Or is it impossible to use startx on a computer with no monitor?
One last question, is there a command in terminal that displays information about the files, like the size of them?
1. AFAIK, you would need to open the port in fedora's firewall as well
2.Yes, you can have the same computer running both, yes it is ok for them to have the same ip addresses
3.Not sure on that one
4.You need to edit the sshd config file in order for you to run x in ssh.
I wouldn't normally advise for a web server to be running fedora because it is a bleeding edge distro and is not always stable, I would run something like CentOS, but thats your choice
Yea I've come to find that the gui side is very unstable. Tons of "not responding." Anyhow, in the terminal it's pretty stable. Never had a problem. Since this computer will be my mail server and website, I'm just gonna leave it on init 3. That way it'll be stable, plus i got no mouse, keyboard or monitor on it so it's cool.
As for the website, it's just some personal one, nothing big or complicated and nothing of value so it's chill. Thanks for the answers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.