Your Questions About Linux Server Configuration

Thomas asks…

constructing a web server?

What I need to do is construct a web server utilizing iis S.M (which is put in on my home windows S machine), share my folder, permit my household to entry my household movies by way of streaming. My query is do i've to create a webpage to do that? or am i able to simply inform iis to share the folder utilizing http after which setup vlc or one thing for streaming? I efficiently setup a ftp site utilizing iis however no streaming out there.

Martin King solutions:

Installation of Web Server.

Requirement:-Operating system- Linux, Package- httpd(Apache server), Configuration file- /etc/httpd/conf/httpd.conf.

Theory:- Apache might be the preferred Linux-based mostly Web server software in use. Once you might have DNS appropriately setup and your server has entry to the Internet, you will have to configure Apache to simply accept surfers eager to entry your Web site.
All the statements that outline the options of every web site are grouped collectively inside their very own part, or container, within the httpd.conf file. The mostly used statements, or directives, inside a container are:
•servername: Defines the identify of the website managed by the container.
•DocumentRoot: Defines the directory by which the web pages for the site may be discovered.
By default, Apache searches the DocumentRoot directory for an index, or house, web page named index.html. So for instance, if in case you have a servername of with a DocumentRoot directory of /residence/www/site1/, Apache shows the contents of the file /residence/www/site1/index.html if you enter in your browser. Some editors, similar to Microsoft FrontPage, create information with an .htm extension, not .html. This is not often an issue if all of your HTML information have hyperlinks pointing to information ending in .htm as FrontPage does. The drawback happens with Apache not recognizing the topmost index.htm web page. The best answer is to create a symbolic hyperlink (generally known as a shortcut to Windows customers) referred to as index.html pointing to the file index.htm. This then lets you edit or copy the file index.htm with index.html being up to date routinely. You'll virtually by no means have to fret about index.html and Apache once more! This instance creates a symbolic hyperlink to index.html within the /residence/www/site1 directory. By default, Apache expects to seek out all its web web page information within the /var/www/html/ directory with a generic DocumentRoot assertion at first of httpd.conf. The examples on this chapter use the /residence/www directory for example how one can place them in different places efficiently.
Installatin Step:B. Check Ip tackle of machine through the use of command: #ifconfig eth0 examine for package deal install or not #rpm –qi httpd.
P. Go to hosts file # vim /etc/hosts add your web server identify together with your ip addree like this
A. Then open configuration file # vim /etc/httpd/conf/httpd.conf and go to line quantity seventy three as ServerName.
A. Change this line as your server identify and make uncomment by remooving # earlier than servername like this ServerName
H. Then verify DocumentRoot path and save modifications and exit from that file press ESC -> : ->wq and press Enter.
S. Change directory #cd /var/www/html and creat one html web page #nano index.html. For save web page press cntrl+o then Enter after which cntrl+X.
S. Run the service # service httpd restart
H. Go to firefox by command #firefox &. And enter your servername you get your web web page.
Conclusion:- We have install Web server and the way change the configuration file.

Richard asks…

linux sendmail server configuration?

Martin King solutions:

Hey nobody answered.
Seems a lot troublesome to offer correct reply.
Anyway let me describe in few easy steps.(however not easy too...)
verify whether or not sendmailpackage is loaded or not through the use of rpm -q begin with configure ur server as DNS.(do not ask how P configure
P.whether it is Red hat S or above go to /etc/mail ------u will discover two information named $ cautious and it's higher to take backup the file b4 continuing.u'll have enter ur values at line quantity 86 as of line eighty five.(in rhel N)ie.,copy the road eighty five and renter as line 86 with ur necessities.similar in line 123 too.
A.then compile this file ( through the use of m4.
A.add the customers as u wanted to make use of mail login.(reminiscent of from outlook categorical)

if u acquired it higher okay,in any other case goto

do this.. Better luck....

William asks…

Configuration for a Linux Server/PC?

Hi Guys,

I am making an attempt to study Linux and want to install a server in a check machine that might permit me to play with it. I am planning to install CentOS or Ubuntu (I am open to any suggestion) to get my expertise as a Linux administrator.

I have tried LiveCDs (Knoppix etc.) and now need to do the set up myself, add/remove packages, check configs, drivers, write shell scripts etc. In brief, I hope to grow to be familair with Linux / UNIX system adminitration in subsequent P -O yr's time.

I was questioning what would be the minimal config of a PC or laptop computer I can get away with? I do not need to spend hundreds of dollars in constructing/shopping for a PC. Just no matter I can scrape collectively to get the ball rolling.

Thanks on your assist :=))

Martin King solutions:

Just about any operating PC can run some Linux servers. I run a Celeron P.4Ghz with 512Mb of ram for my web websites.
Look into:

David asks…

Advance Linux servers configuration?

I have simply accomplished RHCE. I have discovered the essential of linux. Now i need to get the advance information. Can anybody can inform me the web sites, the place i can get the Advance configuration of the all of the servers. like mailservers, webserver, LDAP, iptables etc etc.



Martin King solutions:

I can level you to some, all is dependent upon what you're utilizing because the admin packages etc.
Just a superb seek for Apache, iptables, etc will return a wealth of data.
Also use this one for safety points

One of the best guides is in e-book type.. You can all the time use the guide.
If you do not have it, you need to get it.
And in fact the "Linux Bible"

Good Luck

James asks…

How to construct Linux mail server?

i've to make a Linux based mostly absolutely secured mail server as the school venture. Can any M assist me to determine it.
mail me :=


Martin King solutions:

Setting Up a Linux Email Server in an NT Domain
Last Updated on A Dec 2004

Within these pages I try and doc what I am doing to setup an Linux e-mail server that will get consumer info from a Windows NT server. The main cause for doing this was to eliminate Microsoft Exchange. Not as a result of Exchange wasn't working, although I have encountered issues with it, however as a result of we weren't utilizing all of it is options and, being a small firm, we actually can't afford it. This doesn't imply we won't be making the suitable donations as soon as we choose the packages we will probably be utilizing.

If you have an interest in constructing an e-mail server with out the NT half, simply skip the samba stuff and in addition see the hyperlinks on the finish of this web page.

These pages are at present a piece in progress as I attempt totally different packages and configurations.

Our necessities
No or only a few additional steps when including and eradicating customers from the area by way of NT.
Ability to backup and restore particular person consumer's e-mail packing containers with out pricey further backup 'plug-ins'.
Spam filtering. Preferably with RBL lookups, white lists, and particular person consumer preferences.
A public mailbox readable by the 'Domain Users' group and writable by a PublicFolder group.
System vast handle ebook(s).
Access by way of the web for touring people.
Virus scanning of all e mail because it arrives.
An e mail shopper not as vulnerable to vulnerabilities as Outlook is. (which is type of a separate issue)
With Exchange H.H you are able to do every little thing besides #P (that I've discovered doing catastrophe restoration). Also, spam filtering requires costly third social gathering add-ons or the answer I got here up with utilizing LRP and Exim.

What I got here up with
OS = Red Hat
Decided to make use of this primarily as a result of I am probably the most conversant in it. No, I'm not switching to N and I have not had time to play with Fedora but.
For communication with the NT server that we're retaining, for now.
MTA = Exim A.x
Went with Exim after I acquired a really feel for it on the LRP firewall. Most people appear to make use of Sendmail.
IMAP = Courier's imap server
Another various is University of Washington's imap server (uw-imap)
This comes default with Red Hat, however I needed to construct my very own to do one thing particular.
Web Server = Apache
I had lengthy thought-about switching our IIS to Apache. It is a very nice web server.
Web Mail = Squirrelmail
Another various is Horde IMP. I actually like this package deal, however there are some issues that irk me somewhat.
Anti-Spam = Spamassassin
I prefer it's configuration choices. Exim can do RBL and white record as properly.
Anti-Virus = ClamAV
InoculateIT is our AV software program, however we have to upgrade to get Linux help. For now, ClamAV is working superb.
System-extensive handle books = openLDAP with PostgreSQL database as a backend
We wanted to have the ability to use our contact info with MS Access and I needed to remove retaining info updated in two locations. If we did not want this I would solely use LDAP. MySQL can be used
Email shopper (aka MUA) = Thunderbird
I tried/needed to make use of Pegasus. It would have labored, however it wanted to be a reasonably consumer pleasant system (learn switching Outlook customers). I really feel that its imap integration continues to be somewhat tough across the edges from a primary consumer standpoint, although I have heard that this half is quickly to be rewritten. Thunderbird is working effective, so I doubt I'll change as soon as Pegasus is cleaned up.
Configuration Steps
In the next pages I have tried to stipulate what I have achieved. If a element didn't meet my necessities however I had it working I will depart the steps for others. Most of this you are able to do with RPMs, however in a number of instances you have to construct the packages. If you've by no means messed with Linux, it isn't as arduous as you may assume. Because my check server, an previous workstation, solely has a complete of M.3gig in hardrive area I haven't put in X-Windows. Everything is completed by way of the command line or by way of Webmin.

Note: The order listed under shouldn't be essentially the order it's a must to install the packages. For occasion I record LDAP final, however for those who want Exim with LDAP help then in fact you will want LDAP put in first. Also there could also be elements you do not want, corresponding to webmail entry which might knock out Apache, PHP, and Squirrelmail or Imp. And, too, there are different elements that do the identical issues reminiscent of utilizing sendmail as an alternative of Exim.

Install Linux
Download or purchase the flavour of your selection. Red Hat is right here.
The record of packages I put in on the check field for Red Hat is right here.
Setup Samba and Winbind
This is simply required if you wish to get consumer info from a NT server. There are many different methods to retailer customers that a mail server could make use of.
Unsuccessful makes an attempt with Samba alpha 21 and Samba-TNG.
Install and configure antivirus
This web page has some install notes on a number of packages obtainable and hyperlinks to others.
Build and Setup Exim A.x *New: Building RPMs*
For virus and/or spam detection:
Patch into Exim and Setup exiscan (learn earlier than constructing Exim)
Install and Setup MailScanner
Build and Setup UW or Courier's IMAP *New: Building RPMs*
You can use the Red Hat RPM for UW if you don't want the power to auto-create consumer directories on login by way of pam.
Setup Apache and PHP4
Using Red Hat's RPMs for now.
Setup SSL Certificates on Apache
Some of my notes on establishing Apache
I'll go extra into the configuration sooner or later. For now see the revered package deal's web site:
Setup a system-vast handle ebook
Setting up PostgreSQL & ODBC *New*
Setting up MySQL & ODBC
Setting up openLDAP with again-sql *New: Building RPMs, v2.B.x, PostgreSQL*
Install and configure webmail
Install and configure Squirrelmail
This comes with Red Hat, however the RPM expects sendmail (use the --nodep choice). There are some things in right here which may assist should you go together with the RPM and it modifications pretty shortly, so studying to install just isn't a nasty concept.
Install and configure IMP
Install and configure spam detection by key phrase
to return shortly

Powered by Yahoo! Answers

Leave a Reply