07-07-2009
ifconfig: set address & submask until it changes again or the machine power-cycles
/etc/hosts: create a mapping between IP addresses and easy to remember names
Both have nothing to do with setting a permanent IP address, subnet mask or default route.
Which distribution are you using?
6 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
Hi guys.
I am gonna buy a dedicated server and make it a public mirror for some distributions.
but how much RAM, Hard Disk, Band Width, ... will suffice? It will be a mirror for CentOS and Ubuntu both. (3 Replies)
Discussion started by: majid.merkava
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
Any one please suggest me the best mysql, apache settings for the given below scenario.
My Server config:
Intel(R) Xeon(R) CPU E5504 @ 2.00GHz
8GB RAM
300GB HDD
Website:
It's a famous wordpress blog
Mysql DB size: 235MB
Expectations:
Server should be handle 600+ concurrent... (0 Replies)
Discussion started by: chandranjoy
0 Replies
3. Linux
Dear Friends,
We have a 4 dedicated servers. All are working but the thing is one server is not working. when i go to network tools and after i enter my host domain i cant able to ping. it is showing host not found. But remaining servers are working. I terminate my account and re-again create... (4 Replies)
Discussion started by: mastansaheb
4 Replies
4. Emergency UNIX and Linux Support
Hi all,
I installed centos 5, with LAMP.
httpd is working fine, ssh, ftp all working ok.
But, when I try to use mysql its not,
when I give the command
mysql
I get
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (4 Replies)
Discussion started by: lawstudent
4 Replies
5. Ubuntu
hi,
I am newbie and I think I am trying to bit off more than I could chew in this field. I would like to know if virtualization with Vmware Citrix on a dedicated server under ubuntu 64bit is simple.
I looked up in the board with keyword "virtualization, vmware, dedicated" but replied threads are... (2 Replies)
Discussion started by: baris35
2 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
I have a dedicated server that sends mail with own smtp (obviously).
On this server I have a web platform for music artists that allows entries for each enrollment and sends confirmation e-mails and so on ...
Now I have purchased a service smtp (like those of smtp.com) because I... (3 Replies)
Discussion started by: colorsthink
3 Replies
HOSTS(5) File Formats Manual HOSTS(5)
NAME
hosts - host name data base
DESCRIPTION
The hosts file contains information regarding the known hosts on the network. For each host a single line should be present with the fol-
lowing information:
official host name
Internet address
aliases
Items are separated by any number of blanks and/or tab characters. A ``#'' indicates the beginning of a comment; characters up to the end
of the line are not interpreted by routines which search the file.
When using the name server named(8), this file provides a backup when the name server is not running. For the name server, it is suggested
that only a few addresses be included in this file. These include address for the local interfaces that ifconfig(8C) needs at boot time
and a few machines on the local network.
This file may be created from the official host data base maintained at the Network Information Control Center (NIC), though local changes
may be required to bring it up to date regarding unofficial aliases and/or unknown hosts. As the data base maintained at NIC is incom-
plete, use of the name server is recommend for sites on the DARPA Internet.
Network addresses are specified in the conventional ``.'' notation using the inet_addr() routine from the Internet address manipulation
library, inet(3N). Host names may contain any printable character other than a field delimiter, newline, or comment character.
FILES
/etc/hosts
SEE ALSO
gethostbyname(3N), ifconfig(8C), named(8)
Name Server Operations Guide for BIND
4.2 Berkeley Distribution May 14, 1986 HOSTS(5)