To download the source code, you first need to install the following software: Curl and Git-core 1.1 Install Curl:Execute in Terminal: $sudo apt-get Install Curl 1.2 installation Git-core1.2. 1 Create a new bin file in the user directory to execute in the terminal: mkdir ~/binAdd the ~/BIN environment variable, the role is: To download the GIT software installed in this directory, run in another directory may not find the software, so to be added to the environment variable in the terminal execu
Case overviewThe company's social networking site in the PHP language development, in order to manage the code developed by PHP programmers, the senior leaders asked to build SVN server version control. The first version of the social networking site is deployed on top of the LNMP platform, with an Nginx server and access to the backend's PHP server via the FASTCGI protocol. To keep your data safe,Request to build MySQL database master-slave cluster.The social networking site project contains th
repository
This approach is a unified Red Hat company that most of the more commonly used Linux in the. RPM installation package into the Yum software warehouse to provide client installation services.
Here I'm going to use the VMware virtual machine to bring you experiments, and here I'm using the CENTOS7 operating system.First, configure the software warehouse 1. Configure the Local software repositoryA. Insert the Centos7.iso image file into the optical drive to make sure the power is
good HTTP-based stateless pushing and pulling, which is easy to integrate with Google's architecture (almost all Google services are based on HTTP ).Google also provides test data specifically, indicating that Git is one order of magnitude slower than Hg When HTTP is used. (Two numbers are mentioned, which are 22 times slower and 12 times slower .)
3. Where can I host code for free:
GitHub: This website is famous for its MB free space built with RoR. It supports Git, but does not support Hg (
: protocol for the shared file system repository so that the server can clone it and use the local work service as the cache. The repository implementation insinuate the {label} parameter of the HTTP resource to the GIT tag (commit ID, branch name, or label).If the Git branch or tag name contains a slash ("/"), you should use the special string "(_)" To specify the label in the HTTP URL (to avoid confusion with other URL paths). For example, if the label is Foo/bar, a backslash will cause the
compiled directly from the android source code!
Repo is the encapsulation of git to facilitate the acquisition of the android source code. The source code is maintained by git, so the same is true for obtaining the source code by git.
In addition, all documents on www.android.com are available, and documents on the Internet are also available on the official website!
I. Basic Development Environment
Ubuntu-10.04 can be, install a local sou
Configure the GIT server on Ubuntu
Over the past few days, I have been tossing over the GIT version management server. I feel a little too large, and I don't have enough permissions. The encrypted file does not match the user name ......
However, this afternoon has always been an effective task. I will record the errors I have encountered over the past few days and give them a reference!
Today, I modified the log again, mainly to solve the gitweb display problem, and the new member cannot clone
check problem, you can solve it through the following methods:
Modify the following files:
1External/clearsilver/cgi/Android. mk,
2
3External/clearsilver/Java-JNI/Android. mk,
4
5External/clearsilver/util/Android. mk,
6
7External/clearsilver/CS/Android. mk four files.
Changing ifneq in the following script to ifeq can avoid problems temporarily
1# This forces a 64-bit buildFor java6
2Ifneq ($ (Filter1.6%, $ (java_version )),)
3Local_cflags + =-M64
4Local_ldflags + =-M64
5Endif
2) Set environmen
ArticleDirectory
The setup
Syncing
Syncing A forkthe setup
Before you can sync, you need to add a remote that points to the upstream Repo. You may have done this when you originally forked.
git remote-v # list the current remotes # origin https://github.com/ User / repo . git (FETCH) # origin https://github.com/ User / repo . git (push)
To configure the Android source code download environment:The first step: Create a directory to hold the download script file (repo) (you can put the script file in any directory, use ~/bin here).#mkdir ~/bin#PATH =~/bin: $PATHStep two: Download the repo script file (for downloading Android source code)#curl Https://dl-ssl.google.com/dl/googlesource/git-repo/
cannot create a new repo under Linux, only the repo that are already in GitHub can be modified. So, when you want to create a new repo, you must create a new one on github.com, and then add new content to this repo by using Git under Linux.3.2 Modifying the code in repoGitHub's official web site also has a tutorial to
In the past, it was very convenient to configure Yum with fedora, but it was not so convenient to come to rhle. If the following settings are not made, software installation using yum is often unavailable, the detailed configuration is as follows (found online)
First, the rhel5 system has been installed with Yum, because if you use an official website to update the yum, it will prompt registration and so on unless you have bought rhel5. Therefore, you only need to change the yum update addr
Install Salt-minion on REHL5This article applies to rhel5.4, 6.4, 7. Take el5.4 for example only.1 Online installation method is extremely simple:# wget--no-check-certificate-o install_salt.sh https://bootstrap.saltstack.com# sh install_salt.sh-iThe above applies to El5, El6, EL7 and other versions. You can find a bunch of repo under/etc/yum.repos.d/, save the following:Epel.repoepel-testing.reposaltstack-salt-el5-epel-5.repo2 The following main descr
Because the yum source download on the openstack official website is slow, we now download the built-in installation packages of openstack, epel, CEpH, and RedHat, and create a local update and install Yum source.
1. Download the package that comes with openstack, epel, CEpH, and RedHat to a directory/yum. OS. Repo
[[Email protected] ~] # Mkdir/yum. OS. Repo
2. Determine the configuration path of the yum S
the files in the/etc/yum. Repo. d directory.
The yum. conf file is generally located in the/etc directory, which generally only contains the configuration options of the main part.
# Cat/etc/yum. conf
[Main] cachedir =/var/Cache/yum// Yum cache directory, where Yum stores the downloaded RPM package and database. The default value is/var/Cache/yumkeepcache = 0.// Whether the software package is retained after the installation is complete. If the valu
contains a static known git head and the required changes needed for Ubuntu, including our custom Android manifest.
Compile the android part of ubuntu touch from the source code
Whether you want to compile a supported nexus device or port Ubuntu touch to a new device, you need to build a compiling environment to compile the android source code. This tutorial is similar to compiling aosp (Android open source project) or aosp-based projects, such as cyanogenmod, seandroid or Ubuntu touch.
If this
Android 5.0 kernel and source code learning (2)-source code download and system startup process analysis, android5.0
I,AndroidSource code download
The last time I briefly introduced the hierarchical structure of the Android system, I started to figure it out-download the source code and analyze the source code!
So where is the Android source code? Of course is Google's official website, download method official website is also very detailed, but do China's wall is relatively thick, so the above
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.