LinuxQuestions.org
Help answer threads with 0 replies.
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 02-28-2002, 11:13 PM   #1
AhmadFarhan
LQ Newbie
 
Registered: Feb 2002
Posts: 2

Rep: Reputation: 0
Bunch of newbies question


ok.. i've just installed RedHat 7.2 and i've just toyed with it for less than a week so if i seem stupid it's because i am...so pls dunn flame..

here goes....
i can't get a bunch of hot keys to work... (example ctr+alt+plus key for res change ...) am i doing it wrong... i pust ctrl push alt then push the plus key(near the numpad) and release the plus key and release alt and then ctrl??

how do you make something autostart?? like i am sharing a partition with my winxp so now each time i log on i have to mount the drive so i can use it.... i've read that tlinux autostart stuff in the /etc/init.d folder... but do i just add my script in that folder or do i add stuff to files that are already there??


i can't find apachectl ?? i am doing these stuff following the instruction from a book...
it says to restart apache(after i've change stuff in the httpd.conf) i have to use apachectl restart...
i've looked under etc/hhtpd under /usr/sbin and buch of other places still can't find it...



thanx for any help given
 
Old 03-01-2002, 02:42 AM   #2
oUTLAw
LQ Newbie
 
Registered: Sep 2001
Location: Austria
Distribution: SuSE 8.0
Posts: 18

Rep: Reputation: 0
I think I have a solution for your mount problem:

You have to edit the /etc/fstab file.
If you have mounted the partition with i.e. mount /mnt/x or so then you have to find the line for the specified partition in the fstab file and check for the entry " auto " in the last block of words in the line.
If you have mounted the partition with i.e. mount /dev/hda3 /mnt/x then you have to add a new line to the fstab file.
for example:
/dev/hda3 /mnt/x vfat default 1 1

where /dev/hda3 is the partition
/mnt/x is the mountpoint
/vfat is the filesystem
instead of " default 1 1 " you can use:
auto,user,rw,exec

Last edited by oUTLAw; 03-01-2002 at 02:55 AM.
 
Old 03-01-2002, 04:23 AM   #3
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
to make something "autostart", just put whatever it is you wanna load into your /etc/rc.d/rc.local file. easy enough...

as for the apache question, you must be reading a pretty old redhat book, cause apachectl isn't the command in RH. to start the http daemon, try this: "service httpd start". also works for restart, stop, etc... there are versions of RH where you have to leave out the "service", but you get the idea.

also, these two commands can be very useful for finding files:

updatedb
locate your.file
 
Old 03-01-2002, 06:31 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Well about changing the resolution with CTRL ALT +. If you only have one resolution defined in your configuration file then it won't do much. You'll have to set up more resolutions to be able to switch between them. Try reading the man pages or the documentation at www.xfree86.org

And the apachectl is not old. It still comes with even the newest versions of apache. It's the default control script to start and stop the httpd. But most distributions make their own script often based on the apachectl script. Usually the script they use would be in the /etc/init.d directory and be called something like httpd. You can then start it by running '/etc/init.d/httpd start'
On redhat this would be equivalent to 'service httpd start' like Syncrm mentioned.
 
Old 03-01-2002, 12:27 PM   #5
AhmadFarhan
LQ Newbie
 
Registered: Feb 2002
Posts: 2

Original Poster
Rep: Reputation: 0
thanx i will try them out...
 
  


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
Just A Bunch of Thank You XWindows LQ Suggestions & Feedback 1 03-15-2005 04:34 PM
Ultimate Newbies Question Rattz Linux - Newbie 9 11-29-2004 03:39 AM
Xterm question (simple for non-newbies to answer) dhrivnak Linux - General 6 11-04-2003 05:45 PM
: Kernel compiling guide for newbies Question Anibal Slackware 6 08-01-2003 07:06 AM
newbies question frankwong Linux - Software 4 07-01-2003 01:38 PM


All times are GMT -5. The time now is 03:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration