Results 1 to 9 of 9
Hey,
I'm working with a semi-dedicated server with CentOS installed. I'm trying to install a mail server following these instructions How to set up a mail server on a GNU ...
- 09-29-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 4
[SOLVED] installing packages
Hey,
I'm working with a semi-dedicated server with CentOS installed. I'm trying to install a mail server following these instructions How to set up a mail server on a GNU / Linux system
As I'm newish to Linux I'm having problems installing packages using commands for Ubuntu. I tried installing the apptitude package using - 'yum makecache' then 'yum apt' but when I type aptitude at the command line it doesn't recognise it?
Thanks in advance for any help (and patience)
- 09-29-2008 #2
You should be able to pretty much replace the 'apt-get' that you're used to with 'yum install', the CentOS equivalent. Just make sure that you run the installer as root.
Alternatively you could install yumex (i.e. 'yum install yumex') and install packages with a nice gui tool.Linux user #126863 - see http://linuxcounter.net/
- 09-29-2008 #3
You said centOS, so here is a link for a goldmine of information on redhat systems.
Red Hat Enterprise Linux
it also has a section on setting up mail stuff and whatnot.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 09-29-2008 #4Just Joined!
- Join Date
- Sep 2008
- Posts
- 4
That 'Red Hat Enterprise Linux' link shows everything with a GUI. I'm connecting remotely using SSH so it isn't much help.
Basically I'm asking how to execute the following Ubuntu command on centOS,
'aptitude install mysql-client mysql-server',
I should probably mention that my Ubuntu knowledge isn't great either!
thanks again
- 09-29-2008 #5
you could try yum install mysql-client mysql-server
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 09-29-2008 #6Just Joined!
- Join Date
- Sep 2008
- Posts
- 4
I get this with yum install mysql-client mysql-server.....
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: mysql-client
No Match for argument: mysql-server
Nothing to do
.....
I assume that means it couldn't find the package where ever it looked?
- 09-29-2008 #7
Whenever you want to find a package, you can do:
it can take several seconds until the output is seen, but it will shorten the list. The 'grep' command does a case sensitive search, but most packages are in lower case.Code:yum list available|grep <part_of_the_name>
For MySQL, try:
that should reveal the package name for you.Code:yum list available|grep sql
Linux user #126863 - see http://linuxcounter.net/
- 10-01-2008 #8
yum list available | egrep -i sql
the egrep is unnessisary (though i prefer it because it extends the regex) but the -i make it search ignoring case sensitivity. but you could just do
yum search mysql
and it would do the same. If your not using regex special charecters (.*$^[^]{,}) or whatever else, than grep is just another process that the command has to go through. for something this small the cpu usage is irrelivant, but since i do alot of scripting, i try to squeze out all the efficiency i can, and it's always fun to learn stuffNew to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 10-02-2008 #9Just Joined!
- Join Date
- Sep 2008
- Posts
- 4
ok thanks guys got it installed


