LinuxQuestions.org
Register a domain and help support LQ
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 04-05-2004, 05:09 AM   #1
oberonix
LQ Newbie
 
Registered: Jan 2004
Distribution: Ubuntu (Feisty Fawn)
Posts: 26

Rep: Reputation: 15
problems with linux


Hey im a total noob with linux but decided to dive into it with absolutely no experience.

Im a little frustrated trying to figure some of it out heres the big ones:

!.) wine, I cant seem to get it to work no matter what I try, ive gotten it installed I just for the life of me cannot understand its seemingly cryptic instructions on how to install the "fake" windows drive for the programs to use. I redid my partition table and added /mnt/windows to it hoping that I could use that. I cant seem to figure out how to configure this in wine though at all. I've used the config file, and reinstalled since adding the partition but nothing gets copied to the mounted windows, and it doesnt seem to automatically make it anywhere like it says it does on most setups. Doing it manually which seems to be the way I have to do it is giving me some serious troubles.

2.) Apache/services I installed the apache packages and I cant figure out where to even find it, or much less how to run it as a service, any help on this would be appreciated.

3.) In general I'm having trouble finding how to access programs once I install their packages, I tried doing amule and I cant find it anywhere on my system.

Any help on this would be awesome,
Scott
 
Old 04-05-2004, 06:09 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
open a terminal su to root and type
updatedb
this builds a database of all files and folders on the computer
when it's finished, exit root mode and then you can type
locate xxx (where xxx is program name)

wine
installs a fake version of windows in your user areas in a hidden folder (hidden folders have names that start with .) i think it's called .wine
open konqueror, go to View and Show Hidden Files

wine is tricky
i have little experience with it
there are probably quite a few threads on this on this forum
you just need to search a little
 
Old 04-05-2004, 06:52 AM   #3
wijnands
Member
 
Registered: Mar 2004
Posts: 132

Rep: Reputation: 15
2.) is apache running? do a ps-aux|grep httpd
 
Old 04-05-2004, 04:04 PM   #4
oberonix
LQ Newbie
 
Registered: Jan 2004
Distribution: Ubuntu (Feisty Fawn)
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks guys Ill try those out when I get home and see what I come up with.

wijnands, should apache automatically start as a service when i installed it from the package?
 
Old 04-05-2004, 05:08 PM   #5
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Rep: Reputation: 30
some more help

Quote:
wijnands, should apache automatically start as a service when i installed it from the package?
No....although you can set it up to start up on boot. To start apache on my machine I type
/etc/rc.d/init.d/httpd start
other options :restart,stop,status

Quote:
3.) In general I'm having trouble finding how to access programs once I install their packages, I tried doing amule and I cant find it anywhere on my system.
I don't know what amule is...but...each program has a command that starts it. For instance, I use evolution for my mail. To start it I type evolution.....they usually have similar names to start as the program name...usually. The best way to find out how to start it is (for evolution say) from the command line type ev and then press the tab button. You will be given a list of programs that use ev * to run. If you don't see anything, it may not be in your path. Use locate program_name (as mentioned above). Usually, the commands to start programs are in /bin/ or /usr/bin/ or /sbin/ or /usr/sbin
So you would have to type /bin/evolution to start the program. I think you can use the program which to find out the path which evolution.

If all that fails the programs usually have a site with the start command listed on it..or post a question here

Hope that helps

Later
 
Old 04-05-2004, 06:20 PM   #6
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 647

Rep: Reputation: 52
to access programs you have installed go to your run command and type the name of the program
 
Old 04-05-2004, 11:44 PM   #7
oberonix
LQ Newbie
 
Registered: Jan 2004
Distribution: Ubuntu (Feisty Fawn)
Posts: 26

Original Poster
Rep: Reputation: 15
hehe typing the name of the program was too easy for me to even consider it =P thanks a lot on that one guys. Im still having troubles locating my apache program, I did locate and it came up with a httpd directory but not the executable so I cannot start it. And If I use the start command will that make it run on startup as well?

Thanks
 
Old 04-06-2004, 01:17 AM   #8
InTheWired
LQ Newbie
 
Registered: Apr 2004
Location: Sydney, Australia
Distribution: Mandrake
Posts: 29

Rep: Reputation: 15
ober ya didn't really read what devin said did ya ?

/etc/rc.d/init.d/httpd start

Im a linux newb myself although have been taking care of dns/named, http , new user accounts, ftp and mail etc etc at my work. I know a fair bit about setting stuff up but i've only just tried really getting into linux and setting it up at home from scratch.

We use slackware and basically that above command is the same we use to stop/start/restart apache/http.

Try this in your shell/console...
1) "su" -> when prompted type in root password
2) "updatedb" ->will update your file/directory database as mentioned above. Will take a few minutes
3) "locate httpd" -->this will return a list of locations where httpd(apache service) exists. Im not sure on the nuts and bolts although i think httpd is just a script file which then calls the apache service/daemon(?) to start/stop/restart. You are looking for httpd file which exists under rc.d. rc.d directory usually stores an assortment of different scripts(cant remember what rc stands for). once you've cd'd to the directory which contains the rc file type . type
"./rc.httpd start" --> should start the apache service
NOTE: if your inside the directory of a script or app you need to prefix the name with "./" this is telling linux to open a file inside the current directory. "." is a link to the current directory and ".." is a link to the parent directory

Just checked and atleast on our install yep i was right rc.d/rc.httpd is just a script it contains a case based on the argument you pass in when you call it. so if you call with "rc.httpd start" it will actually make the call to "/usr/sbin/apachectl start". I guess in short this means "apachectl" application exists in /usr/sbin/ (where most su apps exists)


hope that helped and wasn't too confusing?
 
Old 04-06-2004, 01:41 AM   #9
oberonix
LQ Newbie
 
Registered: Jan 2004
Distribution: Ubuntu (Feisty Fawn)
Posts: 26

Original Poster
Rep: Reputation: 15
Yeah I actually figured out it WAS running using the taskmanager like thing and found out it was httpd2 because im using apache 2 and all, managed to get localhost to show up and all, change the conf file and somehow broke the server. now it gives me forbidden access on the directory i pointed it to use as docroot. The directory I gave it was a www folder under my normal username directory just so I could use drag and drop to put stuff in there instead of using the default with the console as root. Ill just have to keep playing with the config file anyeone know why I might have broken it just by changing the directory?
 
  


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
problems with windows programs in linux (QEMU, WINE, or linux alternative) bulldogzerofive Linux - Software 2 08-18-2005 06:49 PM
Why do I have so few problems with Linux? vharishankar General 9 10-18-2004 04:01 PM
Always problems printing to Linux from Win and Linux cezarn Linux - General 0 10-08-2003 07:39 PM
complet linux NewBie(problems with the downloaded copy of linux) merlin Linux - Software 3 03-25-2002 02:38 PM
My 2 Linux Problems Yenzarill Linux - Software 9 07-22-2001 02:52 PM


All times are GMT -5. The time now is 02:20 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