Server :: Creating A "ghost" Of A Live Webserver?
Jul 25, 2011
I would like to run a copy of my live webserver in a Virtual PC on Windows so whenever I need to install new stuff on my webserver, I can "practice" first on the virtual copy.It doesn't need to be an exact copy: I'm not really interested in having a copy of all domains on the webserver.Is there a way to do that without having to take the webserver offline?
View 10 Replies
ADVERTISEMENT
Nov 1, 2010
I have a live production server with different partitions that I would like to backup/ghost so that if the server crashes, I would have an easy way to restore it. My server is running Debian Lenny, it's got 2 x 2TB hard disks in RAID1 mode.
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 4.6G 1002M 3.4G 23% /
tmpfs 1.7G 0 1.7G 0% /lib/init/rw
udev 10M 744K 9.3M 8% /dev
tmpfs 1.7G 0 1.7G 0% /dev/shm
/dev/sda1 122M 15M 102M 13% /boot
/dev/sda6 4.6G 289M 4.1G 7% /home
/dev/sda8 942M 18M 877M 2% /tmp
/dev/sda9 1.8T 3.9G 1.7T 1% /var
As you can see, total disk usage is about 5GB. I can transfer that to another server on the network.What would be the best way to perform a complete backup without stopping the server and how could I restore that backup in case of emergency ? After browsing the entire Web, I couldn't find the answer that would make my life easy, so I give it a try here
View 6 Replies
View Related
Jan 19, 2010
I have been using GHOST for quite a few years to back up my Windoze partitions from NTFS to a series of images on a fat32 partition. I usually boot off a DOS7 bootable CD and simply ghost over to the fat32 partition.
I am rebuilding my laptops and desktops to dual boot Windows7 and Suse 11.2
My goal is to create restore images from my NTFS and ext3 partitions into directories on the fat32 partition for a restoration to my "gold baseline" build after any corruption.
My partition layout is below. This is output from gdisk.exe in DOS7. It's an 80gig drive.
1 = Windows-7
2 = /boot
3 = swap
5 = /
6 = /fat32
[Code]....
View 9 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 7, 2010
Does anybody know of a program that can make make images of the entire hard drive while it's in use? Like Ghost and Acronis can do? I have a production ubuntu system that I need backups of, however, I can't power it off.
View 8 Replies
View Related
Jun 25, 2010
How would I go about creating a script to upload files to my webserver? I want it to only upload files that have been modified on the current date. So if I make changes to a file or touch a file, I run the shell (or perl) script to upload those files. This is what I have so far:
Code:
#/bin/bash
FTPU="username" # ftp login name
FTPP="password" # ftp password
[code]....
View 1 Replies
View Related
Feb 27, 2011
I'm wanting to make a DSL live boot to run on an ancient laptop. I can't find a live USB creator that will do this for me in Fedora.
View 2 Replies
View Related
Mar 6, 2010
I am in the tasks section of the following tutorial [URL] I did the list package thing to see what packages there are. However now I cannot leave the list in order to run the purge command. How can I get back to the previous section so I can remove packages from the custom live cd. I want to make sure I am editing the live cd and not the current install. I am going to make two images. One cd that will still have a gui but I plan to build as a recovery tool. The other one is a dvd and will be for installing everything I want on any machine. I am doing the tutorial with Karmic. Also I have cursors, themes and icons I installed from gnome look. I then went to customize and created my own personal mix I like. I would like to make this a standalone theme and come as the default theme on the live cd and dvd. I have no clue what I am doing, however wish to learn to build my own custom live cd. Also I would like to know how to ad repositories to the live cd and how to add programs pre installed that are not usually included.
View 2 Replies
View Related
Jul 12, 2011
i feel like this is a stupid question as i have seen many different ways to make a debian live cd, but the only way i understand is remastersys.i am trying to make a snapshot of my own debian unstable (sid) to be capable of re-distribution. remastersys will ONLY work on ubuntu, lenny, and squeeze.if anyone knows of any relatively simple tools i could use or could write an easy how too that would be very much appreciated. i am attempting to stray away from ubuntu and ubuntu based distros and use debian instead, although i cant find any distribution based on debian that i really like (maybe linux mint debian edition based on debian testing), but i really want the software right out of unstable (sid) and i would like to be able to make a distribute-able snapshot for myself and others that may be interested. (xfce + compiz + others, hopefully plymouth, out of the box). i have made some very good headway on this, but i dont know how to make a live cd out of an installed system without remastersys.
View 14 Replies
View Related
Feb 24, 2016
I'd like to create my own custom Debian live CD — the idea being to have my own rescue CD with my favorite Debian tools installed. I read about bootcd and was going to give that a try, after creating the ideal system in a qemu virtual machine.
How much exactly can you install on a system so that bootcd can still fit it on a CD? I'm presuming there is some kind of compression involved. When I tried to create my VM, I coudln't get Jessie + LXDE to install onto a 2GB virtual drive (net install) so naturally I'm wondering what I'm going to be able to put on a 700MB CD.
View 7 Replies
View Related
Apr 25, 2011
I am using Fedora 14. I want to create custom live cd in Fedora 14. I saw this fedora site. [URL]. But its only used command line tool. Any GUI tools are available to create custom live cd in Fedora.
View 1 Replies
View Related
Feb 5, 2011
I want to create a Live USB ..I have the ISO image in the hard disk
Where Sdb is my USB
The copy operation is okay...It says no of records in / out and gives the statistics
But when I boot the system , getting the error:
Boot :
In some cases , the USB itself is not recognized by BIOS at boot..
My BIOS supports boot from USB ..I have Boot order 1. CD/DVD 2. USB 3. HDD
Also what is the filesystem to be adopted for dd?
I usually format using FAT or FAT 32
1.mkfs.vfat /dev/sdb -I (or)
2.mkdosfs /dev/sdb (or)
3.mkdosfs -F 32 /dev/sdb
What is the correct way of partitioning USB drive? - FAT or FAT 32....Most Live USB creators (unetbootin/LiLi Live/Usb Creator) recognize only FAT32...
I dont want a Linux filesystem (ext2,ext3 or 4or reiserfs)for my USB as it is not portable across many systems as MS OSes do not read them..Also I had little success in booting a USB when I partitioned it using ext2..I read somewhere that ext2 will not reduce the life of the USB drive compared to other fs.
View 3 Replies
View Related
Jan 29, 2011
Which distro is the best for a webserver? and are there any specifics I should keep in mind choosing one?
View 1 Replies
View Related
Apr 8, 2016
I'm trying to rebuild an old laptop, EeePc 1001PX and I've issues to boot on the usb on it.
I've followed [URL] .... and the only way I manage to make a usb key that will boot is by hd-media/boot.img.gz:
Code: Select all# zcat boot.img.gz > /dev/sdb
# mount /dev/sdb /media/usb
# cp /tmp/debian-8.4.0-i386-CD-1.iso /media/usb
# sync
# umount /media/usb
I managed to install Debian using this technique to build the usb key.
However I'm having an issue on the laptop with the wifi card (Atheros AR9285) and after a night trying to make it work I'd like to check if I'd would have the same issue Ubuntu.
So I've been desperately trying to make a bootable usb key with Ubuntu on it.... It boots on my laptop but not on this EeePc...
I've tried:
Code: Select allcat /tmp/myimage.iso > /dev/sdb
Code: Select alldd if=/tmp/myimage.iso of=/dev/sdb && sync
I've installed multibootusb [URL] ... and liveUsb install [URL] .... which doesn't work on my EeePc...
Wh only this technique of using is hd-media/boot.img.gz is working on that laptop?
I'd like to try to install Ubuntu via grub using a partition [URL] .... but I need to create 2 partitions and so to boot on a external system.
I've downloaded gparted-live-0.25.0-3-i686.iso but like with Ubuntu I don't manage to create a bootable USB key for this crappy EeePc.
View 5 Replies
View Related
Apr 23, 2010
I want to create a LiveDVD with lots of packages that do not exist in repos. Stuff that I built from source...
OpenFOAM with my own customized solvers and utilities, Tetgen, Netgen ,GMSH with OpenCascade support, BRL-CAD, Code-Aster, Salome Platform, Code Saturne, FreeMat, K3d...
Some of these apps have been compiled with Intel development toolbox, icc/ifort/mkl. Mainly scientific/Engineering stuff. How do I include all these packages in a custom Live Build...?
View 7 Replies
View Related
Sep 3, 2010
I have one desktop machine with fedora 11 installed and a Laptop with both linux and Windows Xp. I use the laptop as my client machine.
I want to set up both a dns and web servers on the same machine for testing and practise purposes.
how to do it bcoz I can set up the webserver but I can't browse the website on the Fedora machine when I use my laptop. I have learnt that I should set up a Dns server.
View 1 Replies
View Related
Jul 30, 2011
What's the best way to move over 500 sites from a webserver with apache and mysql on the same server.. to a new server?
View 1 Replies
View Related
Mar 31, 2011
I am using squid3 on ubuntu server 10.10, publish my webserver running on other machine on ubuntu10.10 desktop. My server is configured for squid3 transparent proxy which is running successfully.
Now I need to publish my other machine which is running with apache2 webserver.The local IP is 192.168.1.5, I need to assign a public IP as 61.8.153.212 provided by ISP.
use my webserver machine outside the LAN using internet, through ubuntu server 10.10 squid3.
View 3 Replies
View Related
Feb 25, 2010
OK. I've successfully mirrored the Karmic Koala repositories. Now I have, and will have as time goes on, various computers I'll want to install Ubuntu on and point at the repository mirrors (Karmic now, Lucid later). Can I create a modified Live CD that will set up out computers from the beginning with /etc/apt/sources.list pointing at our mirrors, so we don't have to edit it later or tell people to edit it later? I've looked around and not found instructions on how to do it so far.
View 1 Replies
View Related
Feb 16, 2011
I am trying to create a custom Ubuntu live CD according to this guide [URL]. First of all I wanted to test how mkisofs utility works so I copied the content of the live CD to /tmp/bootcd directory and create an ISO image. I ran the following commands
Code:
sudo rsync -av /media/CDROM/* /tmp/bootcd/
cd /tmp/bootcd
sudo mkisofs -r -V "Ubuntu9.10" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../ubuntu-9.10.iso .
If I understand it correctly, the same image as the source one should be created. When booting the Ubuntu boot menu appears and I choose "Try Ubuntu without installing.." It gets stuck after a while with this message "Unable to find a medium containing a live filesystem".
View 3 Replies
View Related
Mar 9, 2010
I would like to a build a CD image (of CentOS 5, x86_64 that loads into memory and boots to the OS without installing anything to hard drives. Then I would like the system to execute a shell script automatically. The shell script will have commands that will control execution.
The goal of this exercise is basically to pre-configure a system (RAID config, BIOS update, etc) automatically using the shell script before installing the OS. I would like the ability to change the shell script as needed and probably repackage the ISO image. I would prefer not to deal with building a source tree to accomplish this. this is something one could do using mkisofs.
View 1 Replies
View Related
Mar 3, 2011
The server I'm running runs Debian Etch, Squid and Shorewall. Every 24 hours the server gets a new internet IP so I need to use dyndns to keep the dns pointing to the correct PC.
I have a webserver that is running behind the debian server and am having trouble with it. When I enter the web address, it gets a timeout.
View 3 Replies
View Related
Jul 16, 2011
I have a dedicated server which I run on him only one website which has about 11k-15k unique visitors per day.
The httpd processes stuck it almost everyday and I can't understand why... I fix it via "killall -9 httpd" and then "service httpd start". code...
View 2 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 22, 2011
I have a Ubuntu server (10.10) setup with apache and is being port NAT'ted via firewall from outside to the webserver.I am able to access the webserver from inside LAN but not from outside. NATs are working fine because I can see the traffic come through on tcpdump but the webserver will not respond to the request from outside ip address.Here are the tcpdumps.
10:11:58.939005 IP 12.xxx.xxx.6.10146 > 172.16.2.100.80: Flags [S], seq 3098920688, win 65535, options [mss 1380,nop,nop,nop,nop], length 0
10:12:01.898852 IP 12.xxx.xxx.6.10146 > 172.16.2.100.80: Flags [S], seq 3098920688,
[code]....
View 4 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
Jul 12, 2011
The issue is i am using the RHEL server as my webserver and database centre. Now its a brand new formatted server with good amount of RAM and the usage is not much. Its being accessed locally over the LAN. But still i can see speed deficiency. Some of the pages do not get loaded and some times i can see the delays in loading the new pages. Any idea y is it so? Or is there anything i can do to increase the speed?
View 3 Replies
View Related
Mar 20, 2011
We have a cisco ASA firewall at work,which redirects all http traffic to our webserver. We have to install a new website ,but it can't be installed to the same server. Setting up a squid reverse proxy can redirect the incoming http requests to the appropriate webserver? If yes, could I get some directions on howto?
View 5 Replies
View Related
Aug 31, 2010
We have an environment where couple of webservers are being active behind the loadbalancer, the webpage is getting loaded extremely slow if we restart the apache on those boxes its responding very fine. So currently we are restarting the apache service daily basis, i have attached the config with this thread could anyone suggest how to fine tune apache so it works fine without restarting it daily?
View 2 Replies
View Related
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
View Related