am i wasting my time


Forum: Other Help Topics
Topic: am i wasting my time
started by: Jonno2002

Posted by Jonno2002 on July 31 2005,05:09
up until 4 days ago id never used linux before and i decided to give DSL a go cause it was a small download and i was bored, so i downloaded it and did a hdd install on one of my machines and ive been playing around with it for last few days and trying to learn how to use it, ive got apache installed and working and now im trying to get php and mysql installed but im stuck with this glib crap, ive downloaded glib-2.6.5 and installed it using all defaults (./configure - make - make install - make clean) and then i went to install gtk+2.6.8 and it said that i didnt have glib-2.6.5 installed when i know i have, ive read lots of sections of this forum but its all a bit over my head at the moment, what i really want to know is if DSL will be good for a webserver at home which is what i really want it for as i currently have apache,mysql,php running on a windows xp machine but id rather have it on linux cause ive been told its better and faster. if not whats a good distro i can get instead, i dont wanna download 4 whole cd's worth of isos tho cause i doubt i need all that just for a webserver.
Posted by fang11 on July 31 2005,05:15
um have you tried php.dsl or php-4-monkey from the mydsl repository?
Posted by newOldUser on July 31 2005,13:23
Here are a couple things you might want to try:

1. Search for Xampp on this board. I think several people have installed it under DSL.  To learn more about Xampp go to < Xampp for Linux website >

2. The user ico2 has been working on a small server edition. I don't think it's connected to DSL organization except for the fact that the current version runs on DSL. Future versions may take another path. It's website is: < HERE >

Good luck.

Posted by Nassho on July 31 2005,18:35
Quote (Jonno2002 @ July 31 2005,01:09)
what i really want to know is if DSL will be good for a webserver at home which is what i really want it for as i currently have apache,mysql,php running on a windows xp machine but id rather have it on linux cause ive been told its better and faster. if not whats a good distro i can get instead, i dont wanna download 4 whole cd's worth of isos tho cause i doubt i need all that just for a webserver.

If you need a Linux Webserver that works Out-of-the-box try IBLS (www.ibls.org).
50MB distro pure Linux Server

Posted by Jonno2002 on July 31 2005,22:59
ok i got xampp and thats all installed and working.

now ive found out my swap file isnt working:

Code Sample
            total       used       free     shared    buffers     cached
Mem:        255196     178092      77104          0       3240      36852
-/+ buffers/cache:     138000     117196
Swap:       264592          0     264592


can anyone help, also ive been trying to figure out the boot process and startup sequence, i know its to do with run  levels and inittab and stuff but its all new and confusing to me can anyone explain it so i could understand, any help is apreciated

Posted by kopsis on Aug. 01 2005,00:27
Looks to me like your swap is working fine. Your "free" output indicates that the full 256M of swap is available for use by the kernel as needed. Note that for the most part, Linux won't hit the swap until it actually needs it (i.e. you run out of physical ram). You're showing that you still have 117M of physical RAM free. Gotta love DSL! ;)
Posted by Jonno2002 on Aug. 01 2005,00:51
ok thanks, now onto the boot thing,

firstly there is a message that comes up right after selecting linux from lilo, saying somthing like wrong number press spacebar or enter for options, i would like to fix this so the error doesnt come up.

next, how do i change the boot sequence so i can add SSH and xampp at startup.

also how do i stop X from loading under the dsl account name at startup, is it possible to change it so it loads up to a command prompt and asks you to log in as root or dsl and then commands like startx can be used manually.

Posted by Jonno2002 on Aug. 01 2005,03:32
ok i figured out the first 2 things and still wanting info about the last thing i mentioned, also on bootup it says dma disabled by boot config (or somthing like that) and its in blue writing, so how do i go about enabling udma for my hard drive on bootup ?
Posted by Jonno2002 on Aug. 04 2005,05:13
ok got dma working, fixed all other issues, but now ive run into another problem. i need the "sendmail" function to work for my webserver and as far as i can see it doesnt exist in DSL so how do i go about installing it
Posted by Jonno2002 on Aug. 06 2005,00:25
cmon guys i need help on this one, ive got sendmail-8.13.4 but im damned if i can figure out how to compile and install it, ive read tutorials but their way over my head, there must be an easy way to get this installed, otherwise ill have to find another distro which support a webserver out of the box
Posted by mikshaw on Aug. 06 2005,04:59
I haven't got a clue how to configure sendmail once it's installed, but in DSL you'll be much better off using apt-get/dpkg to install it than trying to compile it from source.
If you've never used Linux before you''ll have a hell of a time compiling on a full dev system, let alone trying it on a system that has next to no dev tools or headers.

Posted by Jonno2002 on Aug. 07 2005,21:03
and how would i go about using dpkg and/or apt-get, ive tried:

apt-get install sendmail
and
dpkg -i sendmail

and neither work

Posted by mikshaw on Aug. 08 2005,02:09
apt/dpkg needs to be "enabled" (downloaded and installed) before it will work.  There is a menu item called "enable apt" that will install the dsl-dpkg.dsl extension for you.  From that point you can install debs with apt-get or dpkg.
For some deb packages you might need to also install gnu-utils, as well as some dependencies.

Posted by Jonno2002 on Aug. 08 2005,02:20
i have apt-get and dpkg working (as far as i know they work as they should) and ive done "apt-get update" and when i try and install sendmail i get this:

Code Sample
root@0[htdocs]# apt-get install sendmail
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sendmail: Depends: perl but it is not going to be installed
E: Broken packages


then if i try and install perl that doesnt work either, very anoying

Posted by mikshaw on Aug. 08 2005,03:09
It's what a lot of people call "dependency hell"....one application requires another application, which requires another application, etc.  There's really no getting around it unless you find an application built specifically for your distribution.  myDSL extensions are mostly dependency-free, but i'm pretty sure there is no sendmail yet.

If it's a program you really want, the only solution is to deal with the dependencies...keep installing the necessary programs until you finally get everything required.  Apart from that you could search for programs that do not have as many requirements, but i don't think there are many alternatives to sendmail.. The only one i know of is Postfix.

Posted by cbagger01 on Aug. 08 2005,04:01
You could try editing your sources.list file:

sudo beaver /etc/apt/sources.list

and change the "oldstable" to "stable".

Then do another apt-get update

Then see if perl/sendmail will install.

Posted by Jonno2002 on Aug. 09 2005,05:51
ok as far as i can tell sendmail is installed thanks to the previous post, but now i cant seem to get it to work, ive been trying to figure it out all day, ive googled and looked at multiple tutorials and stuff but i still cant get sendmail to work. can anyone tell me step by step what to change to get it to work, all i need it to do is send mail from my forums, im using "inivision power board 1.3 final" and "xampp" for my webserver, before i installed sendmail whenever you sent an email from my forums there was an error but now it says everything is working yet no emails come through. as far as i can see there is no settings to change in the php.ini file for linux installations as opposed to windows where some changes can be made.
maybe i just need a proper sendmail.mc file cause the default one might not meet my requirements but i honestly have wasted so much time and i dont really know enough to sort it out.
any help would be greatly appreatiated.

if it helps im using DSL on a hdd install with 1 network card configured by dhcp to an ADSL router with NAT. ive got DSL running in runlevel 3 so X doesnt start, and ssh and xampp run at startup.

lol so you can see im nearly there but not quite, and having only ever used linux for 1 week i dont think ive done to badly

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.