centos 7 oldu

yum calismiyo 404 ,

napiyoruz?

https://almalinux.org/blog/2024-07-09-centos7-updates

centos vault da var , ama vault nedir ya ? en azindan mevcut centos 7 den bir kere son kez guncellensin

vaulta elle ayar cekmek istemiyorum

alma sagolsun tutuyor son kopyasini

ne iyi insanlar

sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://el7.repo.almalinux.org/centos/CentOS-Base.repo
sudo yum upgrade -y

sonra hatta elevate servisi var centos 7 den alma linux 8 veya 9 a gecmek icin

ancak sunucular directadmin

daha once yapan yokmu nedir nedir?

https://forum.directadmin.com/threads/how-to-inplace-upgrade-from-centos-7-to-almalinux-8-5.64994

nano blockla

#!/bin/bash
iptables -A INPUT -s $1 -j DROP
iptables-save > /etc/sysconfig/iptables

ctrl+x y

chmod +x blokla

./blokla ip veya subnet

iptables -L

te amk bebe seyleriyle ugrasiyoz.

Host serverName
    HostName 192.168.1.123
    User userOnServer
    Port 22
    IdentityFile ~/path/to/key

1- login to old server containing data

2- cd /home

ls -1

cp to a text file

delete unwanted users in that file

3- login to new server

ssh-copy-id root@old.ser.ver.ip

nano list.txt

enter user list one in a line

4- nano imap-sync

for E in `cat list.txt`; do rsync -ave 'ssh -p 22' 37.247.xx.xx:/home/$E/imap/ /home/$E/imap/ ; done

sh imap-sync

5- cd /usr/local/directadmin/scripts
./set_permissions.sh all

done!

directadmin php 8.x gecerken sorunlar oluyo bazi libraryler bulunamadi guncellenemedi falan ve derlenmiyor ise php asagidaki yontemler ise yariyor

kurulu bulunan ancak kullanilmayan ivir ziviri kaldirma ve sistemi guncellemeye uygun hale getirme

cd /usr/local/directadmin/custombuild
./build update
./build list_removals
./build remove_items

sonrasinda ekrani takip et
mesela libiconv icin bu gerekiyor

./build remove_old_local libiconv

ayni sekilde butun php leri derlemektense sadece 1 php yi derlemek icin

./build php_expert 8.2 php-fpm

mesela cok guzel olacaktir.

Terminal shortcuts!

Shortcut Description
Ctrl + A Move to the start of the line.
Ctrl + E Move to the end of the line.
Ctrl + U Delete from the cursor to the start of the line.
Ctrl + K Delete from the cursor to the end of the line.
Ctrl + W Delete the word before the cursor.
Ctrl + L Clear the terminal screen.
Ctrl + C Stop the current process/command.
Ctrl + D Log out or exit the terminal.
Ctrl + Z Pause the current process (can be resumed).
Ctrl + R Search command history (backward search).
Up Arrow Show the previous command (from the command history).
Down Arrow Show the next command (from the command history).
!! Repeat the last command.
!n Repeat the nth command from history.
Tab Auto-complete commands, files, or directories.
Tab twice List all possible completions.
Ctrl + Shift + C Copy the selected text or command.
Ctrl + Shift + V Paste copied text or command.
Ctrl + Shift + N Open a new terminal window.
Ctrl + Shift + T Open a new tab in the terminal.
Ctrl + TaborCtrl + PageDown Switch between terminal tabs.

t’s likely an old CA cert bundle on the system. Try the following to fix it:
Code:
curl -k -o /etc/ssl/certs/ISRG_Root_X1.pem https://letsencrypt.org/certs/isrgrootx1.pem
service directadmin restart