catalyst2 community forums  

Go Back   catalyst2 community forums > Support > VPS

 
 
LinkBack Thread Tools Rate Thread Display Modes
Old 27-10-2004, 09:37 AM   #1 (permalink)
Registered User
 
tddlard's Avatar
 
Join Date: May 2004
Posts: 32
Send a message via ICQ to tddlard Send a message via MSN to tddlard Send a message via Yahoo to tddlard
Installing Software

I have Fedora on a VPS, and wanting to install apache, php, mysql etc. I have attempted to use rpms (with and without using apt), but getting problems relating to makedev. Should I use rpms or compile from source? I submitted a ticket on this, but am curious as to what other people say.

Output when trying to install apache with apt

Code:
apt-get install httpd 
Reading Package Lists... Done 
Building Dependency Tree... Done 
You might want to run `apt-get -f install' to correct these: 
The following packages have unmet dependencies: 
httpd: Depends: libapr-0.so.0 
Depends: libaprutil-0.so.0 
raidtools: PreDepends: MAKEDEV (>= 3.0) but it is not going to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Output when trying to install makedev via an rpm

Code:
rpm -Uvh MAKEDEV-3.3.8-2.i386.rpm 
warning: MAKEDEV-3.3.8-2.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2 
Preparing... ########################################### 
[100%] 
Cannot install the MAKEDEV package: mounted devfs detected. 
error: %pre(MAKEDEV-3.3.8-2) scriptlet failed, exit status 1 
error: install: %pre scriptlet failed (2), skipping MAKEDEV-3.3.8-2
tddlard is offline  
Old 27-10-2004, 10:38 AM   #2 (permalink)
rob
Resident NetOp/*nix Geek
 
rob's Avatar
 
Join Date: Dec 2003
Posts: 223
I really recommend going from source. The problem you're seeing there is an RPM oddity, it's really not required for it to operate. I recommend compiling from source for another reason too, you're likely to get a much more maintainable system if you understand what components you have installed, also you'll be able to disable the bits that you're not going to need, and hence it's going to be more secure (with components that you don't need you'll probably not look at their configuration and hence might leave holes).

There's a guide to compiling Apache on my site, here

Rob
rob is offline  
Old 27-10-2004, 11:06 AM   #3 (permalink)
Registered User
 
tddlard's Avatar
 
Join Date: May 2004
Posts: 32
Send a message via ICQ to tddlard Send a message via MSN to tddlard Send a message via Yahoo to tddlard
Cheers for the very useful information. I will have a go once I get in from work, not something I can do sneekily.
__________________
If all else fails
rm -fdR /
www.robert-bruce.co.uk
tddlard is offline  
Old 27-10-2004, 11:18 AM   #4 (permalink)
rob
Resident NetOp/*nix Geek
 
rob's Avatar
 
Join Date: Dec 2003
Posts: 223
No problems, post back if you've got any problems, and I'll do my very best to sort them out for you.

Rob
rob is offline  
Old 18-11-2004, 11:20 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 18
ftp

Rob,

I'm trying to install a mail server (Surgemail) by downloading it from the netwin site then uncompressing and installing it, but ftp doesn't seem to be there. I have tried transfering the file first at their suggestion, but can't access the server that way. If I try and do everything in SSH, I get bash: ftp.netwinsite.com: command not found. Could you tell me how I should be doing this with this server set up please?
simon is offline  
Old 18-11-2004, 11:28 PM   #6 (permalink)
rob
Resident NetOp/*nix Geek
 
rob's Avatar
 
Join Date: Dec 2003
Posts: 223
To open a connection to an ftp server, you need to use the following set of commands:

$ ftp
ftp> open <ftp server addr>

The $ shows that this is your shell, it may be a # if you are root. The ftp> prompt appears automagically once you've opened the ftp command line project, Open then tells the client to open the server, and you can then type your auth info.

Alternatively, get the full path to the file and use wget:

wget ftp://ftp.com/pub/path/to/file/tar.tar.gz

Rob
rob is offline  
Old 19-11-2004, 10:45 AM   #7 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 18
When I do this the $ ftp isn't recognised and the # ftp doesn't give the ftp> prompt, just iguana:~#. with wget I get command not found
simon is offline  
Old 19-11-2004, 11:46 AM   #8 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 9
Is wget installed ?

try which wget - should give something like /usr/bin/wget

if not installed just do an apt-get to install it first, not sure that is installed
by default so might be a solution for you
iloop is offline  
Old 19-11-2004, 01:20 PM   #9 (permalink)
rob
Resident NetOp/*nix Geek
 
rob's Avatar
 
Join Date: Dec 2003
Posts: 223
You'll need to make sure wget is installed on the machine. With ftp, make sure you're not typing the prompt, either "#" or "$".

Rob
rob is offline  
Old 19-11-2004, 02:17 PM   #10 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 18
I installed wget and have retrieved and saved the zipped and tarred file. I am now having trouble finding it to uncompress it. which directory would it be in? I have tried whereis and which but just get no such file or directory although it says it is there. many thanks for any help.

Simon
simon is offline  
Old 19-11-2004, 02:42 PM   #11 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 9
if you just did wget on the file it should be in the directory you were in when you executed the command.

try cd /

du -a | grep "filename" to locate it.
iloop is offline  
Old 19-11-2004, 03:36 PM   #12 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 18
thanks a lot. have installed it
simon is offline  
Old 03-12-2004, 11:57 AM   #13 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 18
compiler

can anyone recommend a compiler which works and is easy to install please?
simon is offline  
Old 05-12-2004, 02:41 PM   #14 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 18
ok, done this now

gcc with apt-get is easy
simon is offline  
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.