CentOS Upgrade Onto A Different Machine - Conflicts
Feb 27, 2008
Currently running a server with a little less than 100 accounts, running 32 bit CentOS 4.6 on a single chip running a current version of Cpanel and we're going to upgrade to a two quad core chips, and I figured I'd take this time to upgrade to a 64 bit version of CentOS 5.1. Here's my question: We're running an old version of Apache, and PHP
Server Version: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.6 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
and while all we have on the server now are wordpress blogs and a few forums, I have to confess a level of uninformed-ness when it comes to upgrading Apache and then transferring all the accounts.
These will be different machines, as I hope to make the backup/restore fairly seemless.
Should I upgrade Apache to the Apache2.* before I make the transfer, or does it matter? Same with PHP to PHP5.*
There shouldn't be any conflicts, but I'm posting this because I haven't had to deal with it as yet and thought someone knew of an large issue I could be on the lookout.
Also, the RPM/Perl modules's I've installed over time. Uh, is there a "differential" list or am I going to have to create a list of the RPMs I've got now, and then check after I make the build on the new machine? There's probably a dozen or so ones specific to some applications on the server that aren't required for the core operation, and damned if I can remember which they were...
I have more worries, but most of it involves hand holding issues I think I'll work on privately, but if I do have any more questions, I'll add it to this thread.
View 0 Replies
ADVERTISEMENT
Feb 24, 2007
I have a server running cPanel.
At the moment, I am been hosted on an unmanaged server (dedicated).
My server provider is offering $25/hour for managed support.
My Kernal and Centos have not been updated for a while and I am looking to upgrade both of them. I am wondering how long would these 2 jobs normally take?
View 11 Replies
View Related
Apr 8, 2009
My server currently has php 4.4.7 installed. I was wondering what potential issues (if any) there might be upgrading to 5.2.9?
Is there anything that might break code written for php4? (other than predefined functions with identical names)
View 7 Replies
View Related
Jun 2, 2007
I'm trying to upgrade centos 3.8 to 4.5 but seem stuck here
I did a :
yum update --all
(nothing to be upgraded)
root@server [~]# rpm -Uvh --force yum-2.4.3-3.el4.centos.noarch.rpm centos-release-4-4.3.i386.rpm
error: Failed dependencies:
python-elementtree is needed by yum-2.4.3-3.el4.centos
python-sqlite is needed by yum-2.4.3-3.el4.centos
root@server [~]# rpm -Uvh [url]
Retrieving [url]
error: Failed dependencies:
python-abi = 2.3 is needed by python-elementtree-1.2.6-5.el4.centos
root@server [~]# rpm -Uvh [url]
Retrieving
[url]
error: Failed dependencies:
libsqlite3.so.0 is needed by python-sqlite-1.1.7-1.2.1
View 3 Replies
View Related
Jun 30, 2009
I wanted the database to 5.0.67-community version last update and do the best version available. OS: CENTOS 5.3 i686 standard is. And PHP version 5.2.9 and Kernel version 2.6.18-128.1.6.el5 I can version this database to mysql-5.1.35 updates can If you can help there. and if this is not good please help me that what version that this current version is better I do updates. You're commands and write how it can be done.
View 14 Replies
View Related
Oct 28, 2009
why a VPS host wouldn't upgrade a VPS from CentOS 4.7 to 5.4? Is there some technical explanation that I'm not privy to?
Hello,
Unfortunately we cannot upgrade the OS on our VPS product. If you would like to go up to CentOS 5, you will need to purchase a dedicated server and we would then be able to migrate all of your accounts to that dedicated server.
Is this something you are interested in? I can get you over to our sales team to discuss getting a dedicated server if you would like.
Regards,
xxxxxxxxxxx
I replied asking if they offered CentOS 5 VPS and this was his reply:
Hello,
Yes, that is correct. As far as I know, that is in development, but I couldn't even begin to speculate when that will be finalized.
Did you wish to be upgraded to a dedicated server?
Regards,
xxxxxxxxxxx
Aside from the extremely annoying upsell at the end of each e.mail, I'm inclined to think I'm going to have to change VPS providers.
View 10 Replies
View Related
May 21, 2009
With Windows, it's simple to know when you need to upgrade the memory on a server. On Linux, apparently alot of RAM is reserved for cache?
Anyways, I currently have 2GB of RAM in a server and am wondering when the RAM should be upgraded. The server has became quite unstable and server load is always below 2, usually around 0.60 - 1.20.
Here's the current memory usage from PHPSysInfo (picture below):
[url]
Would you recommend I upgrade the RAM to help with stability?
View 9 Replies
View Related
May 28, 2009
I am planning on upgrading to php 5. I really don't need to upgrade to mysql 5 but do you guys think I will face problems with PHP 5.2.9 and Mysql 4.1.20 working together...
I am planning on doing the upgrade like this (if I decide to upgrade PHP and MYSQL all together)
1. STEP
nano /etc/yum.repos.d/CentOS-Base.repo
2. STEP
change the enabled=0 to 1 as follows
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1
4.STEP
yum install php-xml
5.STEP
yum update httpd* php* mysql*
and restart the server do you guys think I will face any problems.
If I am only upgrading the php to latest I am planning on doing
1.STEP
I will do the 2.STEP above
2.STEP
wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
yum install php-xml php-pdo
yum install php-pear
mv /etc/php.ini.rpmnew /etc/php.ini
and reboot
View 4 Replies
View Related
May 28, 2009
I am planning on upgrading to php 5. I really don't need to upgrade to mysql 5 but do you guys think I will face problems with PHP 5.2.9 and Mysql 4.1.20 working together...
I am planning on doing the upgrade like this (if I decide to upgrade PHP and MYSQL all together)
1. STEP
nano /etc/yum.repos.d/CentOS-Base.repo
2. STEP
change the enabled=0 to 1 as follows
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=[url]
release=$releasever&arch=$basearch&repo=centosplus
#baseurl=[url]
gpgcheck=1
enabled=1
gpgkey=[url]
priority=2
protect=1
4.STEP
yum install php-xml
5.STEP
yum update httpd* php* mysql*
and restart the server do you guys think I will face any problems.
If I am only upgrading the php to latest I am planning on doing
1.STEP
I will do the 2.STEP above
2.STEP
wget -q -O - [url]
yum install php-xml php-pdo
yum install php-pear
mv /etc/php.ini.rpmnew /etc/php.ini
and reboot
View 2 Replies
View Related
Jul 7, 2008
How to upgrade php4 to php5 on CentOS 4.6?
View 4 Replies
View Related
Feb 8, 2015
How to upgrade PHP to PHP 5.4 on CentOS 6 ?
View 4 Replies
View Related
Apr 29, 2007
Last year I ordered a new server with Centos 4.3 and it had the kernel kernel 2.6.9-34.0.2ELsmp installed. It runned fine and I didn't update any packages since then.
Today I started getting a problem where both mysqld and kswapd0 uses very high amounts of CPU, spiking up to 100% and my memory usage is at 99% all the time. The problem seems exactly the same as the one mentioned in this thread.
In that thread the exact same kernel is said to be insecure and to cause this problem. I also came across a centOS bug that reports this problem with high cpu, mem usage and mysql & kswapd0 consuming all resources.
In the linked thread the person solved the problem by upgrading to kernel 2.6.9-42 using rpms but others recommended a newer kernel or a custom compiled kernel for CentOS.
Apparently when they used yum it said 34.0.2 was the latest kernel.
What should I do to upgrade the kernel, which version should i upgrade to, and where do I get it from? I won't be able to compile a custom kernel and I've only installed basic rpm packages before.
View 5 Replies
View Related
Nov 6, 2009
I'm wondering about colocation but weary of sending a server that's valued at $2k+ to a facility I've never used before.
What do you do to "test" out a colo facility? Do you send them a less expensive machine to test them out?
Do you buy insurance for the system you're colocating?
Or do you just send them the server and hope all works out?
View 13 Replies
View Related
Feb 23, 2009
I have server for testing UBC an SLM memory management (Virtuozzo 4). I use SLM memory limits and setup 2 VPS's with my hosting plan (1024MB guaranteed and 4096 MB dynamic).
Host machine have 8 GB of RAM. My problem is, that host machine has have 100 MB of memory free when these two VPS's are running.
Where is all memory?
View 5 Replies
View Related
Oct 29, 2008
I was using apache on my old xp machine but recently got a new computer, vista 64 bit which comes with IIS server.
I am familiar with html/css and starting to learn php, asp etc. Am I correct in assuming that it would be good to setup both Apache and IIS on my machine so that I can test database driven sites on my system, because I will want to work on many client websites who some will use windows/IIS hosts and others apache.
Or is it that with just IIS, I can test all sites in my dev environment since IIS supports everything apache does and more?
I am not sure if when developing a site for a client with a linux/apache host there is a lot of apache configuration that I would not be able to test on my local IIS server?
In fact, I am not even sure if a web programmer would need to do anything different at all dependant on which server type their code was running on.
View 2 Replies
View Related
Feb 28, 2008
I have a dedicated machine with Xen configured... Dom0 stuff runs great.
I have a pre-made image from jailtime.org, with an ubuntu.7-04.img, ubuntu-7-05.xen3.cfg, and ubuntu.swap -- obviously, the actual image, the config file, and the swap file.
Starting it fails:
Code:
$ sudo xm create ./ubuntu.7-04.xen3.cfg
Using config file "././ubuntu.7-04.xen3.cfg".
The config file:
Code:
kernel = "/boot/vmlinuz-2.6.18-xen"
memory = "256"
name = "ubuntu"
vif = [ 'mac=00:01:02:03:04:07, bridge=xenbr0, vifname=vif1.0' ]
dhcp = "dhcp"
disk = ['file:/home/matt/vms/ubuntu-7.04/ubuntu.7-04.img,sda1,w', 'file://home/matt/vms/ubuntu-7.04/ubuntu.swap,sda2,w']
root = "/dev/sda1 ro"
Actually, a couple derivative questions here...
- Are the /boot and /dev/sda1 literal? That is, do they relate to Dom0 names (/boot on the server, and /dev/sda1, my "real" disk), or are they telling the new DomU what to call them?
- I don't want DHCP.... Do I change dhcp to "0" / "false," or do I specify an IP?
I've found a zillion guides out there, and they cover everything about setting up Xen, except for this one part, it seems?
View 1 Replies
View Related
Nov 25, 2008
I have a server in my office. I also have a ADSL router which is connected in ethernet. Now my question is how do I make this machine Live?
View 4 Replies
View Related
Feb 23, 2007
what do you think of Machine Hosting? Are they good? Here is the url: [url]
I am personally searching for a low cost hosting service that provides functionality to deploy web applications developed with Java.
On their website they say that they support Apach 2.0 as a webserver for around $9 a month! Is this a good deal?
I am mostly refering to Plan 1
[url]
Also are there any disadvanteges if I go with them? (any obvious ones at least)
View 1 Replies
View Related
Oct 15, 2007
Can I install say, VMWare on a VPS and use it the same way as if it were installed on an OS running on the physical hardware?
View 9 Replies
View Related
Aug 17, 2007
I recently got a 2nd dedicated server to run MySQL for me. I host game servers that require MySQL. I usually ran it locally on my dual xeon machine until it started using a lot of resources, more then all of the game servers combined. So I moved my MySQL to a dual core machine. The MySQL machine is in the same datacenter as my dual xeon machine (I rent from softlayer). So I am using the private network ip to communicate between the 2 servers. However the queries are lagging out a lot, and causing my game servers to freeze up. I never had this problem when it ran locally, both servers are 100mbit and the mysql machine has a 15K RPM hardrive. The queries seem to not go through as fast as they did when it ran locally (of course), but not as much as I thought it would. Is there anything I can do to make it operate faster? Also, both servers are Windows 2003 Server.
View 2 Replies
View Related
May 19, 2007
I feel like I'm making this much harder than it is. I have one server with multiple IPs. I list my ns1 as (example) 1.2.3.4 and ns2 as 1.2.3.5. All of that's squared away, and it all resolves properly.
Except that tinydns only listens on 1.2.3.4, and I can't for the life of me figure out how to make it listen on the second IP too. Consequently, queries to ns2 fail.
What I ended up doing was just starting a second session with /etc/tinydns2 (and /service/tinydns2)... This is surely not the right solution, but it's made even worse because my "cp -R /service/tinydns /service/tinydns2" command doesn't do anything.
View 1 Replies
View Related
Sep 29, 2009
I was wondering what the average web host server machine configuration would be.
View 11 Replies
View Related
Mar 27, 2007
i had made my own nameserver on my cpanel server running freebsd OS
im testing one domain uletbulu.org using the nameserver i had set but its seem the domain cannot resolved properly
im try checking it and here is the result
ERROR: Some of your nameservers listed at the parent nameservers did not respond. The ones that did not respond are:
64.85.161.121 Error=Port Unreachable
64.85.161.120 Error=Port Unreachable
completely result is here
[url]
from error msg i think that my server blocked bind port and also tcp connection to bind port
View 8 Replies
View Related
Dec 4, 2007
to move data (a lot) from one server to another. The thing is that the old server's host will not allow SSH access, not even just for a few hours. The new server is a dedicated, so I will of course have SSH there, but how should I handle this situation?
The data in question is massive..Much too much to download to the PC via FTP and upload to the new server. I'm not too familiar with FTP on linux. Could I use SSH on the new machine to FTP into the old machine and recursively grab everything (IIRC, the FTP protocol doesn't allow recursive gets...although it's been awhile since I've used CLI FTP)
View 12 Replies
View Related
Apr 27, 2007
I have a small linux box that I use as a router (CentOS 4.4 on OpenVZ).
I have quite a few clients connecting to it and using it as a gateway.
I would like to monitor their bandwidth usage if possible, I have iptables installed and am using iptables -L -v -n, which shows me the data transferred on specific ports that I am forwarding to them.
So, is there an bit of software out there that will monitor each IP for all UDP and TCP traffic, and wont be lost if I restart iptables.
I have looked at Cacti, but have never managed to get it to work...?
View 1 Replies
View Related
Jan 28, 2007
I had some questions about it.
I'm planning on using a C2D Quad Core and was wondering the following
I am planning on using non-ecc ram is that ok for a server?
Will a normal board work instead of a server board?
View 8 Replies
View Related
Oct 19, 2007
Try following PHP code
<?php echo 2022886285 & -2147483649; ?>
It should return 2022886285
- On my current Web hosting: It works OK.
IXWebhosting.com
Dell PowerEdge 2650
DUAL Intel Xeon 2.8GHz, 512K Cache
RedHat - 7.3 OS on your server
- On my new Dedicated Web hositn: It return just 0. Problem!
HostGator.com
Pentium 4 2.4Ghz
CentOS Enterprise.
Why One simple Bitwise statement doesn't work on CentOS?
New Hosting company support from HostGator tells me
It's code problem or php problem.
However it works on others.
Please test the statement in your site and Reply the result if it returns proper value or not.
View 14 Replies
View Related
Aug 8, 2005
For some reason, every time I setup the SSL cert on my Windows box, I receive a error 400 when I try to visit the site. When I take the SSL cert out then the site loads again. Anyone know what the problem is here?
View 1 Replies
View Related
Dec 12, 2008
I am currently researching the options open to me for Virtualisation, the two main ones I have seen are Xen or KVM.
I mainly use CentOS (RHEL), but have read that the version of Xen with it is very old, broken and unstable. KVM isn't included in the kernel that ships with CentOS, as it is too old, apparently it was first featured in Kernel v2.6.20. There isn't likely to be an update till RHEL6, which is due for release first quarter of 2010. I can't wait over a year, so need to find another Distro for use as the Host OS/Hypervisor.
I have built a pretty powerful server, it has an Intel Xeon 3230 which has VT - so I might be better off using KVM over Xen. I am going to collocate this server, so realistically I can make this decision only once - as it would be a PITA to re-install a host Linux distro remotely.
I did a search on distrowatch for distros with the latest version of the kernel, and Slackware came up as being just one minor version behind the most current (v2.6.27.7).
Now this distro is very mature, so should be a fairly safe bet, but it is a 32bit version and can't host 64bit VMs. I have 8GB of ram so want to be able to use it all, and offer the choice of 32/64bit VMs. So that's that out of the window.
I have used Arch Linux on and off for a couple of years as a workstation OS, but because it is so bleeding edge, when pacman updates it can break itself. But I suppose if I just use it as the Host OS, and never let it update/reboot, then it won't break. It should be fairly lightweight and stable, as I will be installing the bare minimum packages. I have a management card, so if the server fails to boot, then I can still remote in to fix it.
If I do want to update the kernel, is it possible to update without rebooting? I think it is somehow... unless I can just reboot during an unused time at 3am or something.
As you can tell I am leaning towards KVM on Arch Linux (x86_64). Is this a good plan?
View 9 Replies
View Related
Feb 6, 2008
I'm running apache to serve PHP files on (/home/www/) and thttpd to serve images on (/home/www/images)
thttpd runs on a different IP than apache, apache only listens to its IP.
After doing this, the number of apache processes decreased significantly, however performance has gone down, and apache is starting to crash very frequently (swapping).
Could there be a file-locking issue? Do I have to separate the images folder from the www folder?
View 0 Replies
View Related
Jun 14, 2007
Basically I have installed asp.net and mssql on my machine at home and I was wondering what steps I need to do so that I can have my machine act as a web server?
View 6 Replies
View Related