for anyone trying to do the same thing...
follow these directions http://wiki2.archlinux.org/index.php/Ap … nd%20MySQL (i only did the apache, not php and mysql)
then edit /etc/httpd/conf/httpd.conf and find the 'DocumentRoot' and <Directory ""> and change them to whatever directory you have the packages in. mine are in /home/Arch, so i put DocumentRoot "/home/"
.....
<Directory "/home/">
and in the pacman.conf on my box, i added
[Arch]
Server = http://10.1.100.121/Arch
then ran pacman --refresh and pacman -Syu
worked like a charm
btw, i found out how to make a mirror.....i just had to look a little farther into the forum
]]>thanks for your help!
i have 1 more question, tho....is it possible for me to make this computer a mirror for some of the slower servers? the sys admin of my network throttles ftp severely and i d/l at like .2 k/s...so i was thinking that maybe i could mirror the slow servers so id be able to get 'em off that computer instead.
]]>or. you could mount an nfs share, and use the file:/// designation to use that mount.
]]>I used http and i got:
:: Retrieving packages from Arch...
--20:59:02-- http://10.1.100.123/Arch/zinf-2.2.5-3.pkg.tar.gz
=> `zinf-2.2.5-3.pkg.tar.gz.part'
Connecting to 10.1.100.123:80... failed: Connection refused.
error: failed to retrieve some files from Arch
and for ftp:
:: Retrieving packages from Arch...
--21:00:17-- ftp://10.1.100.123/Arch/zinf-2.2.5-3.pkg.tar.gz
=> `zinf-2.2.5-3.pkg.tar.gz.part'
Connecting to 10.1.100.123:21... failed: Connection refused.
error: failed to retrieve some files from Arch
is there a program i need or something i need to configure...i can ssh, scp, vnc, ping, etc. the computer with no problem....is there anything i need to do for pacman?
]]>[repoName]
Server = file:///path/to/repo
otherwise, you need to use ftp, or http
[repoName]
Server = ftp://10.1.100.123/Arch
##or
#Server = http://10.1.100.123/Arch
Server = sftp://10.1.100.123/Arch
Server = smb://10.1.100.123/Arch
Server = file://10.1.100.123/Arch
Server = 10.1.100.123/Arch
and i got:
[root@chrismo pacman.d]# pacman --refresh
config: line 65: protocol sftp is not supported
[root@chrismo pacman.d]# pacman --refresh
config: line 65: protocol smb is not supported
[root@chrismo pacman.d]# pacman -S zinf
Targets: zinf-2.2.5-3
Total Package Size: 1.7 MB
Proceed with upgrade? [Y/n]
:: Retrieving packages from Arch...
failed copying 10.1.100.123/Arch/zinf-2.2.5-3.pkg.tar.gz
error: failed to retrieve some files from Arch
(i just picked a random file from my repo.)
[root@chrismo pacman.d]# pacman --refresh
config: line 65: bad server location
Does anyone know how to setup my repo?
im on arch .7 kernel 2.6.10 pacman 2.9.5
repo computer ubuntu 4.10 kernel 2.6.8