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.
Hi:
I have been working with various flavors of linux and am slowly learning. I am very confused about the server, client relationship. I am a stand alone desktop, only 1 computer.
What services do I need to configure as a server?
What services do I need to configure as a client?
And what services can be eliminated?
My computer is an intel pentium 4 (686), single monitor, motherboard intel d865gbf, video,sound, ethernet card all on board. Envision monitor, flat screen, but not flat panel lcd. Usb wireless mouse and keyboard.
Periperals include HP laserjet printer, 250 mb thumb drive, hp digital camera.
I have no scanner, no isdn, no modem, no phone. I do not want any remote connections. No telnet. I do not wish to act as ftp server, but do use ftp as client. I an not sure if i need ssh running? Portmap? How can I ensure all my ports are shut down? Do I need to act as a mail server for myself? File server? What ports must I keep open? 80 http, 88 https, 21 ftp, 25 smmp?
Am I even asking the right questions? I get very lost trying to understand where I fit in. Everything seems to be about networking. FTP, remote conections.
thx in advance for any help in understanding what kind of configuration I am shooting for?
You'll learn with time..you can quite safely just play around as long as you don't use root account (that's where you don't get asked when you're about to do damage). You can disable most of the services you're running; in my own desktop installation I had to disable the vast majority of all the services there were running by default. If you want to know what you need..well you just said it. You need camera, printer, thumbdrive, ethernet interface; hotplug is quite nice for thumbdrives, though not necessary; for camera you don't need any specific service. For your printer...maybe cups, not necessarily. Ethernet..you can set it to be online all the time or just use a simple script to run the connection up or down, or use graphical tools. For your configuration you can switch off quite many of the services. If you're unsure, read about the service from the net (google, for example) to get to know what it's doing there.
The best way to learn is do, try and fail - retry, fail, do again and succeed.
If you don't think you will need a service I would recommend reading the doc on the service. If you need to shutdown a service I normally run pkgtool. It allows me to rerun some of the setup scripts. That is if you are running slackware. What distro are you running?
Thx for replies. I guess I am on the right track. Basically I have been doing as you all suggest and slowly, carefully eliminating. In past I act too quickly and break system. Currently I am running Centos. I got cd from linux mag. I have had best luck with it so far, although I have worked with Suse, gentoo, ubuntu, and a few others, my fall back always knoppix. As I clean up services, I guess I can remove users and groups from passwd, and group files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.