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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-16-2012, 01:55 PM
|
#1
|
Member
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165
Rep:
|
Is it the PATH variable that stores the paths of all the linux commands?
Hello everyone,
I have setup apache web server in mu SUSE linux. It is working well. The problem is, I have to type the complete path name on the executable httpd to get it running. If i just run httpd, It shows command not found. So is it the path variable where i can make changes? If so, How to do it? I want to just run httpd, and get it running. Kindly help. Thank you.
Regards...
|
|
|
08-16-2012, 02:12 PM
|
#2
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,302
Rep: 
|
Warning. I will be rude and maybe make you angry. And you certainly will not find this post helpful.
Anyway, here it goes:
1) If you don't know the answer, you shouldn't run httpd, as you put your system at risk.
2) Instead of making distro hopping, you should learn the basis of linux.
3) Go to http://tldp.org and begin to read.
Last edited by Didier Spaier; 08-16-2012 at 02:15 PM.
|
|
|
08-16-2012, 02:14 PM
|
#3
|
Member
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep: 
|
Hope this is what you are looking for.
I installed xfce by source and all of it went into /usr/local and I could not run 'startxfce4'.
Solution: Soft linked the startxfce4 to /usr/bin with 'ln -s /usr/local/bin/startxfce4 /usr/bin/startxfce4'. Worked.
Oops Didier Spaier posted right when I was posting. You might want to listen to him a lot more attentively.
Last edited by honeybadger; 08-16-2012 at 02:17 PM.
|
|
|
08-16-2012, 03:00 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,476
|
Quote:
Originally Posted by abhishekgit
Hello everyone,
I have setup apache web server in mu SUSE linux. It is working well. The problem is, I have to type the complete path name on the executable httpd to get it running. If i just run httpd, It shows command not found. So is it the path variable where i can make changes? If so, How to do it? I want to just run httpd, and get it running. Kindly help. Thank you.
Regards...
|
I agree with Dider, but will expand a bit.
You don't say what version of SuSE you've installed, or what version of Apache, and how you installed it. And unless you've installed Apache from source (which you shouldn't have to do, unless you have some VERY custom needs), you start it like you do any other service, through an init script, usually "/etc/init.d/apache2 start", or similar. If you want to modify your path variable, change it in your .profile, .bashrc, or in your /etc/profile file (which affects your whole system).
And do you read the replies in your other threads? Seems a bit familiar...and Google will even be able to answer simple questions like this.
https://www.linuxquestions.org/quest...-a-4175421248/
|
|
|
08-16-2012, 10:52 PM
|
#5
|
Member
Registered: Aug 2012
Location: Chiang Mai, Thailand
Distribution: Kubuntu 12.10 x86_64
Posts: 192
Rep:
|
As far as i know.. Yes.
|
|
|
08-17-2012, 11:00 AM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,476
|
Quote:
Originally Posted by suttiwit
As far as i know.. Yes.
|
How does this relate to this thread???
|
|
|
All times are GMT -5. The time now is 06:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|