Divided into 4 processes
SOURCE download
Building a compilation environment
Compiling source code
Run
Source download install git and configure//安装gitsudo apt-get install git//配置git名称和邮箱git config --global user.name "your name"git config --global user.email "[emailprotected]"Create a repo bin directory and source directory
Create a bin directory for repomidir ~/bin
Create source Directorymidir ~/sou
folder (local directory name, optional, default current directory)//view index.html current version and version 3 of the difference SVN diff/di–revision/r 3 index.html//view index.html version 3 and version 4 difference svn diff/di–revision/r 3:4 index.html
Generally this time, there is no special situation, directly into the "submit" phase, and then end a working day or work cycle, but there will be some special circumstances.
Cancel Modification
When your code review and you find some chan
Git is a great but complex source code management system. It supports complex tasks, but is often considered too complex and not suitable for simple daily work. Let's be honest: Git is complicated and we should not pretend it is not. But I will still try to teach you how to work with (my) Basic Git and remote code libraries within 15 minutes. I will demonstrate the following steps, which usually help me build projects on one or more machines.
Create a remote empty code library (on
between Git and HG as its distributed version control system (initially only to support Hg). Since then, git warehouses have grown and many Hg warehouses have migrated to the Git repository. Searching for git on Google code returns 5m results, while search HG returns 16m results (Google added an open support for Hg in April 2009; So, Hg has 2.5 years of history, and Git is only six months on Google code).
Atlassian bought BitBucket last year, and
Add Source (Tsinghua University open source software image)sudo eopkg ar solus https://mirrors.tuna.tsinghua.edu.cn/solus/shannon/eopkg-index.xmlNext source Management methodDelete a repositoryYou can delete a repository by using the following methods:sudo eopkg Remove-repo NameFor example:sudo eopkg Remove-repo ExampleAdd repositoriesYou can add a repository using the following methods:sudo eopkg add-
view the version number. If the following prompt is displayed, the installation is successful.
2. Add the required package
Learn from the online methods.
64-bit system:
[Plain]
View plaincopy
$ Sudo apt-Get install Git-core GnuPG flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev g ++-multilib mingw32 tofrodos Python-markdown libgl1-mesa-dev unzip tproc
32-bit system:
[Plain]
View plaincopy
Cyanogenmod 12.0 12.1 13.0 Bacon (Oneplus) Download compile
Repo Download
Source Download
model related code download
Compiling and packaging
Brush Machine
Repo Download
Mkdir-p ~/binCurl Https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repochmod a+x ~/bin/repoDue to the wall, you can use the follo
components of other component libraries, make sure that you use the yum Priorities plug-in.
The RPMForge library now has more than 10000 CentOS software packages, which is considered by the CentOS community as the safest and most stable third-party software library.
The following describes how to use EPEL, RPMForge, and RPMFusion software repositories:
1. install the yum-priorities plugin.
This plug-in is used to set the order in which yum calls the software source. Because the official sof
, Billy created a new project, and Tom thought the project was interesting, and he wanted to play, he could clone the whole repo (reoisitories) to the local, and he had a repo in his clone project. Tom is free to make various commits to the repo until he is satisfied. Tom could tell Billy what he had changed, and if Billy felt good, he could fetch it from Tom and
# configuration of a user
$ PWD/. GBS. conf # configuration of a specific project or path
The subsequent configuration options will overwrite the options set in the previous file.
The global parameter-C (-- conf) can be used to specify a configuration file. If this option is used, GBS will load this configuration file and ignore other configuration files in the default path.
GBS will ~ /. GBS. conf to generate a configuration file. If the configuration file cannot be found.Scenario-oriented
Basic conceptsYum is a front- End management tool for software packages based on the C/S architecture. It is a package based on rpm package management, which solves the problem of dependencies during rpm package installation. server side of Yum:Its essence is a file server, the main function:1 . Using yum 's file sharing mechanism, each rpm package is shared to the client. 2. Share file dependencies, the metadata of file list information generated after installation. Sharing protocol:FTP, HTTP,
Some time ago, because Android betrayed GNU and the idea of freedom and open source pursued by Linux, it kicked out the main line of Linux source code. In addition to the recent adjustments made by kernel.org to black and Google for android, there are various reasons. The method for downloading the android source code is invalid. The original source code for downloading android is: repo init-u git: // Repository.
The following is the latest android s
following content at the end of the file:
#set java environment JAVA_HOME=/home/ahaxzh/workspace/soft/jdk1.6.0_45 export JRE_HOME=/home/ahaxzh/workspace/soft/jdk1.6.0_45/jre export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
Log out of the system and log on again. Run the java-version command on the terminal to check whether the JDK installation is complete. If the installation is successful, the current JDK version is displayed:
java versi
Description: After the online plagiarism and their own summary and experiment, very detailed, can be left for reference.There are generally two ways to configure Yum:One is to configure the yum.conf file in the/etc directory directly, and the other is to add the. repo file under the/ETC/YUM.REPOS.D directory.One, yum configuration file yum.conf detailed$Cat/etc/Yum. conf [Main]cachedir=/var/cache/Yum#yum下载的RPM包的缓存目录keepcache=0#缓存是否保存, 1 saved, 0 not s
: // intranet.company.com/expenses/finance/file.csv ',
'Http: // intranet.company.com/expenses/ops/file.csv ',
'Http: // intranet.company.com/expenses/marketing/file.csv ',
'Http: // intranet.company.com/expenses/eng/file.csv ')
FORMAT 'csv' (HEADER );
Load External table data = # insert into expenses_travel
SELECT * from ext_expenses where category = 'travel ';
Or you want to quickly load all the data to a new database table:
= # Create table expenses as select * from ext_expenses;
Test:[Root
Make Openstack-juno local Yum source on CentOS7.0Reference: 2014/09/27 | http://www.kekeyun.net/?p=222 Cocoa Cloud Computing NetworkTake http://www.kekeyun.net/?p=222 as a reference, make a local source on CentOS7.0, the process is as follows:First, create a CentOS7 virtual hostInstallation process is a bit long, in order to follow up the need for learning, it is recommended to download the full version to install. Everything version Http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x8
ArticleDirectory
Installing some soft
Installing Repo
Initializing a repo Client
Getting the files
Problem
[Android] Android 4.2 source code download (Ubuntu 12.10) cutting-edge
Recently, I have been studying NFC. Different APIs in different versions are used differently. If you want to see the source code implementation, You have to download the android source code again ~~~
Co
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.