CentOS 5 Server :: Trying To Build A Webserver At Home To Run CPanel
Jun 21, 2010
Im trying to make a webserver at home. I have a static IP Address of my ISP (o2) I have built a server ( 2.8 p4HT, 2GB Ram, 500GB HDD) Just to test... But, i dont know what to do in the IP Address settings for the IPv4 ( I think thats what it is) Do i put my static IP address in my ISP gave me, or the local IP of the server ( Wich is 192.168.1.72) Im realy confused. Ive tried everything i can think of, Reinstalled the os about 40 times up to now...
View 1 Replies
ADVERTISEMENT
Jan 1, 2010
I have two servers, both running CentOS, but one running Cpanel as the control panel and the other running Webmin.
I would like to sync the web folders using rsync. However, when I sync the files from the Cpanel host the permissions look as follows:
Code:
But that doesn't work on the Webmin server which needs the following:
Code:
It seems the Cpanel install has the group as 'nobody' whilst webmin has it the same as the file owner. I can fix this by running:
Code:
But as the file transfers will be frequent, I don't want the files to be inaccessible until chown is run.
So, what I really want to know is - how can I change things on the 'webmin' server so that files with ownership owner:nobody will run?
View 1 Replies
View Related
Jun 28, 2010
I am interested in setting up a webserver on a PC I have laying around...more for the experience and knowledge of learning it from scratch. I have used dedicated servers before with webhosting, but did not do the installations of apache and other items. The server we had purchased had CentOS installed.
My question is, can I use this desktop I have to simply install the CentOS DVD torrent off their website, and start from there, with installing apache, and all the other items associated with a server environment to test/play around, or is there a difference and something I am missing with my plan to do this?
The end result will be having my desktop setup as a "server" I can ssh into and screw around with just to learn more about it.Sorry for the basic question. (i posted this here instead of the "newbie" section, since i figured it would get moved here)
View 6 Replies
View Related
Feb 26, 2011
I use VPS because when i was on share hosting. My website was hacked by hacker. Now i'm using VPS. I want to ask how to update webserver application such as Mysql, phpMyAdmin, lighttpd I use centOS 5 i386 and i use Kloxo Panel. I was already installed Mybb.
View 1 Replies
View Related
Dec 18, 2009
Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.
But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com
I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.
View 1 Replies
View Related
Nov 11, 2010
I have 4 centos5 apache webservers all on the same network, recently, 2 of the webservers have stopped being able to ping or browse one particular website where feeds are obtained from this site. I have checked and firewall and selinux settings are disabled. The two webservers are able to ping and browse other sites. Dns settings are the same for all 4 servers. traceroute for working and not working webservers are the same.
View 1 Replies
View Related
Jan 13, 2010
I am using centos 5.3 , and also using webserver in local network
Here is all configuration
1, server
eth0 , 222.80.1.90 this is live ip
eth1 10.0.0.1
2, webserver
eth0 10.0.0.2
I want set iptables on server 1 , to acces webserver from other city ,
How to configure iptables
View 2 Replies
View Related
May 26, 2009
While communicating with cpanel , they said they don't support on any NAT router based network. To host website with cpanel internet should be connected directly with modem (no router) I have a dell poweredge server and recently brought PCI modem. I have 8 IP static addresses from my ISP. cpanel as they said that they don't support networking.
View 3 Replies
View Related
Jan 12, 2010
I know this seems obvious but i'm stuck. I'm trying to install squid via the command "yum install squid" and here is the output:Quote:
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
[code]....
View 1 Replies
View Related
Jul 20, 2010
difference between cpanel and pleak? for which service they are being used?
View 2 Replies
View Related
Feb 16, 2010
I need to install latest xen 3.4.2 to my centOS. I have:
* xen 3.4.2
* Linux 2.6.18 with Xen 3.4.x support source tarball, updated for Xen 3.4.2
* CentOS kernel-2.6.18-164.11.1.el5
Linux 2.6.18 with Xen 3.4.x have old cciss and scsi drivers. It don't support my hardware.
CentOS kernel-2.6.18-164.11.1.el5 works normaly, but was not compiled with xen 3.4.2.
How can I patch Linux 2.6.18 kernel or upgade CentOS kernel to the latest xen?
View 9 Replies
View Related
Jul 19, 2011
I am trying to build rpm for openssh 5.8p1 on centos 5.6 (32 bit) as i have not found rpm for i386 online. i followed the below mentioned steps but when i apply command rpmbuild -bb openssh.spec it gives this error at the end:
configure error: Pam Headers not found
error: Bad exit status from /var/tmp/rpm-tmp.18348 (%build)
if there is any rpm availble online or to sort out this build problem,Following steps i followed to build rpm. wget http://mirror.mcs.anl.gov/openssh/portable/openssh-5.8p1.tar.gz
tar -xvzf openssh-5.8p1.tar.gz[code]......
Now if you go back into /usr/src/redhat/RPMS/<arch> , you should see three RPMs. Go ahead and install them:rpm -Uvh *.rpm
View 5 Replies
View Related
Mar 16, 2010
I have a cpanel server(not sure if that matters). I wanna transfer to another cpanel server. The size is about 3TB, I dont have enough on the hard drive to zip then transfer that way, and cpanel cant handle moving such a large migration.Been searching on the net to find an answer but everyone saying to backup then migrate. whats best tar or rsync or somthing else.
View 3 Replies
View Related
Aug 21, 2010
I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...
View 6 Replies
View Related
Feb 28, 2010
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).
View 4 Replies
View Related
Mar 3, 2010
I've got a dedicated server using whm/cpanel and there is a particular domain being hosted which contains a very elaborate .htaccess file which is full of mod_rewrite rules, among other things. I've been asked to try and get the contents of this .htaccess file into the httpd.conf (or some appropriate include file) to improve performance.
I've been reading this page and it's really confusing me: [url]
In the file usr/local/apache/conf/httpd.conf I see that there are two VirtualHost sections that appear to be relevant for my domain (which I'll call mydomain.com). The first listens on port 80 and the second is on 443. Seems to me that my apache directives in .htaccess would belong in this section. In the first section I see this:
Code:
In the second section I see this:
Code:
The problem with both of these is that the directory /usr/local/apache/conf/userdata does not exist, much less the full path to either of those files.
View 1 Replies
View Related
Feb 12, 2009
I have one server at home, connected through a router that gives me a static IP:192.168.1.2 - My PC192.168.1.3 - CentOS serverI enabled the port 80 into router forwarding system and I can connect properly to CentOS server, using the IP my internet provider gives me. My router automatically forwards a changed IP to my dyndns.com account so I can also access the server through a domain name (I pay to have it linked to one of my domains).My next step is to configure the mail server (dovecot) , so I can send emails from my local server(192.168.1.3).I was wondering if anyone has any tutorial links or tips to have the mail server configured through a home internet provider + home router.
View 5 Replies
View Related
Aug 25, 2009
I have a home DNS server that has been working for some time today. Today I restarted to restarted it to clear the cache on it and now it refuses to answer and requests. Named starts fine with no errors. Here is named config file that worked for about 2 weeks fine and now doesn't want to work.
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
forwarders {
192.168.1.10;
};
forward only;
};
zone "." {
type hint;
file "/etc/db.cache";
};
View 1 Replies
View Related
Aug 31, 2009
OS: CentOS 5.3
vsftpd ver: vsftpd-2.0.5-12.el5_3.1
I installed vsftpd server in one of my servers using "yum install vsftpd" command. NFS server is running in the other server and mounted as "/data" in this FTP server. root in FTP server has also root authority in NFS server. All the files and sub-folders under "/data" in FTP server have 755 or 766 mode. Even I modified vsftpd setting to allow root login.
When I login as root to FTP server with FileZilla client, I can see all the file list in root home directory and move to /data directory. I can download any file in a local HDD but I can not download any file in /data directory.
View 1 Replies
View Related
Mar 22, 2009
I am trying to set up a web based FTP site on my home server, I got ftp up and running and I can log into it using an ftp client but I want to set it up so I can get to it from the web. I put the directory in the www/html folder but that does not seem to help it
If anyone could point me in the right direction that would be great. I also need to let anonymous users get access to it.
View 2 Replies
View Related
Jun 26, 2011
How to implement the web in my home in centos? that web should be access by out site using public IP? is it possible? how to do that?
View 5 Replies
View Related
May 15, 2010
I just installed 5.4 on a home machine and I would like to get a UPS that will auto shutdown the server if the power goes out. Here an inexpensive tripplite from Costco. [URL] I only need it to shut down the 1 centos 5.4 machine if the power fails. Tripplite has linux software now that will shutdown machines. [URL]
View 2 Replies
View Related
May 25, 2009
I am looking for advice on a what I am sure is a very basic procedure but I have never had to set this up before and am not sure where to start.
I am running 2 CentOS5.3 boxes. I have one webserver connected to the internet and behind a firewall. I would like to set up the 2nd server (database) behind the webserver and completely inaccessible from the internet. Ideally so it can only be accessed by first ssh'ing onto the webserver and then ssh'ing from there onto the database. The webserver connecting locally to database.
From what I have seen it looks like I need to set this up using NAT but I have never done this and do not know what is involved. Can someone point me in the right direction and optimally outline the steps I need to take to hook this up? Do I need to worry about any specific hardware configuration as well?
View 3 Replies
View Related
Mar 25, 2011
I got below Code from Someone so that I configure Squid using which I can block websites.
#!/bin/sh
# squid server IP
SQUID_SERVER="192.168.0.2"
# Interface connected to Internet
INTERNET="eth0"
[Code]....
View 1 Replies
View Related
Aug 9, 2009
I have a dedicated server running Centos 5.2. I have a Wordpress MU site that's setup over apache 2, mysql 5, php5, and I use phpmyadmin as well. I'm able to read the database as my website appears perfectly fine, however, I can not write to it. What exactly do I need to install on my Centos sever to allow my site to interface with the database? I've used shared servers and VPS's with no problems but this just won't work. The support team seems clueless and I'm ready to ask them to reinstall my entire OS and everything else again.
View 2 Replies
View Related
Jul 29, 2010
Im running drupal on my webserver and, this morning all of the sudden I went to edit a node and now I cant load the website in my browser at all. I can ping the machine and SSH into it fine, but it will not load the website in chrome or IE, I have no idea whats going on here.
Edit: I did a 'service httpd restart', it took 3mins to restart, is this normal? After I did that it loaded once, not even all of the page, now its doing the same thing again.
Edit2: Now it seems to be working fine again...
View 1 Replies
View Related
Aug 17, 2010
I would like to remove openldap from my Centos home-server..
Centos offers me:
Quote:
Removing:
openldap i386 2.3.43-12.el5_5.2 installed 592 k
openldap x86_64 2.3.43-12.el5_5.2 installed 598 k
[Code]...
..obviously I'll not remove openldap by this operation.. but my question is: there is another way to remove a single package with yum without "consequences"?
View 4 Replies
View Related
Jul 16, 2011
I previously installed centos using DHCP. Now I purchased a domain name and want to set it up as a webserver. if I choose the static ip address based on the existing DNS server given to me by the domain company, it will ask for the subnet mask, default gateway and i do not have them.
View 6 Replies
View Related
Mar 31, 2010
I am trying to configure a BIND DNS server to handle three websites on my home network, (my site, my sons site and our test site). Since my ISP uses dynamic DNS, we are using DNS2GO to redirect our traffic, 9EACH SERVER HAS IT'S OWN VERSION OF dns2go running).My problem is that I can't figure out how to configure BIND since I don't have a static IP to enter into the named.conf or reslov.conf configuration files.
View 7 Replies
View Related
May 26, 2010
I noticed in Fedora that in Authenticate Configs ->Advanced, that there is an option to "Create home directories on the first login".I'd like to know if its possible to enable that through a text config file on a CentOS box that has ldap authentication enabled. Right now it's complaining that the home folder does not exist upon loggin with an ldap account.
View 1 Replies
View Related