Displaying 14 results from an estimated 14 matches for "zmodload".
Did you mean:
modload
2019 Aug 12
1
Data migration from one server to another- Centos 7
I want to move all my OS, services like Apache configuration and
application (web server) files and folders to another brand new server.
Both servers are running on Centos 7. i want to clone everything.
My questions
1- what is the easiest way to do this?
2- do I need to partition hard-drive of new server exactly as old one?
3- Is there any changes to make on new server after full migration?
4-
2015 Dec 15
3
Upgrade from CentOS6.6 to CentOS 7
...from sysvinit to systemd alone is enough to recommend against
>>> an upgrade.
>>
>> So it's not possible under any circumstances?
>
> Let me offer you one option: *IF* you have enough space on your
> filesystems, you could:
> mkdir /boot/old /old
> zsh
> zmodload zsh/files
> mv /boot/* /boot/old/
> mv /usr /old/
> mv /lib* /old/
> sync
> sync
> And go into the installer. If you have a problem, you can go back....
>
> mark
How would the move from the old to new grub work, particularly in
reverse if needed?
--
Digimer
Paper...
2015 Dec 15
4
Upgrade from CentOS6.6 to CentOS 7
On Tue, Dec 15, 2015 at 6:36 PM, Digimer <lists at alteeve.ca> wrote:
> On 15/12/15 10:17 AM, Traiano Welcome wrote:
>> Hi All
>>
>> Is it possible to upgrade from CentOS 6.7 to CentOS 7?
>>
>> I see there is some attempt at an upgrade tool available, but it's
>> apparently broken:
>>
>>
2017 Jun 07
1
Crazy thought about upgrading to new major release
...nd /proc /new/proc
> mount --bind /boot/new /new/boot
> chroot /new
> cd /lib/modules
> VER=$(ls -rt1 | tail -1)
> echo $VER
> mkinitrd X $VER
> mv X /boot/initrd-$VER.img
> exit
> umount /new/dev /new/sys /new/proc /new/boot
>
>
> Then rotate:
>
> zsh
> zmodload zsh/files
>
> cd /boot
> mkdir old
> mv * old
> mv old/lost+found .
> mv old/new/* .
>
> # Root partition.
> cd /
> mkdir old
> mv * old
> mv old/lost+found .
> #mv old/root . -- WHY?
> mv old/scratch .
> mv old/new/* .
>
> sync
> sync
>
>...
2015 Jun 29
2
Tar CentOS installation and transfer it to new server
Current Installation: CentOS 7.1503 with SerNet Samba 4 ver. 4.1.17
configured as Active Directory Domain Controller.
Current Installation: HP Workstation with dual Xeon quadcore cpu's and 4 x
SATA hard drives NOT configured in RAID array.
New Installation: CentOS 7.1503 minimal install
New Installation: SuperMicro with single Xeon quadcore cpu and 4 x SATA
hard drives configured in two pairs
2017 Jun 06
4
Crazy thought about upgrading to new major release
I have older systems out there that work fine, just for what ever reason
would be great to upgrade from a C5 -> C7 (due to no longer supported) or
C6 > C7 (for updated packages).
Sounds like the upgrade tool is not quite an option...
I was thinking...
What would be wrong with any "easy" script that did the following:
1) Removed all packages with the --justdb option.
2) Import
2015 Dec 15
0
Upgrade from CentOS6.6 to CentOS 7
...ongly advice against it.
>> The move from sysvinit to systemd alone is enough to recommend against
>> an upgrade.
>
> So it's not possible under any circumstances?
Let me offer you one option: *IF* you have enough space on your
filesystems, you could:
mkdir /boot/old /old
zsh
zmodload zsh/files
mv /boot/* /boot/old/
mv /usr /old/
mv /lib* /old/
sync
sync
And go into the installer. If you have a problem, you can go back....
mark
2015 Jun 29
0
Tar CentOS installation and transfer it to new server
...nd /dev /new/dev
mount --bind /sys /new/sys
mount --bind /proc /new/proc
mount --bind /boot/new /new/boot
chroot /new
cd /lib/modules
VER=$(ls -rt1 | tail -1)
echo $VER
mkinitrd X $VER
mv X /boot/initrd-$VER.img
exit
8. I haven't been able to do the next in bash, my preferred shell, so:
zsh
zmodload zsh/files
cd /boot
mkdir old
mv * old
mv old/lost+found .
mv old/new/* .
# Root partition.
cd /
mkdir old
mv * old
mv old/lost+found .
#mv old/root . -- WHY?
mv old/scratch .
mv old/new/* .
sync
sync
9. touch /.autorelabel
reboot
And you can always go back via a rescue boot and a few moves....
2017 Jun 06
0
Crazy thought about upgrading to new major release
...copy.
mount --bind /dev /new/dev
mount --bind /sys /new/sys
mount --bind /proc /new/proc
mount --bind /boot/new /new/boot
chroot /new
cd /lib/modules
VER=$(ls -rt1 | tail -1)
echo $VER
mkinitrd X $VER
mv X /boot/initrd-$VER.img
exit
umount /new/dev /new/sys /new/proc /new/boot
Then rotate:
zsh
zmodload zsh/files
cd /boot
mkdir old
mv * old
mv old/lost+found .
mv old/new/* .
# Root partition.
cd /
mkdir old
mv * old
mv old/lost+found .
#mv old/root . -- WHY?
mv old/scratch .
mv old/new/* .
sync
sync
And reboot. If there are issues with grub, get it up from the grub shell,
then grub-install or...
2018 Aug 29
2
Remote update OS from 6 to 7
Hello all...
I have a remote machine running C6. I desire to update it to C7. Not
possible to be on-site. Can I copy the Everything ISO for C7 to the
machine,
mount -o loop C7.Everything.iso /media/cdrom
then do a "yum upgrade" ?
Will that work? The server is using software raid.
Thanks
Jerry
2016 May 18
3
one-shot yum command to match rpms between systems?
On Wed, 18 May 2016 09:30:54 +0100
James Hogarth wrote:
> And of course as will be pointed out by many the only right answer is yum
> update anyway given cherry picking updates is not supported.
The objective is not to cherry pick updates, but rather to install a second system with packages that match the first system. After fine-tuning the installed packages and stripping out the
2015 Jun 29
2
Tar CentOS installation and transfer it to new server
...c
> mount --bind /boot/new /new/boot
> chroot /new
> cd /lib/modules
>
> VER=$(ls -rt1 | tail -1)
> echo $VER
>
> mkinitrd X $VER
> mv X /boot/initrd-$VER.img
>
> exit
>
> 8. I haven't been able to do the next in bash, my preferred shell, so:
> zsh
> zmodload zsh/files
>
> cd /boot
> mkdir old
> mv * old
> mv old/lost+found .
> mv old/new/* .
>
> # Root partition.
> cd /
> mkdir old
> mv * old
> mv old/lost+found .
> #mv old/root . -- WHY?
> mv old/scratch .
> mv old/new/* .
>
> sync
> sync
>
>...
2018 Apr 13
3
Create CentOS 6 system as "clone" of another - with LVM and different disk sizes
Hi,
I just found myself having to set up a new CentOS 6 system with a nearly
identical configuration to an existing host, so I thought I would just
1. Do a minimal install to set up partitions etc. on the new system.
2. Create an image of the existing system using Clonezilla
(http://www.clonezilla.org)
3. Run a Clonezilla restore on the new system.
- as I though it would be a lot
2013 Sep 13
2
Cloning CentOS workstations
I manage a set of CentOS operations workstations which are all clones of each
other (3 "live" and 1 "spare" kept powered down); each has a single drive with
four partitions (/boot, /, /home, swap). I've already set up cron'd rsync jobs
to copy the operations accounts between the workstations on a daily basis,
so that when one fails, it is a simple, quick process to swap