Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
i think it was the fact that i wasnt using the /var/www/cgi-bin/ but when i changed that it still didnt work and i was very dissapoinded but i had to create a new .htpasswd file. then i was reading throught the guide and i remembered to chmod the new .htpasswd when i did it worked.
You'll probably get a bunch of dependancy errors, so in that case....
rpm -e php --nodeps
which will remove it no matter what... the problem is, you may break some other stuff in the process, so you'll HAVE to install it again to fix the stuff that is broken.
In that case, don't uninstall it.... just install another copy right over the top of what you have now.
If you install by source, you're on your own... I don't know all of the little quirks involved with installing a major package like php. I only use RPM for installing on RH/Fedora... especially for big packages like php. I really only install from source with smaller packages where I have some really good documentation or howto's so I can fully understand what I'm doing. Otherwise I simply trust RPMs to handle all the details.
lol, i do find source quite confusing but i never really add options i just do './configure' 'make' & 'make install' but this time when i installed php i added an argument that i saw somewhere and it didnt work from when i first installed it.
how do i get yum ?
Check the man pages for those for more explanation.
If you dont want to mess with that, or if it doesn't work, you can get an RPM from www.rpmseek.com for yum. Just save it to your machine and do...
rpm -Uvh yum.x.x.x.rpm
You may want to check around the forums for other posts I have made... there are explanations on how to set your yum repositories to something better than the defaults. The defaults they give you sometimes work, sometimes don't.
This is one of those I was telling you about... Youve got to use the same domain you've been using for the configure line we talked about earlier, and also for this too. So in the end, I think you'll have a mail account for you@oasis.snerkel.org and it will forward all your mail to you@snerkel.org.
<VirtualHost 1.2.3.4:80> - This indicates I'm setting up my mail interface as a virtual host, rather than IP based. Obviously, you're going to want to replace 1.2.3.4 with the IP address of your web server. Additionally, what you have here may vary from server to server and is dependent on how you have your Apache configured. Be cautious!
i dont get that! what ip am i ment to change 1.2.3.4 to!? my internal or external ip ? i set it to my internal but then i thought that doesnt affect anyone outside my network, BUT ive get a dynaminc ip so can i set it to my domainname ? or can i set it to mail.domain.com ? so that when people go to mail.snerkel.org that will appear.
do i need to setup a virtual host to run SquirrelMail ?
also im not reciving or being able to send mail is there any way to check things ?
Start by checking to see if you have a firewall blocking it. Run...
iptables -L
If you get just a few lines of output, copy and paste them in here. If you get a whole bunch of output it means you have some firewall rules somewhere in there blocking that port. In that case, pipe it to a filename, with...
iptables -L > /root/iptables.output
So you can review the file and see what rules are stopping your port from being open.
If you're behind a router, you want to change that to 192.168.x.x (or whatever it happes to be). Also, if that's the case, then you probably need to open a port on your router to allow 106 to be accessible.
If your server is exposed to the open internet, then change the IP to the external IP given to you by your provider. In that case, you probably have iptables firewalling your 106, so maybe forget what I said earlier.
Also, I wanted to point out about dude's tutorial...
Quote:
Additionally, what you have here may vary from server to server and is dependent on how you have your Apache configured. Be cautious!
As George Carlin says... "Spooky language!" What he is saying here is not very useful except to scare people who are unfamiliar with apache... instead he should put something like "See here for more information... http://httpd.apache.org/docs-2.0/vhosts/name-based.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.