Make Centos Image For Xen
Jul 6, 2008I have been trying to get it to work, but cant get it going...
how do I make centos run on xen?
I have been trying to get it to work, but cant get it going...
how do I make centos run on xen?
I have had 2 drives fail on me in 2 weeks, and had to completely redo my server's configuration and security.
I would like to tell my tech to make an image of the current server, just so that the firewall and settings are all saved, and can be restored if this happpens again.
How should I go about doing this, and what can I tell my tech to do so that he does this in the best, most efficient way?
I have 2 live websites on there now (not an insane amountt of traffic), so I am assuming the sites current state will be in the image, which I don't mind, as I can just restore a recent site backup if the site happens to go down again.
Please let me know your thoughts!
( i am assuming i should try to delete as much junk off of the server as possible to make the image smaller)
I have a issue when i try to start the DNS bing server over my vps with Centos 7 and plesk 12 its shows me this error
Error: Unable to make action: Unable to manage service by dnsmng: Empty error message from utility. ('--start', 'dns')
I am not sure if many of you have been getting this same spam. But I've been getting spam about sexual topics and the email is just an image with words written on it.
Sometimes the email has words too such as what is written below.
Quote:
Doees Using sexual Body Langauge to Attract Women Really Works? www. med72. com. Chicago Bulls' Masecot Sued For Baad High-Five
I was wondering if you know of a way to block those emails.
I installed imagemagick perl module but it is still giving off this error
Can't locate Image/Magick.pm in @INC (@INC contains: /home/user/real/mgmt/perl /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /home/user/real/mgmt/perl/real/Image.pm line 33.
BEGIN failed--compilation aborted at /home/user/real/mgmt/perl/real/Image.pm line 33.
Compilation failed in require at gallery.pl line 42.
BEGIN failed--compilation aborted at gallery.pl line 42.
Using cpanel /centos 4.5
I have developed website which will allow user to upload 1-2 photos and also allow to see other users photo and rate them. For this I have planned to go for VPS. I am also thinking of another alternative of using image hosting service, where I will keep all user photos on image hosting server and embed links given by image server in my webpage.
Now my question is.
1) Using image hosting is faster(respone time for each user) than VPS?
2) How exactly using image hosting works. when user request web page from my server, will my server go and fetch entire image from image server and then send final result to user brower?
where I can host images for my site. It will be thousands of smaller image like 5k - 30k. I am looking at free sites like imageshak. They say in their terms of service that I can host images for my site as long as I don't host all my images. So do you think that I could put like 20 thousand images on their site? These images would not get accessed too much so it won't slam their servers or anything.
View 13 Replies View RelatedI haven't been able to find much about this searching, but are people using NAS storage to deliver website images? I've never used NAS before and am not familiar with their performance.
View 5 Replies View Relatedi have problem in my server that any scripts for uploading Image or rar or zip or upload Xml from admincp for forum not upload in my server
but when i upload from ftp working and upload
I created a 4GB disk image for a virtual machine in Xen. (I have root on the physical box, so please don't tell me to contact my VPS provider!)
The disk was filling up, so I took the advice online and created a 6GB file with dd (zero-filled), cat'ed it to the end of my disk file, and then...
[matt@babe centos]$ sudo resize2fs -f ./cent.img
resize2fs 1.39 (29-May-2006)
resize2fs: Bad magic number in super-block while trying to open ./cent.img
Couldn't find valid filesystem superblock.
Of course, fsck won't take a disk image, only an actual partition. And I can't mount it, since I get the same error about a bad superblock.
The VM actually boots up fine, but it only sees 4GB of what's now a 10GB file.
I can use losetup to mount it on a /dev, but still get fsck errors:
[matt@babe centos]$ sudo fsck.ext3 -b 8193 /dev/loop3
e2fsck 1.39 (29-May-2006)
fsck.ext3: Bad magic number in super-block while trying to open /dev/loop3
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
I don't know what blocksize was used, so I don't know where to look for a superblock... (I'm out of my league on fsck'ing virtual disks.)
The thing boots fine and is non-mission-critical right now, so worst-case, I can just mount it, rsync the data to the host, and then set up a new machine and rsync that in... I'd just rather not go through that hassle if I don't have to.
My goal is to block hotlinking of fullsize images and display a image when they attempt it... but allow clickable thumbnails to be shown. For some reason the following isn't working...
My htaccess looks like this:
RewriteEngine On
RewriteBase /images
#Allow if it's not from another website
RewriteCond %{HTTP_REFERER} ^$ [OR]
RewriteCond %{HTTP_REFERER} ^[url]
RewriteCond %{HTTP_REFERER} ^[url]
#Allow if it's the hotlink.gif
RewriteCond %{REQUEST_FILENAME} hotlink.gif [NC,OR]
#Pass through thumbnails or hightlights as-is
RewriteCond %{REQUEST_URI} .thumb.jpg$ [NC,OR]
#Return an anti-hotlink gif in place of any visual media
RewriteRule .*.(jpe?g|gif|bmp|png)$ css/images/hotlink.gif [R,L,NC]
how much space should I need for Image hosting site?
View 4 Replies View RelatedWe have an image hosting project, which uses ~5Tb/mo,
Currently we are running it on Pentium D 2,8GHz CPU (Dual Core), 1Gb RAM, 2×160Gb 7200rpm IDE HDD for ~170$/mo.
We don't need much better hardware, but need some good hdds (IDE sucks) + RAID.
Stats for 20.03.08-30.03.08 (10 days) - incoming: 35 Gb, outgoing: 1.3 Tb
So it's about ~4 Tb/mo. And we want 5-6Tb for a reserve.
Keyweb doesn't allow image hosting on their servers
Best choice is OVH, but I'm not in Germany..
i have a forum site which is running on a vps 45gb space and 2000gb put i would like to offer my members a means to upload images small files max 5-10mb just with in the site but i would like to use a totally new server are there any shared host that will allow this has i will use a scrpit has well on it
View 9 Replies View Relatedi'm planning to create an image hosting kind of site. how much bandwidth per month does it usually take?
View 6 Replies View Relatedi have set up a sever with certain software exactly the way i want it. However, there is some extra stuff i need to install on it.
I am running Centos 5.1 and would like to run some command possibly via ssh which would create an entire image of the server in a disk format such as ISO and then if need be, reinstall the basic operating system and restore the ISO back up if need be.
Is this possible?
If so how and how would i restore the image as well?
i have plan to build a image hosting. I will build a site using script like this notinportland.com . I need some advise.
I trust i will get about 7k-10k page view everyday , may be 1k-2k unique visitor, just see image on my site, not direct link.
- Of course, i will start with shared hosting. But in future, do i need to updrage vps or server ?
- Does Image hosting make server load highly, using more resource on server?
- All images is legal and have adult content, of course sometime it will have some illegal image ( will be banned and deleted )? Can HPs will allow?
I have started a new image hosting website and currently i alloted 7 GB Disk Space and 30GB BW. I know it will not be enough after the site get famous. So which host i can go for to be in a safer side with my image hosting website?
View 6 Replies View RelatedI am having a win 2003 server with a static ip and i have hosted 2 web sites in the iis server but no images are been displayed is it something to do with the designing of the site or some problem in my hosting,
View 4 Replies View RelatedI am wondering if there is disk image hosting? like, I may create disk image there, when
I swich to another ISP, I may restore the image I created. I could be very helpful for server migration or data backup.
Does anybody know whether this kind of service exists?
I run a large community site, and i was wondering what the max amount of images I should have in an image folder? I'm looking to upgrade to an image only server and setup subdomain folders to split up the files. right now i have about 200k+ image files in just the public image folder... thats not counting the thumbnail folder, private folders etc...
View 7 Replies View RelatedI'm having some problems installing image magick using the per module install
[url]
I'm trying to get a problem with image hotlinking under control. What I'd like is to allow linking to thumbnails but only allow the fullsize images to be served via another page.
What I'd like is to allow all request to /thumbs/(1-99)/*.jpg but redirect all calls to uploads/(1-99)/*.jpg to view_image.php while allowing all calls to any other existing php page on the site.
I thought it would be something like this but I've tried many variation on the standard denying hotlinking .htaccess scripts I've got and they work to a point but I can't seem to combine them to perform the above?
Can someone please put me out of my misery or point me to a good mod_rewrite tutorial!!!
RewriteCond %{REQUEST_FILENAME} uploads/(.*)/(.*).(gif|jpe?g|png)$ [NC]
RewriteCond %{HTTP_REFERER} !^mysite.com$
RewriteRule (.*) /view_image.php?/$1 [R,NC,L]
I need to find out what would be the best software to run an image website for one of my clients, there is only one domain so I've considered using LiteSpeed Standard (Free)... What server do you think would be the best?
All I need is PHP support for the image viewer software.
Apache
Lighttpd
LiteSpeed
nginx
I am working on a website that is running on IIS that cannot load any images larger than say 4KB to an outside connection. On the local LAN that this box is connected to the page loads without any issues. However, as soon as it goes out through our Microsoft ISA 2006 server to a public site it will not load images or you get only some of the image loading.
View 1 Replies View RelatedI just purchased a Dell 2161DS-2 and I wanted to know if a rumor i've heard is true.
I've had a few people tell me its possible to remotely deploy and install images using this device and a USB hard drive which would plug in to it. If its possible can anyone find me a guide or explain how it is done?
I own a social network generating over 50 million page views a month. Currently, I use only one massive server. I want to add in a new server just for image serving, as my current server is killing me with high bandwidth costs.
Server A runs the website and the logic
Server B runs runs the images
What would be a good architecture between the two servers, given that they ARE NOT IN THE SAME hosting infrastructure (SoftLayer is not a great option if you want alot of bandwidth)
If a user changes his photo on Server A which runs the site, somehow Server B must be notified and gets a hold of the new image..... what would be the most technically feasible and optimum way to achieve this?
What's the best thing to go with? Is it a VPS or a Dedi?
I am currently on a shared package with a US company. However, I'd like to bring the site into the UK hosting domain, and perhaps closer to where I live.
Location in the UK isn't important.
What's the best thing to go with? VPS or Dedi? Or to remain on my US shared?
Currently at about 35GB bandwidth for this month. And the site's only been open 2 months. So will need over 200GB a month with room to expand.
And about 50GB space minimum if possible... :-/
I just got a new server, and for some reason it is as though it always sends out codes to your browser to completely reload (like hard refresh) all images... Even if you hit "Refresh" in firefox, it wants to reload ALL Images. I uploaded the same EXACT files/webpage that it is doing this to on another server and it treats it normally, Firefox caches it. But on my server it wants to reload the images each and every time.
Tried on multiple computers, same thing.
Anyone know where this 'setting' might be? I do have full access to the server, though I was not the one to set it all up initially.
My forum has a gallery of around 150.000 images, and i'm afraid that certain people try to rip it. I've already added some mod rewrite rules in the htaccess file against leeching, but that doesn't stop the rippers. A famous rip-tool is blackwidow, so any ideas how to stop it?
View 3 Replies View RelatedI have been fiddling with an .htaccess file trying to get it to show a default "Image Not Available" image in place of a 404 error. I have found code in other forums that has worked for others, but does nothing for me:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}!-f
RewriteCond %{REQUEST_URI} (.*).(gif|jpg|jpeg|png)$
RewriteRule ^(.*) noimage.gif
and this one which several people said worked for them
Code:
RewriteCond %{ENV:ERROR404} .(jpg|gif|png)$ [NC]
RewriteRule ^.*$ noimage.gif [L]
Anyone had experience with this? The webserver is Apache on CentOS 5.