• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2898
  • Last Modified:

How do i config centos in text mode

Dear all

how can i config centos in text mode , to make the configuration for the network cards .
i want to use it with squid.

any help
0
adaheem
Asked:
adaheem
  • 4
  • 3
  • 3
5 Solutions
 
fosiul01Commented:
http://bashcurescancer.com/rhel-50-centos-http-install-text-mode.html

, while following this tutorial, just select installation method , cd rom

and package selection , chose server,

squid should be install automaticaly , or after finishing the installation, you can install squid by yum any time
0
 
Deepak KosarajuSr. Monitoring Architect - Nagios/Op5 SME - ConsultantCommented:
setup
command gives full control of configuration of you system interfaces.
Follow the link below to setup up squid in 5min
http://www.redhatmagazine.com/2007/04/11/squid-in-5-minutes/
0
 
adaheemAuthor Commented:
i want to know how to give or change the  ip of fedora or centos using text mode.
i need to configure the nics to use putty , so i need an ip.

10x
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
fosiul01Commented:
sorry i am not clear

are you trying to install centos or fedora by using text mode ?? if yes, then i have sent you a tutorial

or
are you trying to change ip  of nic card by using command line ??  if yes then you need to use

ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up

check this article : http://www.cyberciti.biz/faq/linux-change-ip-address/

or am i missing something ??
0
 
Deepak KosarajuSr. Monitoring Architect - Nagios/Op5 SME - ConsultantCommented:
which version of Centos r u using if u r using centos 4
then use command called
netconfig

If you are using CentOS 5 the use
setup

0
 
adaheemAuthor Commented:
hi , its version centos 5.2 , i want to know how to config the ip address ,subnet mask ,  gateway , DNS

is there a help page for it ??

10x again
0
 
fosiul01Commented:
ok

cd /etc/sysconfig/network-scripts

vi ifcfg-eth0

then edit as follows

BOOTPROTO=static
IPADDR=192.168.2.116
NETMASK=255.255.255.0

for domain and gateway
cd /etc/sysconfig
vi network
HOSTNAME="workshop.testlab.com"
GATEWAY=192.168.2.1

for dns :

cd /etc/resolv.conf

nameserver 192.168.2.1


hope it will help
0
 
Deepak KosarajuSr. Monitoring Architect - Nagios/Op5 SME - ConsultantCommented:
Here is the perfect helping guide
http://www.howtoforge.com/perfect-server-centos-5.2-p3
0
 
adaheemAuthor Commented:
it was easy. let the network boot at startup , and during the instalation configure the nics.
 
10x for the help
0
 
adaheemAuthor Commented:

it was easy. let the network boot at startup , and during the instalation configure the nics.

10x for the help
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now