المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : شرح كيفية تحديث update اوبنتو سيرفر SERVER من 12.10 الى 13.04



said
11-02-2013, بتوقيت غرينيتش 02:14 AM
السلام عليكم

منذ ايام صدر الاصدار الجديد من اوبانتو .. سنتطرق فى هذا الدرس مفصل لشرح طريقة شرح كيفية عمل تحديث update للاصدار الاخير

اولا شئ غير صلاحياتك لروت

رمز Code:
sudo su
ثم
رمز Code:
apt-get update
ثم

رمز Code:
apt-get upgrade
ثم قم بتركيب install update-manager-core

رمز Code:
apt-get install update-manager-core
ثم
افتح ملف
/etc/update-manager/release-upgrades

وتاكد ان قيمة Prompt = normal

ثم نبدأ التحديث update

رمز Code:
do-release-upgrade
رمز Code:
root@server1:~# do-release-upgrade Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B] Get:2 Upgrade tool [1,206 kB] Fetched 1,206 kB in 0s (0 B/s) authenticate 'raring.tar.gz' against 'raring.tar.gz.gpg' extracting 'raring.tar.gz' Reading cache Checking package manager Continue running under SSH? This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover. If you continue, an additional ssh daemon will be started at port '1022'. Do you want to continue? Continue [yN] <-- y Starting additional sshd To make recovery in case of failure easier, an additional sshd will be started on port '1022'. If anything goes wrong with the running ssh you can still connect to the additional one. If you run a firewall, you may need to temporarily open this port. As this is potentially dangerous it's not done automatically. You can open the port with e.g.: 'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT' To continue please press [ENTER] <-- ENTER [...] Do you want to start the upgrade? 45 new packages are going to be installed. 327 packages are going to be upgraded. You have to download a total of 205 M. This download will take about 48 seconds with your connection. Installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d] <-- y




اثناء التحديث update بعض الخدمات تحتاج لريستارت
سيقوم بسؤالك هل تود عمل ريستارت لها
تجيب بموافق بالضغط على انتر

سيسالك هل ترغب فى حذف الباكجس القديمة
رمز Code:
Remove obsolete packages? 13 packages are going to be removed. Continue [yN] Details [d] <-- y
الاجابة ستكون نعم

اخر شئ سيخبرك ان السيرفر SERVER بحاجة لعمل ريستارت حتى يعتمد التحديث update
نوافق باختيار y
رمز Code:
System upgrade is complete. Restart required To finish the upgrade, a restart is required. If you select 'y' the system will be restarted. Continue [yN] <-- y
بعد عمل الريستارت نقوم بالتاكد من الاصدار


رمز Code:
root@server1:~# cat /etc/issue Ubuntu 13.04 \n \l root@server1:~#
مبروك تم التحديث update بسلام

تحياتى




https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى