Step By Step Guide - External Backup
Oct 29, 2009
how to setup an external hard drive with USB port to a webserver with following configuration:
Centos 5.3
Cpanel (latest)
What I want to do is to format and mount an external hard drive by USB port to my server and take my daily cpanel accounts on it.
View 6 Replies
ADVERTISEMENT
Feb 8, 2008
I have a dedicated server, and WHM cPanel
I have a registered domain with oneandone (mydomain)
So what I want is nameservers, ns1.mydomain.com and ns2.mydomain.com when people are viewing any of the sites on my server.
Basically i need to know, step by step on how to, do this, please I have read all the guides but they dont say exactly how oneandone point to my server, I think I have done most stuff on the server side.
So I want a site mydomain2.com they can change their nameservers to ns1.mydomain.com and ns2.mydomain.com and it links to my server.
I think i have only 1 IP with my dediated server.
View 6 Replies
View Related
May 20, 2009
how install vmware in my server?
because now we install vmware but it seems have wrong configuration in network setup then,
we have 7 Ip address i want make connection vps with bridging!
View 5 Replies
View Related
Mar 1, 2007
Just signed up for Knownhost VPS and have 3 sites (all on individual shared hosting) that I want to setup but I'm having a hell of a time trying to figure things out.
I've read the entire directadmin (site-helper.com) but still having trouble setting things up. I know what all the terms mean but i'm stuck on how to setup the DNS, what suppose to point to what, creating 3 individual accounts for the 3 sites, etc.
View 1 Replies
View Related
May 18, 2007
I've made a how to, based on my personal knowledge about upgrading a CentOS 3, RedHat 9, or 8?, Fedora Core, and maybe others, to the new CentOS 4.5 OS. (or CentOS 4.x)
[url]
Please post, comments, questions, etc. here.
I've myself upgraded many servers this way, (even, tonight, I upgraded another, so I finally decided to do this with all my notes)
View 3 Replies
View Related
Aug 15, 2007
First I want to say hello and thanks for the great advice I've gotten on this forum. You guys have saved me a ton of time and heartache in regards to hosting accounts.
I was told by my hosting company that a VPS account isn't designed to be an step up from a shared account. I always viewed a VPS account as the intermediary between shared and dedicated. The hosting company basically told me that a VPS server is designed as a testing environment and you can run out of resources pretty quickly in a production environment.
Is that true? Or are they telling stories?
View 14 Replies
View Related
Mar 16, 2009
how to buy domains but what is the next step . i heard from my freinds that i we need to setup name servers and some other things before my site goes live,
View 6 Replies
View Related
Jul 5, 2013
I am trying to install Automation, and I keep getting an error after the "Getting SELinux" step, here is a log of the process so far:
Code:
[INFO]: Checking current user privileges...
[INFO]: Checking critical environment requirements...
[INFO]: Determining OS parameters...
[INFO]: Detected OS: CentOS-5-x86_64
[INFO]: Getting SELinux state...
[ERROR]: Unexpected error: ''
[Code] ....
I have tried running the installation on a different server and the same issue came up...
View 19 Replies
View Related
Aug 29, 2007
I have an External FTP Backup (NAS):
IP : XXX.XXX.XXX.XXX
username: user
password: pass
how can I mount it with one floder in my root and how can I configure it in /etc/fstab?
View 9 Replies
View Related
Oct 14, 2008
If someone hacks my server (Softlayer) and delete everything (including the backups)- does that mean I will lose everything? Is there any way to have an external backup which is not accessible?
View 3 Replies
View Related
Dec 19, 2008
I have a few questions about backup. Other than any backup service provided by your host, do you backup your vps regularly?
Is it automated or manual?
Are you using any external backup service / server?
View 9 Replies
View Related
Apr 20, 2008
I have a script that will create a compressed backup file of my website files as well as a compressed backup file of my mysql databases.
What I want to do is create a script that will site on my external hard drive that will be connected to the internet and would have it automattically connect to my webhosting account (via ssh or ftp) and download the specifid backup files everyother day. My goal is to be able to have a backup file on my local hard drive here in case anything happens to the backups that are already saved to another webhosting server.
View 6 Replies
View Related
Apr 27, 2008
where I can find a Cpanel DNS only installation guide?
View 2 Replies
View Related
Jul 9, 2008
Is there some sort of rating guide (or site) that compares/rates performance and reliability of web hosts.
I just signed up with namecheap and the first three days were great but now it seems to be going down hill.
I've seen other sites with lists but they seem to be advertiser biased.
View 14 Replies
View Related
Mar 30, 2009
I currently own my own hosting company using another companies servers, which is good, and I've learned a lot of the ins and outs of hosting, but there's a great deal I need to learn before I start Hosting using my own servers. Can anyone provide some good resources or books that might help me get on with my mission?
View 5 Replies
View Related
Jun 30, 2009
So a few days ago we had the wonderful experience of migrating Virtual Private Servers from HyperVM to Virtuozzo. After spending endless hours attempting to migrate with vzmigrate, vzp2v and rsync we were getting very frustrated and were just about to give up. With this we decided to contact our datacenter SoftLayer who usually is able to help out. Like always they managed to rise to the challange and save the day providing us with a solution thay may not have been the best, but probably the only one. We must have searched the entire Internet looking for guides and after we found out a solution we knew it had to be posted so that the frustration we went through would never have to happen again. While this solution is a little timely and requires some work it actually isn't as bad as it sounds. Also we have created a little shell scripts that does a good amount of the migration for you. Below I have made step by step instructions so that there will no longer be "no answer" to this question. Also just to let you know we contacted Parallels and unfortunatly we were told that "I can not find anything in our knowledgebase". Basiclly useless support... they regurgiate their online knowledgebase to you. So below is the guide.
Pre-Requisites:
1. Download the Migration Kit zip that includes the shell scripts for the migration.
Migration Kit Download: [url]
2. You must create a new container in Virtuozzo for each HyperVM VPS that you would like to migrate. You MUST use the same VEID and I you need to keep the hostname the same. Also the OS TEMPLATE you pick DOES NOT MATTER!
If you are copying a customer HyperVM template don't worry cause the OS Template has no effect as far as I know. We transfered 30+ VPS's and the OS TEMPLATE made no difference.
3. Stop the container you created and mount it.
Code:
# vzctl stop <VEID>
#vzctl mount <VEID>
For LIVE MIGRATION SKIP TO STEP 4b.
4a. Stop the VPS on the source server (HyperVM) and mount it.
Code:
# vzctl stop <VEID>
#vzctl mount <VEID>
4b. Leaving the VPS running while migrating has a risk of posible database corruption. During our migration we did it this way and we experienced no issues so I think it is safe to say that in rare cases there may be problems but usually not.
5. Unzip the Migration Kit and be inside the folder where it was unziped.
6. Execute the shell script.
Code:
./migrate.sh <IP-ADDRESS>
IP-ADDRESS = the IP Address of the source VPS Node
7. Enter the CTID when the prompt requests it. (CTID = VEID)
8. Enter the root password for the server you are migrating from.
9. The script runs inside a screen session so to back out of it to do other things or start another migration you must hit:
Code:
CTRL + A + D
To list all the screens you have open.
Code:
# screen -ls
To enter a screen session
Code:
# screen -r SESS-ID
SESS-ID = the numbers before the period listed when you list all the open screens.
10. Once the migration is completed a broadcast message will alert you. Also if you check /var/log/migrate/migrate.log will contain all the migrations that have completed.
11. Once a migration has completed you must unmount the VPS and start it.
Code:
# vzctl umount <VEID>
# vzctl start <VEID>
If everything went "ok" than your VPS should start up without issues and should be just like it was on the old server. Lastly I would like to give credit to SoftLayer for the method of migration. Thanks again SoftLayer
View 14 Replies
View Related
Jan 24, 2007
I'm sure by now most of you have read the Web Server Optimization Guide by Shaw Networks. It came in handy for me when I was first starting out, I reduced my load & memory usage by tonnes. I thought I would make a new thread with an updated How-To.
Recommended Tools/Programs:
Putty - Free SSH Client - [url]
WinSCP - Free SFTP and SCP Client - [url]
MySQL Optimization:
BACKUP:
cp /etc/my.cnf /etc/my.cnf.backup
Use Pico (pico /etc/my.cnf) or Download via WinSCP for editing,
Delete everything that is currently in the file and add the following...
Code:
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=8M
query_cache_size=256M
query_cache_type=1
max_connections=500
max_user_connections=100
interactive_timeout=60
wait_timeout=60
connect_timeout=30
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=16M
table_cache=1024
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=100
# Try number of CPU's*2 for thread_concurrency
thread_concurrency=2
myisam_sort_buffer_size=64M
#log-bin
server-id=1
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
To Save: CTRL-X
Restart Service: "service mysqld restart" or "service mysql restart" or "/etc/rc.d/init.d/mysql restart"
HTTP/APACHE Optimization:
BACKUP:
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.backup
Use Pico (pico /usr/local/apache/conf/httpd.conf) or Download via WinSCP for editing,
Change the following settings in your httpd.conf...
Set "Timeout" value to "Timeout 60"
Set "KeepAlive" to "KeepAlive on"
Set "KeepAliveTimeout" to "KeepAliveTimeout 3"
Set "MinSpareServers" to "MinSpareServers 16"
Set "MaxSpareServers" to "MaxSpareServers 32"
Set "MaxRequestsPerChild" to "MaxRequestsPerChild 256"
Set "HostnameLookups" to "HostnameLookups Off"
Note:
These settings will not work under all server environments its recommended that you tweak around with the numbers until your web server is running 100% please read Apache documentation before changing any settings so you know what you are changing [url]
To Save: CTRL-X
Restart Service: "service httpd restart" or "/etc/rc.d/init.d/httpd restart"
Installing eAccelerator:
eAccelerator is a further development from mmcache PHP Accelerator & Encoder. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated. [url]
If you run CPanel please visit [url] for an auto-installer which will do all the hard work for you.
Run the following in SSH.
Code:
cd /
mkdir ea
cd ea
wget [url]
bunzip2 eaccelerator-0.9.5.tar.bz2
tar -xvf eaccelerator-0.9.5.tar
cd eaccelerator-0.9.5
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install
mkdir /phpcache
chmod 0777 /phpcache
Edit your PHP.INI file and at the bottom add...
Code:
To install as a ZEND extension:
zend_extension="/ea/eaccelerator-0.9.5/modules/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/phpcache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
OR to install as a PHP extension:
extension="/ea/eaccelerator-0.9.5/modules/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/phpcache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
Restart Service: "service httpd restart" or "/etc/rc.d/init.d/httpd restart"
For a great tutorial on Optimizing host.conf & sysctl.conf visit..
http://www.eth0.us/node/104
Common SSH Commands visit..
[url]
How to block an IP using iptables visit..
[url]
View 14 Replies
View Related
Jul 16, 2008
We are about to open a data center in India. Can u please someone guide us to setup a data center. I require some article, reference for all setup and from scratch.
View 11 Replies
View Related
Feb 18, 2008
Is there a Windows GUI software for remote Admining servers that run on Red Hat Linux?
FYI: Currently I use Putty for remotely managing our servers.
So if you can recommend a GUI like Windows desktop software for remotely Admining servers running Red Hat Enterprise, I would very much appreciate that.
FYI: we have like 10 dedicated severs, so a desktop GUI that would allow one to monitor/manage multiple servers would be best. But if the GUI that you think is best can only remotely connect/manage one server at a time, requiring disconnecting to connect to the other server to Admin it, that is fine.
Also, I would love to hear what you think is the best book, best tutorial and reference guide for remotely Admining servers running RHEL? I am not looking for one of those books that are 1000 pages, but something that is a few 100 pages and can be read in 1 month assuming a few hours per day of reading.
View 6 Replies
View Related
Apr 1, 2007
I have had great difficulty in setting up OpenVPN, so I thought, when I finally do get it to work, I will write a HOWTO, so other can hopefully benefit…
This guide was done using a FC4 VPS, running on Xen, it will work on OpenVZ, all you need to do is ask your VPS provider to install “tun support”.
1.First of all get a few additional repos, If you already have your repos setup, skip this step
If you have Fedora 3, follow these steps,
[url]
If you have Fedora 4, follow these steps,
[url]
If you have Fedora 5, follow these steps,
[url]
If you have CentOS, follow the “additional third party CentOS repos”
[url]
Then issue these commands, each line is a new command, anything beginning with "#" are comments so dont try to execute those.
Code:
yum update
yum install openssl openssl-devel
# openssl and openssl-devel may be installed already… so don’t worry
2. Right, now you want to install OpenVPN, here are the commands,
Code:
yum install openvpn -y
#Now check that it works
service openvpn start
service openvpn stop
3. A few things to setup before you can make certificates, issue these commands,
Code:
find / -name "easy-rsa"
#you should get an output like this…
/usr/share/doc/openvpn-2.0.7/easy-rsa
#Now, make a copy of the easy-rsa directory, to /etc/openvpn/ ( make sure you #have put the right version number in i.e. mine was -2.0.7, change if needed)
cp -R /usr/share/doc/openvpn-2.0.7/easy-rsa /etc/openvpn/
cd /etc/openvpn/easy-rsa
chmod 777 *
mkdir /etc/openvpn/keys
4. You need to edit the vars file, located in /etc/openvpn/easy-rsa
You can use any editor you like, I used vi.
Change the line
Code:
export KEY_DIR=$D/keys
to
Code:
export KEY_DIR=/etc/openvpn/keys
Also at the bottom of this file you will see something similar to this,
Code:
export KEY_COUNTRY=US
export KEY_PROVINCE=CA
export KEY_CITY=SOMEWHERE
export KEY_ORG="My Org"
export KEY_EMAIL=me@mydomain.com
Change this to your own values.
5. Now its time to make the certificates, enter these commands
Code:
. ./vars
Code:
./clean-all
Code:
./build-ca
# just hit enter to the defaults apart from Common Name, this must be unique
# call it something like mydomain-ca
Code:
./build-key-server server
Code:
./build-key client1
# remember that common name must be unique e.g. use mydomain-client1
# and YES you want to sign the keys
Code:
./build-key client2
# do this step for as many clients as you need.
Code:
./build-dh
6. We are almost done now… right we need to create a few config files, you can download my template from here,
Code:
cd /etc/openvpn
Code:
wget www.designpc.co.uk/downloads/server.conf
# make sure you change a few things in the server.conf file, like DNS
# servers
Code:
touch server-tcp.log
~ this makes the log file..
Code:
touch ipp.txt
this makes the IP reservation list.
7. You need to make a few changes to OpenVPN itself. Go to..
Code:
cd /etc/init.d/
edit the openvpn file
#Uncomment this line (line 119)
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
Add these lines below it, changing 123.123.123.123 to your public IP address,
Code:
iptables -t nat -A POSTROUTING -s 192.168.2.3 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -s 192.168.2.4 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -s 192.168.2.5 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -s 192.168.2.6 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -s 192.168.2.7 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -s 192.168.2.8 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -s 192.168.2.9 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -s 192.168.2.10 -j SNAT --to 123.123.123.123
Now install iptables if you don’t have it already,
Code:
yum install iptables
#test it
service iptables start
service iptables stop
8. Now for the client config files. If your client is a Windows machine, make sure you have installed OpenVPN, use the gui version, downloadable from here;
[url]
You need to copy a few files from the server to your client machine, here is the list, located in /etc/openvpn/keys/
## WARNING ## Use a secure way of transferring these files off the server, something like WinSCP.
ca.crt
client1.csr
client1.key
client1.crt
Put these files in this directory C:Program FilesOpenVPNconfig
Now you need to make a client config, here is an example..
PHP Code:
clientdev tunproto tcp#Change my.publicdomain.com to your public domain or IP addressremote my.publicdomain.com 1194resolv-retry infinitenobindpersist-keypersist-tunca ca.crtcert client1.crtkey client1.keyns-cert-type server#DNS Options here, CHANGE THESE !!push "dhcp-option DNS 123.123.123.123"push "dhcp-option DNS 123.123.123.124"comp-lzoverb 3
Make sure you edit any of the lines with comments above them.
Call this file client1.opvn and put it in C:Program FilesOpenVPNconfig
Make sure the file extension is .opvn not .txt
To connect right click on OpenVPN in the taskbar >> Connect
To test ping 192.168.2.1
View 14 Replies
View Related
Mar 20, 2008
I can find lots of info on getting started on designing a web site but not much on getting started on publishing/managing the site.
I have been bumbling through trial and error for several years now. I was on infinology with hsphere for awhile. I am now on hostgator with cpanel 10. (Shared-babycroc)
I would like the equivalent of a dummies book that addresses all those pre-made directories and files that come with an account, discussions on permissions, password protecting directories, hotlinking, email account management, add-on domains, subdomains, etc.
I would really like a basic overview so that I could have a better chance of understanding the forum discussions and help sites I do find.
View 5 Replies
View Related
Mar 28, 2008
One of my customer using google apps for his domain. He also fetch external emails using google mail solution.
Problem is all of his email accounts email fetched but his ISP email give error.
I check and found if he didn't use that ISP, Outlook also not check email and give error. Only he can check email when he logon on net with that ISP.
on webmail he can check using ISP site. Any other webmail services provider like mail2web.com not able to check emails.
Can any one recommend how I can bypass their ISP restriction security.
View 1 Replies
View Related
Jan 30, 2007
I have reach another decision. I never considered an external firewall for my server. It sounds like this would be beneficial to me to protect my interest.
Are all external firewalls the same?
What recommendations do you have for one, like name and where I can get one?
View 14 Replies
View Related
Apr 17, 2009
I am an IT manager at a small company. Currently we host an ASP.net based web application (on an IIS server) that we do most of our business on. It was grown in house and uses our MS SQL server. We are looking at expanding this application within the next few months, and I need it to be "bulletproof", as in almost zero downtime.
The website also references and pulls up scanned documents that we have on a NAS server. Currently it is around 300 gig worth of documents, but expanding around 200 gig a year.
Ultimately, I would like this to be hosted someplace where there is a constant backup of the SQL and website. And someplace I don't have to worry about the hardware, because I am a one man operation and don't have all the needed experience to deal with the web application.
would it be beneficial for me to host the scanned documents onsite, and have a hosted solution reference them back at our HQ? I could put them in a DMZ or something like that.
View 2 Replies
View Related
Mar 30, 2008
I want to install Linux Ubuntu onto it, the thing is i dont know how to boot to it, there a partition one with XP backup files and one with Linux files I need it to boot from the Linux one so i can install it onto the HDD... but I dont know how I go into the BIOS and change Removable to top but it says it cant find anything...
View 0 Replies
View Related
Jun 13, 2008
I have a hosting provider who cannot provide enough ram to run my one time PHP script (gallery2) (and has a automatic background program kill my task)
So I would like to use processing and ram outside of that server.. via one of my other web servers.. (Dual 1 Ghz, 1 gb of ram) the thing is that the servers got plenty of power but not as much space..
So the ideal solution.. would be to utilize it's power while having it access the hard drive/data remotely and processing it remotely... using the internet/ssh to do this..
Does anyone first off know that this is possible?
2ndly what would be some of the commands?
View 1 Replies
View Related
Apr 13, 2008
We are hosting multiple servers for a site, web, db, media etc and all of them are in the same DC. I am getting worried that incase a server goes down, it would take DNS down along with and will also take emails out.
I was looking to use a good and reliable DNS service which would ensure that we are reliable and emails don't go out incase of an outage.
View 2 Replies
View Related
Sep 15, 2007
have a few different list of links in my link section for eg one page i give people links to about 20 or so games company where they can buy from. another has a small list of forums people can join eg, another list of places that i shop at.i do not have any reciprocal links with any of them and only included them cos i thought it would be handy for my readers. now can i leave the links or should i take it all off because all these external links would not help in my pr? there seems to be so many conflicting opinions
how many external links can you have in a page before it's bad for you.
idea to just use robots.txt on all these pages to be on the safe side?
View 2 Replies
View Related
Feb 26, 2014
i am try to run 2 apache2 web servers from one external ip.example: i want to be able to type in www.metrikcorp.com and go to apache server1 or i want to type in admin.metrikcorp.com and go to apache server2
View 8 Replies
View Related
Dec 5, 2008
Does a external mysql use a lot of bandwidth?
On one of my sites, mysql uses most of the resources of the dedicated server. I'm thinking of putting multiple mysql servers at home and the rest in the data centre. Having mysql servers at home does not require much bandwidth does it? would a dsl line work ok?
View 6 Replies
View Related