just getting started
First off, im using a mac, so putty is out of the question, ssh etc, so the question is are there workarounds for mac users.
Second question is is there a sort of 1, 2, 3, on the site anywhere.
thanks for baring with me as I try to figure this out, I will be looking at other hosting for my main sites, and use this with the intention of learning for a month, if i can pick it up in a month then i may switch to this wierd world in which you all live.
best
steve
6 Replies
Do you have any experience setting up and managing your own Linux box?
I have a new mac intel so that should be ok.
I looked on the wiki
this seems to be the page that you refer to, but im still unsure where to start as these dont seem to address the issue for a novice.
I have set up the system and migrated over to xen
what I need to do now is set up PHP 5 and mysql
then work out how to set up a domain.
thanks for your help and quick response
steve
None sorry,
s
I ahve worked out how to log in with terminal and ssh on my mac
I am looking at this guide
as i could not find anything better in the wiki here
i am getting these errors when trying to install php.
li6-87:~# apt-get install apache2 php4 libapache2-mod-php4
Reading package lists… Done
Building dependency tree… Done
The following extra packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-common libapr1 libaprutil1
libexpat1 libmagic1 libpq4 libsqlite3-0 libzzip-0-12 mime-support
php4-common ucf
Suggested packages:
php-pear file
Recommended packages:
debconf-utils
The following NEW packages will be installed:
apache2 apache2-mpm-prefork apache2-utils apache2.2-common
libapache2-mod-php4 libapr1 libaprutil1 libexpat1 libmagic1 libpq4
libsqlite3-0 libzzip-0-12 mime-support php4 php4-common ucf
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 4072kB/4634kB of archives.
After unpacking 12.5MB of additional disk space will be used.
Do you want to continue [Y/n]? yes
Err
404 Not Found [IP: 128.30.2.36 80]
Err
404 Not Found [IP: 128.30.2.36 80]
Err
404 Not Found [IP: 128.30.2.36 80]
Err
404 Not Found [IP: 128.30.2.36 80]
Err
404 Not Found [IP: 128.30.2.36 80]
Get:1
Err
404 Not Found [IP: 128.30.2.36 80]
Err
404 Not Found [IP: 128.30.2.36 80]
Get:2
Err
404 Not Found [IP: 212.211.132.32 80]
Fetched 36.0kB in 0s (67.9kB/s)
Failed to fetch
Failed to fetch
Failed to fetch
Failed to fetch
Failed to fetch
Failed to fetch
Failed to fetch
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
li6-87:~#
I have set up a debain 4 system as follows
Configuration Profiles RAM Action
My Debian 4.0 Profile (Latest 2.6 Series (2.6.18-domU-linode4)) - Last Booted - max
Delete Disk Images Size Action
Debian 4.0 Disk Image (ext3) 15104 MB Image Options
256MB Swap Image (swap) 256 MB Image Options
any idea on how to get php4/5 installed?
thanks
@agentbleu:
OK I have made a little bit of progress.
I ahve worked out how to log in with terminal and ssh on my mac
I am looking at this guide
http://www.howtoforge.com/ubuntudebianlamp_server as i could not find anything better in the wiki here
i am getting these errors when trying to install php.
li6-87:~# apt-get install apache2 php4 libapache2-mod-php4
Reading package lists… Done
Building dependency tree… Done
The following extra packages will be installed:
apache2-mpm-prefork apache2-utils apache2.2-common libapr1 libaprutil1
libexpat1 libmagic1 libpq4 libsqlite3-0 libzzip-0-12 mime-support
php4-common ucf
Suggested packages:
php-pear file
Recommended packages:
debconf-utils
The following NEW packages will be installed:
apache2 apache2-mpm-prefork apache2-utils apache2.2-common
libapache2-mod-php4 libapr1 libaprutil1 libexpat1 libmagic1 libpq4
libsqlite3-0 libzzip-0-12 mime-support php4 php4-common ucf
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 4072kB/4634kB of archives.
After unpacking 12.5MB of additional disk space will be used.
Do you want to continue [Y/n]? yes
Err
http://ftp.us.debian.org stable/main libmagic1 4.17-5etch1404 Not Found [IP: 128.30.2.36 80]
Err
http://ftp.us.debian.org stable/main libpq4 8.1.8-1404 Not Found [IP: 128.30.2.36 80]
Err
http://ftp.us.debian.org stable/main apache2-utils 2.2.3-4404 Not Found [IP: 128.30.2.36 80]
Err
http://ftp.us.debian.org stable/main apache2.2-common 2.2.3-4404 Not Found [IP: 128.30.2.36 80]
Err
http://ftp.us.debian.org stable/main apache2-mpm-prefork 2.2.3-4404 Not Found [IP: 128.30.2.36 80]
Get:1
http://ftp.us.debian.org stable/main libzzip-0-12 0.12.83-8 [34.8kB]Err
http://ftp.us.debian.org stable/main php4-common 6:4.4.4-8+etch1404 Not Found [IP: 128.30.2.36 80]
Err
http://ftp.us.debian.org stable/main libapache2-mod-php4 6:4.4.4-8+etch1404 Not Found [IP: 128.30.2.36 80]
Get:2
http://ftp.us.debian.org stable/main php4 6:4.4.4-8+etch1 [1166B]Err
http://security.debian.org stable/updates/main libmagic1 4.17-5etch1404 Not Found [IP: 212.211.132.32 80]
Fetched 36.0kB in 0s (67.9kB/s)
Failed to fetch
404 Not Found [IP: 212.211.132.32 80] http://security.debian.org/pool/updates … 1_i386.deb">http://security.debian.org/pool/updates/main/f/file/libmagic14.17-5etch1i386.deb Failed to fetch
404 Not Found [IP: 128.30.2.36 80] http://ftp.us.debian.org/debian/pool/ma … 1_i386.deb">http://ftp.us.debian.org/debian/pool/main/p/postgresql-8.1/libpq48.1.8-1i386.deb Failed to fetch
404 Not Found [IP: 128.30.2.36 80] http://ftp.us.debian.org/debian/pool/ma … 4_i386.deb">http://ftp.us.debian.org/debian/pool/main/a/apache2/apache2-utils2.2.3-4i386.deb Failed to fetch
404 Not Found [IP: 128.30.2.36 80] http://ftp.us.debian.org/debian/pool/ma … 4_i386.deb">http://ftp.us.debian.org/debian/pool/main/a/apache2/apache2.2-common2.2.3-4i386.deb Failed to fetch
404 Not Found [IP: 128.30.2.36 80] http://ftp.us.debian.org/debian/pool/ma … 4_i386.deb">http://ftp.us.debian.org/debian/pool/main/a/apache2/apache2-mpm-prefork2.2.3-4i386.deb Failed to fetch
404 Not Found [IP: 128.30.2.36 80] http://ftp.us.debian.org/debian/pool/ma … 1_i386.deb">http://ftp.us.debian.org/debian/pool/main/p/php4/php4-common4.4.4-8+etch1i386.deb Failed to fetch
404 Not Found [IP: 128.30.2.36 80] http://ftp.us.debian.org/debian/pool/ma … 1_i386.deb">http://ftp.us.debian.org/debian/pool/main/p/php4/libapache2-mod-php44.4.4-8+etch1i386.deb E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
li6-87:~#
I have set up a debain 4 system as follows
Configuration Profiles RAM Action
My Debian 4.0 Profile (Latest 2.6 Series (2.6.18-domU-linode4)) - Last Booted - max
Delete Disk Images Size Action
Debian 4.0 Disk Image (ext3) 15104 MB Image Options
256MB Swap Image (swap) 256 MB Image Options
any idea on how to get php4/5 installed?
thanks
Either you're hitting a bad mirror, or your APT package lists are out of date. Try running apt-get update; if that doesn't help, replace ftp.us.debian.org with mirrors.kernel.org in /etc/apt/sources.list, then apt-get update
There's a complete Debian HOWTO located here: