MySql installation for linux
MySql installation for linux
I need to install the latest, stable release of MySql-server.
A MySql version is already there, MySql 4.1
This is my OS version.
$cat /proc/version
Linux version 2.6.9-5.ELsmp ([email protected]) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005
Any idea as to how i go about this??
I have got to used doing things on windows.......Linux makes me sweat. Could someone guide me, Plus I connect to this remote server via Putty....so all i have is command line
How do i uninstall the old version etc......??
Thanks in advance!!
A MySql version is already there, MySql 4.1
This is my OS version.
$cat /proc/version
Linux version 2.6.9-5.ELsmp ([email protected]) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005
Any idea as to how i go about this??
I have got to used doing things on windows.......Linux makes me sweat. Could someone guide me, Plus I connect to this remote server via Putty....so all i have is command line
How do i uninstall the old version etc......??
Thanks in advance!!
imagination is once limit......
Re:
OK....i'll do my home work on the versions...etc......But i'd like to understand this installation procedure in Linux......whats the equivalent of going to the control panel and removing a software on Linux????
imagination is once limit......
It's handled by a package manager, which is entirely dependent on your linux distribution.OK....i'll do my home work on the versions...etc......But i'd like to understand this installation procedure in Linux......whats the equivalent of going to the control panel and removing a software on Linux????
Debian/Ubuntu use APT - "A package tool".
Gentoo uses "emerge".
Fedora core and red hat enterprise linux(RHEL) use YUM.
lines go something like: "yum install mysql-server".
type "yum --help" for more information, or, rtfm with "man yum".
Re:
Version
Any idea as to where this "yum" software is?? Should i add it's path, so that it works from any location??
Code: Select all
$cat /proc/version
Linux version 2.6.9-5.ELsmp ([email protected]) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005
Code: Select all
[root@trisvr3 /]# yum
bash: yum: command not found
imagination is once limit......
Linux update
Is there some way like "windows update", where Linux gets all the latest updates of its software?????????
imagination is once limit......
As he said before:
Each linux distribution has it's own program to deal with installing and updating packages.
I've been SSHing into a linux server with Putty myself a bit. The system I'm SSHing into uses a modified version of Busybox linux, and uses a very stripped down (but still very functional) package manager called ipkg.
I suggest you do a search for yum and see where it is, and go to that folder. You need to locate the file before you can add it's path.
Each linux distribution has it's own program to deal with installing and updating packages.
I've been SSHing into a linux server with Putty myself a bit. The system I'm SSHing into uses a modified version of Busybox linux, and uses a very stripped down (but still very functional) package manager called ipkg.
I suggest you do a search for yum and see where it is, and go to that folder. You need to locate the file before you can add it's path.
I've been writing miserably bad code since I was 12, and things haven't changed yet...
-
- Posts: 8
- Joined: Mon Mar 24, 2008 6:58 pm
Yeah if it doesn't have yum it'll have rpm.
USEABILITY WARNING: RPM is wank. You were warned.
Code: Select all
rpm --help
man rpm
info rpm
Bobbias wrote:I suggest you do a search for yum and see where it is, and go to that folder. You need to locate the file before you can add it's path.
Code: Select all
[root@trisvr3 /]# find -name 'yum'
./etc/log.d/scripts/services/yum
imagination is once limit......
Re:
I did a man on rpm, i found tht to upgrade we use the following.
rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
I have mySql installed on this server, I want to upgrade it to the latest stable version.
But i dont find any mySql rpms...........infact these are all the rpms i have (i guess)
Windows has spoilt me I guess, I seem to find Linux very hard to understand.
@JamesM {aplogies}
rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
I have mySql installed on this server, I want to upgrade it to the latest stable version.
But i dont find any mySql rpms...........infact these are all the rpms i have (i guess)
Code: Select all
[root@trisvr3 /]# find -name "*.rpm"
./root/sudo-1.6.7p5-30.1.i386.rpm
./root/IBMJava2-142-ia32-JRE-1.4.2-9.0.i386.rpm
./root/bcm5700-8.3.14-1.src.rpm
./root/tg3-3.66d-1.src.rpm
0.rhel3.ia64.rpm
./var/cache/alchemist/printconf.rpm
./usr/share/doc/vim-common-6.3.035/Changelog.rpm
./usr/src/redhat/RPMS/i386/tg3-3.66d-1.i386.rpm
./usr/src/redhat/RPMS/i386/tg3-debuginfo-3.66d-1.i386.rpm
./usr/src/redhat/SRPMS/tg3-3.66d-1.src.rpm
[root@trisvr3 /]#
@JamesM {aplogies}
imagination is once limit......
-
- Member
- Posts: 391
- Joined: Wed Jul 25, 2007 8:45 am
- Libera.chat IRC: aejsmith
- Location: London, UK
- Contact:
If possible you should update to RHEL5. It's far better, has a newer MySQL and a decent package manager.
If you can't, get the RPMs for MySQL 5.0 here
You want to get the RHEL4 x86 Server, Client, Shared libraries, Shared compatibility libraries and Headers and libraries packages. Download them all to your server and install each of them in turn with
If you can't, get the RPMs for MySQL 5.0 here
You want to get the RHEL4 x86 Server, Client, Shared libraries, Shared compatibility libraries and Headers and libraries packages. Download them all to your server and install each of them in turn with
Code: Select all
rpm -Uvh /path/to/file.rpm