نمایش نتایج: از شماره 1 تا 1 , از مجموع 1

موضوع: چگونگی عوض کردن ای پی سرور در لینوکس

  1. #1
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,976
    تشکر شده در
    2,085 پست

    پیش فرض چگونگی عوض کردن ای پی سرور در لینوکس

    Linux Tutorial: How to change the IP ADDRESS on a Linux machine
    Sometimes you run into situations where you need to change the IP address on a Linux server. If you are a "Windows" or "GUI" person, you might feel lost when you have to change the IP address of a Linux machine from the command line. But no worries, the actual process of changing the IP address is not that hard. Here is how it works:
    Login to your server (preferrably via console or SSH) and switch to the root user
    Now open the network configuration file. For this example we will use the default NIC (eth0).
    #root: vi /etc/sysconfig/network-scripts/ifcfg-eth0
    Your screen output will look like this

    Now modify the configuration by using the "i" command to insert information. When you are done updating the file, hit "ESC" and save the settings with ":w" and exit out with "". The file has now been modified, but the changes have not been loaded yet. Next we want to change the host name and the default gateway of the machine. From the root prompt type the following:
    #root: vi /etc/sysconfig/network
    The screen output will look like this:


    Now modify the configuration by using the "i" command to insert your new hostname and gateway information. When you are done updating the file, hit "ESC" and save the settings with ":w" and exit out with "". And again - the network configuration file has now been modified, but the changes have not been loaded yet.
    The best way to have the changes take effect is to reboot the server if that is possible. If you are connecting remotely you want to make preparations to be able to connect again to the server. Make sure that the network switch supports the assigned IP address and gateway as otherwise your connection will fail. Send the server for a reboot with the following command:
    #root: reboot
    A second option is to restart the networking component, but sometimes a reboot is the better option when changing the IP address of a Linux server. On the command prompt type the following:
    #root: service network restart
    If all went well the server comes back with the new ip address and host name that you assigned.

    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

  2. تعداد تشکر ها ازVahid به دلیل پست مفید


  3. # ADS




     

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. عوض کردن آی پی سایت ها
    توسط nader_star در انجمن سوالات و مشکلات
    پاسخ ها: 2
    آخرين نوشته: November 17th, 2015, 13:25
  2. عوض کردن آی پی cent os 5 از طریق ssh
    توسط x170 در انجمن سوالات و مشکلات
    پاسخ ها: 8
    آخرين نوشته: January 28th, 2014, 12:04
  3. عوض کردن رمز وی پی اس
    توسط farhad98 در انجمن سوالات و مشکلات
    پاسخ ها: 5
    آخرين نوشته: October 3rd, 2013, 13:30
  4. عوض کردن ای پی سرور
    توسط AlborzVPS در انجمن وی ام ور Vmware
    پاسخ ها: 10
    آخرين نوشته: August 27th, 2011, 00:18
  5. عوض کردن ای پی اصلی سرور
    توسط FireMan در انجمن سوالات و مشکلات
    پاسخ ها: 2
    آخرين نوشته: January 3rd, 2010, 18:03

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •