LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-22-2001, 08:48 AM   #1
Ky.
LQ Newbie
 
Registered: Jul 2001
Distribution: Redhat 7.1
Posts: 5

Rep: Reputation: 0
Unhappy Some more questions =)


Deleting files

If I do a rm -r I get asked for confirmation on each single file.......how do I stop this confirmation?

Resolution

My res is too high and i can hardly read anything. How do I change this? At the moment I have Gnome running.


MySQL

Firstly does anyone know a good message board for mySQL/Linux?

If anyone has installed mySQL on linux maybe you can help me. I downloaded the standard stable binary 3.23.40 and unpacked it etc. But when I try to run mysql_install_db from the /scripts directory I get this error

"you should do a 'make install' before executing this script"

But I downloaded the binaries! I don't have to 'make' anything do I? Am I missing something fundamental here?

Cheers for any help at all.
 
Old 07-22-2001, 09:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Re: Some more questions =)

Deleting files

You need to set an alias up in your .bashrc or similar:
alias rm=`rm -f`

thus rm will be interpreted as rm -f automatically, where the f option means 'force'

Resolution

edit the erm.... /etc/X11/XF86config file. under the Screen Section you should see a list of different resolutions and modes, change the appropriate values. remember that Ctrl+alt+Plus will toggle the screen modes for you....

You can also run Xconfigurator to do it in a more graphical way, but if you go wrong there, you could easily screw up X to a much greater extent.... so back up!

SQL

You're running RH71? The RPM's for mySQL are located on the CD, just install them with gnorpm
 
Old 07-22-2001, 09:46 AM   #3
Ky.
LQ Newbie
 
Registered: Jul 2001
Distribution: Redhat 7.1
Posts: 5

Original Poster
Rep: Reputation: 0
thanks a lot but could you help me a little further, I am very new to this...

How do I run the CD now? Do I need to install support for it as I cannot see anything on my desktop....

what is gnorpm?
 
Old 07-22-2001, 12:14 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
gnorpm - Gnome RPM manager. in Gnome, just run it in a terminal window, and the GUI will appear (assuming you've got it installed.

if it's not installed....

rpm -iv /mnt/cdrom/Redhat/RPMS/mysql-server-3.23.36-1.i386.rpm

should work, assuming the right path.

also install the other relevant rpms on that cd. (CD 2 btw).

gnorpm is no the first CD if it's not already installed, but i'd guess it already is.

the cd should be automatically mounted, if not:

mount /dev/cdrom
OR
mount /mnt/cdrom

the dev version defines the reference to the hardware, whilst the mnt defines where it should be placed. This pair is defined in the text file /etc/fstab.

There are ways to do this with the gnome managers (and kde) as well... i think you can actually right click on an rpm in a file window and there should be an install option, but i'm not sure about that.

chris
xxxx
 
Old 07-22-2001, 07:30 PM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Re: Re: Some more questions =)

Quote:
Originally posted by acid_kewpie
Deleting files

You need to set an alias up in your .bashrc or similar:
alias rm=`rm -f`

thus rm will be interpreted as rm -f automatically, where the f option means 'force'
I was always under the impression that this behaviour was caused by there already being an alias setup for rm that actually executed rm with a flag that makes it confirm deletes (rm -i I believe). If this is the case then you'll want to actually edit your .profile / /etc/profile / .bashrc file and remove the alias rather than create another.

cheers

Jamie...
 
Old 07-23-2001, 11:31 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
*squirms*

errm... hey I can't be right all the time, if ever...! :-)

Chris
xxxx
 
  


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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 05:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 04:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 08:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 07:35 AM

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

All times are GMT -5. The time now is 03:33 PM.

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