Setting up an IRC+cPanel box with freeBSD

Written by Scott Mcintyre


Well this "guide" if you like, doesn't really have a purpose, it both shows you how to setup a basic irc box (just installing

oidentd), its mainly targeted towards installing cPanel on freeBSD.

I used freeBSD 5.4-RELEASE so you might not encounter problems I did.

firstly login to your server and we will just install cpanel straight away.

-------------------------------------------------------------------------------- mkdir /home/cpins cd /home/cpins wget http://layer1.cpanel.net/latest sh latest --------------------------------------------------------------------------------

This will take awhile so go grab a coffee. This will install everything for cPanel.

Once this is complete, go to WHM

http://yourip/whm

and login with username root and your root password. Now you will be prompted withrepparttar WHM setup screen. This is really

simple, just followrepparttar 145165 onscreen instructions to setup whm. This will setup your server hostname,resolvers,nameservers and

so on.

Once this is done, you have done it. You have installed cPanel, but don't get your hopes up just yet. No doubt there will

be bugs, you are best to search google but I will go over what ones I encounter. If I do that is.

So straight off I am going to go testrepparttar 145166 account creation, go to Create A New Account in WHM, and input any domain you

want, for my example I just put google.com. After I hit created it createdrepparttar 145167 account but returned a bind error. So we

have to fix this first.

I ran

--------------------------------------------------------------------------------/scripts/fixnamed /scripts/fixndc --------------------------------------------------------------------------------

Which returned

--------------------------------------------------------------------------------Found key in named.conf .. Found controls in named.conf .. Found key in named.conf .. Adding key... Adding controls... Restarting bind.....Waiting for named to restart..............finished.

named has failed, please contactrepparttar 145168 sysadmin (result was "named is not running"). Jun 7 14:03:26 serv named[52645]: starting BIND 9.3.1 -u bind -c /etc/namedb/named.conf Jun 7 14:03:26 serv named[52645]: could not configure root hints from '/var/named/named.root': file not

found Jun 7 14:03:26 serv named[52645]: loading configuration: file not found Jun 7 14:03:26 serv named[52645]: exiting (due to fatal error) Done All fixed --------------------------------------------------------------------------------

So I just createdrepparttar 145169 /var/named/named.root file manually by usingrepparttar 145170 touch command then I re-ran /scripts/fixndc this done

the job.

--------------------------------------------------------------------------------serv# touch /var/named/named.root serv# /scripts/fixndc Found key in named.conf .. Found controls in named.conf .. Found key in named.conf .. Adding key... Adding controls... Restarting bind.....Waiting for named to restart..............finished.

bind 53378 0.0 0.7 5240 3744 ?? Ss 2:09PM 0:00.04 /usr/sbin/named -u bind -c /etc/namedb/named.conf

named started ok Jun 7 14:09:18 serv named[53378]: starting BIND 9.3.1 -u bind -c /etc/namedb/named.conf Jun 7 14:09:18 serv named[53378]: command channel listening on 127.0.0.1#953 Jun 7 14:09:18 serv named[53378]: zone 0.0.127.IN-ADDR.ARPA/IN: loading master file

/var/named/localhost.rev: file not found Jun 7 14:09:18 serv named[53378]: zone

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA/IN: loading master file

/var/named/localhost-v6.rev: file not found Jun 7 14:09:18 serv named[53378]: zone

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT/IN: loading master file

/var/named/localhost-v6.rev: file not found Jun 7 14:09:18 serv named[53378]: running Done All fixed --------------------------------------------------------------------------------

---

Now go back and terminaterepparttar 145171 test account and recreate it.

This time it created successfully.

--------------------------------------------------------------------------------Keeping Shell Access (y) Copying skel files from /root/cpanel3-skel/ to /usr/home/google/ Using Freebsd Copy /root/cpanel3-skel/public_html -> /usr/home/google/public_html /root/cpanel3-skel/public_ftp -> /usr/home/google/public_ftp Using redhat 6.x/freebsd support Name Virtual Host already exists Added Entries to httpd.conf (noip) Bind reconfiguring on serv using rndc Added Named File Using Frontpage 5.x!

Starting install, port: 80.

Creating web http://www.google.com. Chowning Content in service /. Install completed.

Starting chown, port: 80, web: "/".

DocumentRoot: "/usr/home/google/public_html" Setting Password Frontpage passthough auth enabled! Restarting apache Ftp Password Files synced Vhost Passwords synced wwwacct creation finished Account Creation Complete!!! --------------------------------------------------------------------------------

Who should become a web host reseller?

Written by Staff, WebsiteSource.com


Who should become a web host reseller?

1. Individuals or businesses with more than one website

If you have more than one website andrepparttar total disk space you need is 500 MB or more, you can benefit from having a reseller account. The cost for web hosting is lower than if you have individual accounts for each site. Also, you can adjustrepparttar 144493 disk space and bandwidth allocations for each site.

2. Related service providers

A reseller account is also useful for people who provide related services. If you’re a web designer, for example, why stop at designing sites? Provide your clients with web hosting under your company name, and you continue to earn revenue from your web design clients.



Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use