mohapi
01-23-2003, 11:37 PM
Inside my home network I've got a new box ready to recieve the install .tgz which is sitting on my RedHat 8.0 box waiting to be sent over the network to be installed on the new ipcop box. I've got my apache server turned on [I think !!] ,but I don't understand where to put the ipcop.tgz file so the apache server will serve it to the ipcop box.
My /etc/httpd/conf/httpd.conf says that the
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"
so I put the ipcop.tgz file into
/var/www/html/ipcop.tgz , and my server name
is 192.168.0.152:80 being the IP address & listening port of my RedHat box. This doesn't work so I didn't do this right.
Now I see that when I run;
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
my error message is;
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
The following is from the Ipcop site.
1.4.4. Making The Installation File Available
This step is only needed if you are installing from bootable floppy and FTP/Web Server. In the root directory / of the iso image there is a file named ipcop.tgz. This file contains a compressed image of the IPCop hard drive. Copy this file to a machine that is running a web server or FTP server. Put it where the server can find it during install. During the install, IPCop will log in to your FTP or web server as anonymous. Most servers do not allow anonymous users to access files out of the server's hierarchy. Even though a directory appears at the top level of the server, such as /pub they really are somewhere else, such as /anonftp/pub.
If you are creating your private network for the first time, change the IP address of the server machine to be on the private, GREEN, network, using a static address. You only need to do this for the duration of the install.
If your server machine is connected to the Internet, remove the connection and physically connect your IPCop PC and other machines together. See Appendix A, for a discussion of your choices. If you are using 192.168.1.1 for the IPCop PC, 192.168.1.2 is a good address for the server. Set the server up with a static IP address, temporarily. You will need to reboot any Windows PC if you change its IP address.
Verify that the IPCop installation file is available via the FTP command or entering its URL from a browser, even if you have to do it from the server machine. You can cancel the download or close your browser once you are sure the URL works.
This Apache is confusing.
Thanks, Dirk
My /etc/httpd/conf/httpd.conf says that the
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"
so I put the ipcop.tgz file into
/var/www/html/ipcop.tgz , and my server name
is 192.168.0.152:80 being the IP address & listening port of my RedHat box. This doesn't work so I didn't do this right.
Now I see that when I run;
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
my error message is;
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
The following is from the Ipcop site.
1.4.4. Making The Installation File Available
This step is only needed if you are installing from bootable floppy and FTP/Web Server. In the root directory / of the iso image there is a file named ipcop.tgz. This file contains a compressed image of the IPCop hard drive. Copy this file to a machine that is running a web server or FTP server. Put it where the server can find it during install. During the install, IPCop will log in to your FTP or web server as anonymous. Most servers do not allow anonymous users to access files out of the server's hierarchy. Even though a directory appears at the top level of the server, such as /pub they really are somewhere else, such as /anonftp/pub.
If you are creating your private network for the first time, change the IP address of the server machine to be on the private, GREEN, network, using a static address. You only need to do this for the duration of the install.
If your server machine is connected to the Internet, remove the connection and physically connect your IPCop PC and other machines together. See Appendix A, for a discussion of your choices. If you are using 192.168.1.1 for the IPCop PC, 192.168.1.2 is a good address for the server. Set the server up with a static IP address, temporarily. You will need to reboot any Windows PC if you change its IP address.
Verify that the IPCop installation file is available via the FTP command or entering its URL from a browser, even if you have to do it from the server machine. You can cancel the download or close your browser once you are sure the URL works.
This Apache is confusing.
Thanks, Dirk