?
Solved

Changing from command line to a graphic interface and installing mySQL in suse 8.2 pro

Posted on 2003-11-17
10
Medium Priority
?
520 Views
Last Modified: 2013-12-15
I'm a newbie for linux, I run win2k as my o/s and have Suse 8.2 Professional running in VMware as a webserver so I can experiment in coding PHP without paying for a host or uninstalling my localhost which I need for ASP.

My friend set it all up for me and he did it without installing mySQL... he's now gone off on holiday for a few weeks and i'm stuck!  He left it in command line mode so I have no graphical interface.

Here's my question:

Can someone either guide me through installing mySQL in command line.... OR ....if that's a difficult way around (esp. considering im a newbie) can you first guide me through changing to a graphical desktop layout and then installing mySQL??

Notes:
1. I have the orginal DVD installation disc I just don't know where to start!
2. The webserver runs fine for most PHP code at the moment, just I can't do anything with db's.

Thanks guys.... tobz
0
Comment
Question by:tobz2020
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
10 Comments
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9768784
For install the mysql in command line is very easy, download the binary source from www.mysql.com and do the procedure as below

     shell> groupadd mysql
     shell> useradd -g mysql mysql
     shell> cd /usr/local
     shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
     shell> ln -s full-path-to-mysql-VERSION-OS mysql
     shell> cd mysql
     shell> scripts/mysql_install_db
     shell> chown -R root  .
     shell> chown -R mysql data
     shell> chgrp -R mysql .
     shell> bin/safe_mysqld --user=mysql &
     or
     shell> bin/mysqld_safe --user=mysql &
     if you are running MySQL 4.x

For changing to graphical mode login, try edit the /etc/inittab from init:3 to init:5
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9768801
Oh for got to say, to understand more about mysql installation or how to go with your PHP, I will recomment you go to www.mysql.com and look for the documentation site, there have lots of informative stuff around and you can search what you need there.

Most of the mysql users 1st will read/search in there.

Hope this info can help.
0
 

Author Comment

by:tobz2020
ID: 9770344
would you believe I need more help on this ;o)

1. on www.mysql.com which version of mySQL do you recommend; 4 or 5?
2. which download should i choose (x86, libc6) or (s/390) or (IA64) or (Alpha) etc?

3. to change to graphical mode do I do the following:
linux:~ # edit /etc/inittab init:5
...and then what do I do as it says 'swap file "/etc/inittab.swp" already exists! ...at which point I just quited as I didn't want to mess anything up.

4. I need the graphical interface done first so I can download from mysql.com... unless I can do it from the DVD?

Thanks for your help....
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 12

Expert Comment

by:paullamhkg
ID: 9775738
1st for download the mysql, I recommend the version 4 because I used it and happy with it, you can make your own choice.

if you using a IBM compatible PC x86 will be the choice.

"/etc/inittab.swp" mean you or someone have already try to edit the file, but not quitting  properly, so try to make a copy of your inittab by "cp /etc/inittab /etc/inittab.bak" so that if there anything wrong you still got the backup file to recover, than try to vi the file again, it will ask you whether you wanted to delete or recover, just choose recover or delete and make you change.
0
 

Author Comment

by:tobz2020
ID: 9781789
thanks for advice but was to no avail, maybe because i dont fully understand how linux works yet... but a friend advised me to just type "startx" after logging in and that worked, a very easy solution!
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9785557
oh sorry I forgot to mention about the startx, what I give out is the xwindows will start up everytime you startup your linux box. Yes, startx is to launch you xwindows from command promt/console mode.

If I'm too busy I'm sure I will give out the same suggestion.

Anyway, you find out the solution, send a 0 point request to EE admin, and request to delete this TA and have points refund, just post the request here http://www.experts-exchange.com/Community_Support/ will do :)

enjoy your linux life.
0
 

Author Comment

by:tobz2020
ID: 9785851
i appreciate your help even though i managed it a different way, sorry you dont get the points!

thanks again
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9794459
Dear tobz2020,

I'm not looking for points, I'm here to learn and trying my best to help.

Dear YensidMod,

please PAQ this and points refund, I've no objection.

Paul
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9806087
PAQed, with points refunded (50)

Computer101
E-E Admin
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month15 days, 15 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question