Server :: HTTP Network Install - CentOS 5.4
Jul 9, 2010
I've been attempting to setup PXE/HTTP network installs so we can better handle deployments for new systems. I have a test CentOS 5.4 VM running, and another test VM that I want to deploy 5.4 to. TFTP, DHCP are all working correctly. Apache 2.2.3 config "seems" OK. When I kick off the VM which I will install to, DHCP discovery and IP allocation works, the TFTP server is found, I am presented with a menu option of OS selection.
I choose #1, for my 5.4 but then it immediately tells me:
"Invalid or corrupt kernel image"
/var/log/messages doesnt show anything other than the DHCP OFFER/ACK process and that TFTP client doesn't accept options
/var/log/httpd/error_log doesnt show anything either
Not sure where else to look for diagnosis.
My Apache config directory: /var/www/html/CentOS
Content listing:
[root@CentOS-test CentOS]# ls -la
total 4515700
drwxr-xr-x 4 root root 4096 Jul 9 10:38 .
drwxr-xr-x 3 root root 4096 Jul 8 16:46 ..
-rwxrwxrwx 1 root root 4619468800 Jul 6 15:54 CentOS5.4.iso
-rwxrwxrwx 1 root root 932 Jul 6 17:37 initrd.img
-rwxrwxrwx 1 root root 70 Jul 6 17:37 ks.cfg
drwxr-xr-x 2 root root 4096 Jul 9 10:38 msgs
-rw-r--r-- 1 root root 13100 Jul 9 10:37 pxelinux.0
drwxr-xr-x 2 root root 4096 Jul 9 10:38 pxelinux.cfg
-rw-r--r-- 1 root root 932 Jul 9 10:33 vmlinuz
pxelinux.cfg contains:
0A000000
default
pxeos.xml
My Apache DocumentRoot: /var/www/html/CentOS
Directives:
<Directory "/var/www/html/CentOS">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Forgot to add this line from my pxelinux.cfg/default file:
label 1
kernel 5.4/vmlinuz
append initrd=5.4/initrd.img ramdisk_size=16000 method=http:/10.37.129.3/CentOS ip=dhcp
(I think I have found my problem.. 5.4 was in the TFTPBOOT directory, but now that I'm using HTTP, I changed this to be:
kernel CentOS/vmlinuz and append initrd=CentOS/initrd.img) -- question is, will just changing this work?
View 7 Replies
ADVERTISEMENT
Sep 14, 2009
Somebody know anyway to install Centos with http install into a vlan network? I need to tag interface during ip-confgiration.
View 1 Replies
View Related
Apr 6, 2010
I have been beating my head for the last few weeks on this problem, (although I have been taking the wrong approach, it seems).
I need a gateway to direct web traffic to three separate servers/domains. I have been trying to do this with both a dns server and , (seperatly), apache server to forward requests. The dns server was a no go, and <i can only get apache to redirect http and ftp.
After Googling this ALOT, I believe that what I need is a gateway server to redirect my traffic to the 3 different servers. I have been reading about using using nat and iptables for this and was wondering if anyone had any advice/suggestions on this. The other thought I had was to use something like pfSense to create the gateway, but I am still reading the documentation, and I am unsure if this approach will work.
View 1 Replies
View Related
Feb 10, 2010
I want to use http protocol for my localdomain's yum. This is the base tag of current local.repo which is using ftp.
[base]
name=Base repository for localdomain
enabled=1
baseurl=ftp://192.168.100.1/pub/os/i386
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
View 8 Replies
View Related
Feb 1, 2010
I need to have Opensuse 11.2 use my proxy server here in the office and it is by hostname/ip:8080 only not HTTP. The problem is using Yast2 I don't have the option of using the proxy that way it wants http. I've been using opensuse on and off since 9 (great flavor BTW my favorite) Easy as you need it to be and just as complicated as you want it to be, a perfect mix.
View 8 Replies
View Related
May 7, 2010
I'm trying to set a PHP script on my http server. The Script is "Gen2". I Follow All the instruction of the script and set up in the server but when i open it on the web browser this error happen.
Free Image Hosting
I try others script and works correctly
I don't Think is a script error because it was tested in a web server.
*** I dont write the script I download from the internet
here is the script gen2.rar
View 3 Replies
View Related
Jul 8, 2011
My ISP has a bad habit of killing nearly all sustained FTP transfers (reset packet to my router and the remote host) and I need to install CentOS 5.5 on an older pc that doesn't have a DVD drive. My solution would be to (temporarily) turn on IIS on my laptop and extract the contents of the DVD to the ftp dir, but do I simply just drop everything in there with the same directory structure as the DVD or is there a particular way I should set up the directories?
View 3 Replies
View Related
Aug 28, 2010
* a router/gateway. The external interface have the public IP, an other the DMZ, a third the internal room* a DMZ with the web server* an internal network (internet public room)I redirect the http port 80 to the web server. You should see him there.But I can't see this web site from the internal room. From the public IP /URL I have some sort of non existent message (sorry forgot to copy it). If I call for the private IP, I get the home page (but not the CSS files)the gateway nat's the networks.What is the trick to see the web site from the internal network?
View 4 Replies
View Related
Sep 28, 2009
I was wondering how i can install thru FTP and/or HTTP if the source-path isn't correct recognized by the installer. e.g. http install
Server name:
The installer recognized
[url]
And i can't start the directory without a slash. So, the installer never will find the files it is looking for. Using CentOS 5.3.
View 5 Replies
View Related
May 16, 2010
I'm trying to set up a server for an NPO who connects to the Internet through an internal proxy (Websense). I can't access the Internet unless through the proxy.
Since it's a server I did not install a GUI so I'm wondering how to connect the new server to said proxy server. I have the IP address, port number and username-password for the proxy server. The new server has a static IP address and is ready too go!
View 6 Replies
View Related
Jan 19, 2009
When I attempt to install a new hardware system over the wire via NFS I get the following error:"unable ro retrieve http://192.168.0.1//install/images/stage2.img."The httpd.conf file is configured to use /var/www/html as the root. I have placed the installation files in /var/www/html/install. In the http install screen I enter the following information:Web site name: 192.168.0.101CentOS directory: installI have tried many different variations in these two entires, but the error always is the samw: the installation script searches for an address which has an extra / character interposed between the server IP address and the directory path entered in the next line.
View 6 Replies
View Related
Aug 11, 2011
i am forwarding HTTP request to a internal server, it is quiet successful but access logs donot show the ip of the external m/c. Rather it shows the ip of the machine on which i have enabled port forwarding.
View 2 Replies
View Related
Nov 6, 2010
I've been running a SuseStudio-built VM for a few weeks with no issues. I built a new one recently, and now I can't configure a new vhost in Apache using the http-server module. It gives me this error. Screen shot 2010-11-06 at 11.42.24 AM.png. Why YaST suddenly decided that my hostnames aren't valid?
View 1 Replies
View Related
Aug 4, 2010
I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?
View 1 Replies
View Related
Dec 21, 2010
Some time yesterday, I lost the ability to ssh my remote server, or even visit any webpages it hosts.
I've explored hosts.deny, /var/log/secure and even turned iptables off to see if it would fix anything. To no avail. Here's what my ssh login attempt looks like:
Quote:
localhost ~ $ ssh -vv x.x.x.x
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
[Code]....
View 5 Replies
View Related
May 2, 2011
I have a problem installing CentOS 5.5 over lan. I set up a dhcp3 server and it works, client got an ip. I set up a tftpd-hpa server and it works, client can boot the install image of CentOS 5.5 I set up an apache server and it seems to be impossible... In the installation marathon I clicked through the menu to the choice of the web server where my installation files are available. I enter the ip 192.168.138.1 and the path CentOS-5.5 and CentOS tells me "Unable to retrieve http://192.168.138.1//CentOS-5.5/images/stage2.img" . Thats right because the two slashes are not right. Where the hell come the two slashes from???
I edited my httpd.conf like this:
<Directory /tftpboot/CentOS-5.5>
Options Indexes
AllowOverride None
</Directory>
[Code]....
View 4 Replies
View Related
Feb 24, 2010
I have tftpd-hpa and dhcp3-server up and running. I just want to install server edition via network, from the host machine (my laptop, running ubuntu 9.10) with an ISO file (ubuntu 8.04 32-bit server edition). I managed to boot the client machine with pxe-netboot technique, but instead downloading all the files from internet, I need to do this process directly from ISO. To transfer ISO from host to client, I also installed Apache. I unpacked ISO file into /var/lib/tftpboot/server/. I created a link to the Apache root: /var/www
Code:
ubuntu@ubuntu:/var/www$ ls
returns => index.html server
server folder is the place where I unpacked the ISO.
My dhcp3-server has this setup and it works well with netboot, but I don't know how to add Apache to the formula to transfer the iso file from host to client. Firewall is disabled. This is my edited /etc/dhcp3/dhcpd.conf file.
Code:
host pxeinstall {
hardware ethernet 00:06:29:DE:E3:CD;
fixed-address 192.168.2.4; (client IP)
next-server 192.168.2.2; (host IP)
filename "/server/install/netboot/pxelinux.0"; (relative to tftpboot)
} subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.2 192.168.2.5;
option routers 192.168.2.1; }
When I pxe-boot the client, the process comes to a halt when tftp server is trying to access to pxelinux.0 file. I got thls error:
PXE-T00: Permission denied
PXE-E36: Error received from TFTP server
I have no experience with Apache... so I think there is a problem with my IP addresses.. Do I need to use 127.0.1.1 instead of 192.168.2.1 (my routers IP)?
View 3 Replies
View Related
May 21, 2011
I'm trying to setup a Centos 5.6 Squid Proxy Server with Content Filtering & Antivirus Scanning Incoming HTTP Traffic from the Internet
I then proceeded to setup an configure the Proxy Server, i was able to test and confirm that Squid and Dansguardian Content Filter is working, however i dont know if Clamav is scanning HTTP traffic before it hits the client/server. Is there a way i can check if the Antivirus scanning is working.. is there some log file or real world test i can i can do to confirm that Clamav is scanning incoming traffic or even blocking potential viruses ??
Anyone who has squid proxy server with Clamav configured and its working can share there settings/setup with me and how they tested it ??
View 1 Replies
View Related
Jan 12, 2010
I try to install my Fedora 12 machine from my http server.but i fail to install it on the client side machine give me a error like
unable to retrieve.Here is the step what i did.
1)I copy the entire my rpm of F12 DVD to the /var/www/html/rpm
2) and start the http server (my http server is start without any problem).
3)on the client side machine i booted from f12 dvd after askmethod i select url.
4)and enter the ip address of 192.168.10.2(for client ip address),192.168.10.1(gateway),and 192.168.10.1(nameserver)
5)after that i enter the [URL] this is my http.conf file
<VirtualHost 192.168.10.1>
ServerAdmin root@server.homepc.com
DocumentRoot /var/www/html/
DirectoryIndex index.html
ServerName server.homepc.com
</VirtualHost>
Note => i configure the dns server on 192.168.10.1 machine , and this machine is also a my http server.
192.168.10.1 has a domain name of server.homepc.com
192.168.10.2 has a domain name of client.homepc.com
View 1 Replies
View Related
Oct 1, 2010
i have successfully done the setup of postfix and dovecot on this link [URL]I run Cent OS on top of window 7 via VM Player,i want to access mailbox from windows 7 using email client like Thunderbird and Outlook. What setting i need to do in my mail server ?
View 1 Replies
View Related
Jan 13, 2010
i want to install my f12 machine via http server, plz guide me how can i set my http server for that .
View 1 Replies
View Related
Oct 19, 2010
Is there a tool or way to find out how much http or ftp data is going through network?
View 4 Replies
View Related
Aug 17, 2011
how do i able to allow some users that are able to create content in directory of http server. For example: i have configured a web server which have default document root /var/www/html, now i want to extend my web server through virtual hosting , i have enable virtual hosting, but i want that user sumit is able to create content in /var/www/html/secret. which is the document root for my virtual site?
View 5 Replies
View Related
Mar 14, 2011
In my workplace, I can't update Centos using http protocol, but, it's possible with ftp (I tried with Debian and it's work). How to configure the repositories in Centos 5.5, to download the packages by FTP?
View 4 Replies
View Related
Mar 8, 2011
I have a debian box running Apache2 and PHP5.2.6 lenny.
When a request is made via https, php displays the content fine. If the request is made over HTTP the file is offered for download, rather than displaying it.
I know its probably something trivial but I've never seen this issue.
The plot thickens, I can display PHP over HTTP in some directories but not others (which offer the file for download)?
View 9 Replies
View Related
Apr 26, 2011
Here is my query:
Squid document says that Squid accepts only HTTP requests but speaks FTP on the server side when FTP object are requested.
We call Squid HTTP and FTP caching proxy server. Does it also caches FTP contents? Is it possible to configure FTP clients to use Squid cache? When we make an FTP request to an FTP site via Squid will it be bypassed?
View 5 Replies
View Related
May 12, 2011
I have an opensuse 11.3 install which I want to set up as a network boot server to install Solaris 10 on a Sun Ultra 10 client. According to what I've read, this requires rarpd and tftpd which I've set up on opensuse, but also bootparamd which I can't find for 11.3. It seems it was last included with opensuse 9.2. Does anyone know if it's available, if I could use the suse 9.2 version, or any alternative?
View 3 Replies
View Related
Apr 22, 2010
In Network Settings in OpenSuse 11.1 while using "Traditional Method with ifup" I am able to set up a box as a server and connect via http over the net BUT Firefox cannot browse. If I switch to "User Controlled with NetworkManager" I can run Firefox but my server is not contactable. How do I do both?
View 4 Replies
View Related
Apr 25, 2010
My box has to connect to internet using specified http proxy.I have set proxy in both kde control center and yast2 control center. They both tell me the proxy works fine. But when I really try to use yast2 to update my system, it report an error:
Code:
Failed to download ./repo/repoindex.xml from [URL]
History: - [AbstractCommand.cc:195] URI = [URL]
Even I try
Code:
export http_proxy=http://XXXX
yast in command line,the error still exist.
In debian apt-get and slackware slackpkg,my proxy works fine. So I am sure it is not my fault and maybe it is a bug of yast2.
View 7 Replies
View Related
May 30, 2011
My computer shares an internet connection using an ADSL router.There are other three machines.I have set up a Apache server for learning purpose and I want it to be inaccessible from anywhere else including the PCs in the network.When I enter my ip-address assigned in the network (192.168.1.1xx) from other computer,I get my ppages and I dont want that.
How can I block HTTP requests from other computers?
View 6 Replies
View Related