LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-24-2011, 02:24 PM   #1
eckhard
LQ Newbie
 
Registered: Nov 2011
Posts: 6

Rep: Reputation: Disabled
worksheet for a a centos 6.0 setup?


Hello, i am pretty new to Linux and not quite good with that stuff. However, is this a good way to get started with a web server?

Code:
alias vi='mcedit' #dont ask...

yum install yum-priorities

useradd mouse
passwd mouse

wget http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
rpm -Uvh epel-release-6-5.noarch.rpm

wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm

mcedit /etc/yum.repos.d/remi.repo

yum -y update

yum -y install dovecot postfix

yum -y install perl-Net-SSLeay

yum clean all
yum-complete-transaction
Any suggestions?
 
Old 11-24-2011, 03:02 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Hi Eckhard,

The best way to get started with a webserver on CentOS would be to install the Apache HTTPD runtime:

Code:
sudo yum install httpd
Consider a tutorial geared at installing a LAMP (Linux-Apache-MySQL-PHP) server, such as this:

http://www.techiecorner.com/125/how-...nux-using-yum/

HTH,
Jameson
 
Old 11-24-2011, 03:19 PM   #3
eckhard
LQ Newbie
 
Registered: Nov 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hey ty for te reply. My webserver allready got that stuff on it, php, mysql, ruby httpd and other stuff.
what i tried to ask is: how about updating it and how completely wrong my try is.
 
Old 11-24-2011, 07:55 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Update is just
Code:
yum update
Don't add other repos unless you NEED something that the Centos repos don't have. You can easily break your system.
 
Old 11-24-2011, 08:12 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Don't add other repos unless you NEED something that the Centos repos don't have. You can easily break your system.
you can VERY easily brake the system

rpmforge is 100%safe
BUT rpmforge-extra IS NOT SAFE
the *-extra brakes compatibility with red hat

so install and SET UP "yum-priorities" ( READ the documentation on it !!! )

remi ??? unknown i install firefox by hand

epel and EL should be fine for most cases but USE "yum-priorities"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGTS Setup in Centos 5.3 turiyain Linux - Server 3 12-22-2010 06:18 AM
Help with BIND setup on Centos 5.4 codenjanod Linux - Networking 14 02-11-2010 05:36 AM
Unable to setup a NIS server setup on CentOS system swatidas11 Linux - Server 3 01-19-2010 07:01 PM
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 11:40 AM
Gnumeric's worksheet doesn't display row and column headers correctly frazum Linux - Software 4 07-09-2007 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration