ubuntu-810 重裝系統

來源:互聯網
上載者:User

     今天重裝系統,結合需要安裝的包,記錄如下:

1.網路設定
   

Gnome Network Manager好像有一些bug,你手動設定了靜態IP後,當系統重啟後又回到了DHCP設定。下面這個步驟是移除Gnome Network Manager,手動設定必需的檔案來設定靜態IP

Step 1 –首先移除Gnome Network Manager,因為如果你不移除,當系統重啟後,會覆蓋你的剛剛的配置
移除Gnome Network Manager的問題,請在終端下輸入以下命令:

    sudo update-rc.d -f NetworkManager remove

這將禁用和移除Gnome Network Manager應用程式,現在你就可以手動設定你的靜態IP了

重啟你的系統!

Step 2 – 手動設定 network interface檔案:
    sudo vi   /etc/network/interfaces

輸入以下資訊:

    auto lo eth0
    iface lo inet loopback
    iface eth0 inet static
    address xxx.xxx.xxx.xxx(在這兒輸入你的IP)
    netmask xxx.xxx.xxx.xxx
    gateway xxx.xxx.xxx.xxx(在這兒輸入你的網關)

儲存退出!

Step 3– 配置你的DNS檔案

    sudo vi  /etc/resolv.conf

輸入以下資訊:

    # Generated by NetworkManager
    nameserver xxx.xxx.xxx.xxx(輸入 dns server ip)
    nameserver xxx.xxx.xxx.xxx(輸入你的第二個 dns server ip)

儲存退出

Step 4 – 重啟你的網路介面

    sudo /etc/init.d/networking restart

這將得到類似下面的資訊:

    *Reconfiguring network interfaces… [OK]

這時,你可以在終端中輸入 ifconfig 命令來查看你是否配置成功了

2.dpkg -l | grep vim

apt-get --purge remove vim-tiny

apt-get install vim-full

3. scp xx@192.168.4.182:/etc/apt/source.list /etc/apt //更新APT源

4.apt-get install tftpd-hpa tftp-hpa xinetd

 vi /etc/xinetd.d/tftp
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s /tftpboot
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}

5.apt-get nfs-kernel-server
 
 vi /etc/exports

6.sudo apt-get install libncurses5-dev sharutils build-essential intltool

7.apt-get install  stardict  //translate tools

8.apt-get install ssh   //ssh client , ssh server

9. MSN , g2ipmsg-0.9.6(飛鴿),QQ

./configure
make
make install

10.apt-get install scrot  //命令
#scrot -s -b

11.reboot

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.