CIF installation Error exception handling process record

Source: Internet
Author: User

Installation Environment

Ubuntu 12.04.3 Server LTS AMD64

Official instruction Manual

Https://github.com/csirtgadgets/massive-octo-spice/wiki/PlatformUbuntu

Installation method
$ curl -Ls https://raw.githubusercontent.com/csirtgadgets/massive-octo-spice/master/hacking/platforms/easybutton_curl.sh | sudo bash -$ sudo chown `whoami`:`whoami` ~/.cif.yml

The second sentence sudo chown WhoAmI : whoami ~/.cif.yml is easybutton_curl>sh mentioned in, so the installation using the first sentence will be OK.

Issues and solutions are not officially addressed
    • Update cannot be installed
##some code in easy_button_curl.shcase$OSin    "Ubuntu" )        sudosudosudo apt-get install -y htop build-essential automake autoconf git        $BRANCH        cd massive-octo-spice        bash autogen.sh        sudo bash ./hacking/platforms/easybutton.sh

After the update cannot be installed, it may be the source of the problem, and finally used the Ali source.

    • Ubuntu.shgeoipupdatecannot be executed in
## some code in Ubuntu.shapt-get updateapt-get install -y monit geoipupdate ........

Error: Function dependency cannot be installed, need version how. aptitudesupport for dependencies is better. Use to aptitude resolve dependency issues.
Solution:

on Ubuntuaforversionofaddthetoaddby running:$ sudo aptitude update$ sudo aptitude install geoipupdate
    • cpanmUnable to install (installed on its own cpanm .) )
echo‘installing cpanm...‘sudo perl - App::cpanminus

Error:

Updating certificatesinch/etc/ssl/certs ...0Added0removed; Done. Running Hooksinch/etc/ca-certificates/update.d....done.done.installing cpanm ...% total% Received% xferd Average speed Time     Time      TimeCurrent Dload Upload Total spent0     0    0     0    0     0      0      0 --:--:--0:00:01--:--:--0Curl: ( -) SSL Certificate Problem:certificate is  notYet Validmore details Here:http://curl.haxx.se/docs/sslcerts.htmlcurl performs SSL certificate verification bydefault, using a"Bundle"  ofCertificate Authority (CA) public keys (ca certs).IfThedefaultBundlefileisn' tAdequate, can specify an alternatefileUsing the--cacert option.IfThis HTTPS server uses a certificatesignedby a CA representedinchThe bundle, the certificate verification probably failed due toA problem withThe certificate (it might be expired,orThe name might notMatch the domain nameinchThe URL).IfYou' dLike toTurn off Curl' sVerification ofThe certificate, UseThe-k (or --insecure) option.

Cause: A certificate validation error has not actually been added to the certificate.
Solution:

-Lk https://cpanmin.us | sudo perl - App::cpanminus
    • Plus cpanm , you can't install it later. Use the manual installation to resolve this issue and change the address.
$ wget  http://xrl.us/cpanm  --no-check-certificate -O$ chmod +x  
    • cpanm ZMQx::ClassUnable to install, there are options in the source file --force . Install it more than once in a few installations. Tipsfailed,but installed

    • cpanm DateTime模块 cannot be installed by using installation dependencies. Many people reflect this problem.
      Solution: cpanm Use the installation without using the installation apt .

sudo apt-get install libdatetime-perl
    • Apache Boot not successful
echo‘restarting apache...‘service apache2 restart

Reason: Memory 1G is not enough, the card is dead.
Solution: Tune into 2G to solve the problem.

Other Notes
    • Problem description and information retrieval ability need to be strengthened.
    • Linux fundamentals need to be consolidated
    • During the installation process, the sh script should have a certain reading ability. The file is overwritten several times Ubuntu.sh .
    • Ubuntu.shMust be executed in the root directory because sh there are cd ../../../ statements in it.

CIF installation Error exception handling process record

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.