zoukankan      html  css  js  c++  java
  • Trouble and solution

    • Prevent the CTRL from rebooting in loop

          killall scm

          watch echo 1 > /dev/watchdog&

    • Install Git on Ubuntu 10.04

          1) Make sure that the network is working. If needed, configure through "System" > "Network Proxy" > "Proxy Configuration" > "Manual proxy configuration" > "Use the same proxy for all protocols".

          2) Update /etc/apt/sources.list with bellow one.

     1 # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
     2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3 # newer versions of the distribution.
     4 
     5 ###deb http://de.archive.ubuntu.com/ubuntu/ lucid main restricted
     6 ###deb-src http://de.archive.ubuntu.com/ubuntu/ lucid main restricted
     7 
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 ###deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    11 ###deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    12 
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 ###deb http://de.archive.ubuntu.com/ubuntu/ lucid universe
    17 ###deb-src http://de.archive.ubuntu.com/ubuntu/ lucid universe
    18 ###deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates universe
    19 ###deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates universe
    20 
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    22 ## team, and may not be under a free licence. Please satisfy yourself as to 
    23 ## your rights to use the software. Also, please note that software in 
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 ###deb http://de.archive.ubuntu.com/ubuntu/ lucid multiverse
    27 ###deb-src http://de.archive.ubuntu.com/ubuntu/ lucid multiverse
    28 ###deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    29 ###deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    30 
    31 ## Uncomment the following two lines to add software from the 'backports'
    32 ## repository.
    33 ## N.B. software from this repository may not have been tested as
    34 ## extensively as that contained in the main release, although it includes
    35 ## newer versions of some applications which may provide useful features.
    36 ## Also, please note that software in backports WILL NOT receive any review
    37 ## or updates from the Ubuntu security team.
    38 # deb http://de.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    39 # deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    40 
    41 ## Uncomment the following two lines to add software from Canonical's
    42 ## 'partner' repository.
    43 ## This software is not part of Ubuntu, but is offered by Canonical and the
    44 ## respective vendors as a service to Ubuntu users.
    45 # deb http://archive.canonical.com/ubuntu lucid partner
    46 # deb-src http://archive.canonical.com/ubuntu lucid partner
    47 
    48 ###deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    49 ###deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    50 ###deb http://security.ubuntu.com/ubuntu lucid-security universe
    51 ###deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    52 ###deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    53 ###deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
    54 
    55 ## Major bug fix updates produced after the final release of the  
    56 ## distribution.  
    57 deb http://old-releases.ubuntu.com/ubuntu/ lucid main restricted
    58 deb-src http://old-releases.ubuntu.com/ubuntu/ lucid main restricted
    59 deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates main restricted
    60 deb-src http://old-releases.ubuntu.com/ubuntu/ lucid-updates main restricted
    61    
    62 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  
    63 ## team. Also, please note that software in universe WILL NOT receive any  
    64 ## review or updates from the Ubuntu security team.  
    65 deb http://old-releases.ubuntu.com/ubuntu/ lucid universe
    66 deb-src http://old-releases.ubuntu.com/ubuntu/ lucid universe
    67 deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates universe
    68 deb-src http://old-releases.ubuntu.com/ubuntu/ lucid-updates universe
    69    
    70 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  
    71 ## team, and may not be under a free licence. Please satisfy yourself as to  
    72 ## your rights to use the software. Also, please note that software in  
    73 ## multiverse WILL NOT receive any review or updates from the Ubuntu  
    74 ## security team.  
    75 deb http://old-releases.ubuntu.com/ubuntu/ lucid multiverse
    76 deb-src http://old-releases.ubuntu.com/ubuntu/ lucid multiverse
    77 deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates multiverse
    78 deb-src http://old-releases.ubuntu.com/ubuntu/ lucid-updates multiverse
    79    
    80 ## Uncomment the following two lines to add software from the 'backports'  
    81 ## repository.  
    82 ## N.B. software from this repository may not have been tested as  
    83 ## extensively as that contained in the main release, although it includes  
    84 ## newer versions of some applications which may provide useful features.  
    85 ## Also, please note that software in backports WILL NOT receive any review  
    86 ## or updates from the Ubuntu security team.  
    87 # deb http://us.old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    88 # deb-src http://us.old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    89    
    90 #remastersys for backup installed system  
    91 deb http://www.remastersys.com/ubuntu lucid main

          3) Update by executing instruction: sudo apt-get update

          4) Addording to this page, configure the proxy information. Then add apt repository according to Git official site.

    1 $sudo bash  
    2 #export https_proxy=http://host:port/  
    3 #add-apt-repository ppa:git-core/ppa
    4 #exit
    5 $sudo apt-get update
    6 $sudo apt-get install git
  • 相关阅读:
    扩展LVM 逻辑卷存储空间
    Linux Shell远程执行命令(命令行与脚本方式)
    vsftpd FTP服务器配置
    初识小米Minos
    使用Libpng库实现Tiny6410显示PNG图片
    uCos-II内存管理
    应用程序调用tslib出现segmentation fault
    Linux-2.6.39在Tiny6410上的移植
    Linux-2.6.39在Tiny6410上的移植
    Tiny6410移植tslib
  • 原文地址:https://www.cnblogs.com/outs/p/8493887.html
Copyright © 2011-2022 走看看