Install salt-minion ON REHL5Install salt-minion ON REHL5
This article applies to rhel5.4, 6.4, and. el5.4 is used as an example.1 online installation is extremely simple:
# wget --no-check-certificate -O install_salt.sh https://bootstrap.saltstack.com# sh install_salt.sh -I
The above applies to el5, el6, el7, and other versions. You can find a bunch of repo under/etc/yum. repos. d/and save the following:
epel.repoepel-testing.reposaltstack-salt-el5
problems.
6. Install repo
Copy codeThe Code is as follows: cd
Mkdir bin
Curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~ /Bin/repo
Chmod a + x ~ /Bin/repo
Alias repo = "~ /Bin/
Blog "Download Android source code-download a single directory using git clone" describes how to download the source code of a single Android directory using git clone. This article has been around for four years, during this period, Google has made changes to the source code management website, and the original method of downloading the source code has become invalid. This article describes how to download the latest full set of Android 4.4 source code and the source code of a single self-modul
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 address for downloading Android is:Repo init-u git: // android.git.kernel.org/platform/manifest.gitThe address has expired, and kernel.org has
theI downloaded it like this (on the Samba server)[Email protected]:~/workshare/android5_1$ lltotal 5824448drwxrwxrwx 2 Nobody nogroup 4096 Sep 08:49./drwxrwxrwx 3 root root 4096 Sep 26 08:24.. /-rw-rw-rw-1 Nobody nogroup 4290772992 Sep-02:53 android-5.1.tar.bzip2-no-repo.7z.001-rw-rw-rw-1 nobody nogroup 16734 42061 Sep 00:54 android-5.1.tar.bzip2-no-repo.7z.002Ah, is the two separate documents.I'll drink
http://source.android.com Step 1. Configure the Android build environment according to Http://source.android.com/source/initializing.htmlhttp://source.android.com/source/downloading.html configuration good repo, approximate steps are as follows$ mkdir ~/bin$ Path=~/bin: $PATH$ curl Https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/
First, Ambari and HDP installation files:1. SystemOperating system: CentOS72. SoftwareThis installation uses the latest version:ambari-2.7.0.0hdp-3.0.0.0Detailed information is as follows:Ambari 2.7.0 Repositories
Base url:http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0Repo File:http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/ambari.repoTarball
My environments: Ubuntu 11.04Android source code: Android-4.1.1.1_r4How to download the Android source code?Referenced from: http://source.android.com/source/downloading.htmlBut maybe you will get internal error as below, you just need the constancy or re do the "repo sync" command !!=========== Get error: ========================================[Plain]Fatal: Not a git repository: '/home/yourname/android_source/.
少个进程同时工作,默认5个进程并行处理。具体需要设置多少个,可以根据控制端性能和被管理节点的数量来确定。sudo_user:设置默认执行命令的用户,也可以在playbook中重新设置这个参数。remote_port:指定连接被管理节点的管理端口,默认是22,除非设置了特殊的SSH端口,否则不需要修改此参数。host_key_checking:设置是否检查SSH主机的密钥。可以设置为True或False。即ssh的主机再次验证。timeout:设置SSH连接的超时间隔,单位是秒。log_path:Ansible默认不记录日志,如果想把Ansible系统的输出记录到日志文件中,需要设置log_path。需要注意,模块将会调用被管节点的(r)syslog来记录,执行Ansible的用户需要有写入日志的权限。Ansible InstallationConfiguring the source for installation 163 [[emailprotected] ~]# cd/etc/yum.repos.d///Creating a backup directory [[emailpro
A few days ago, I switched back to ubuntu11.04 to experience the following unity desktop.The download of the Android system source code (including the SDK source code) mainly requires the use of the GIT tool. I will take some time to introduce the use of the GIT tool. Here I will briefly describe it when using it.1. Install git and curlCommand:
$ Sudo apt-Get install Git-core curl
Note:Curl is a tool for transferring data to or from a server. It supports HTTP, https, FTP, ftps, SCP, SFTP, TF
-dev tofrodos Python-markdown \ libxml2-utils xsltproc
Copy code
If it is 64-bit, run
$ 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 \ libgl1-mesa-dev g ++-multilib mingw32 tofrodos Python-markdown\ Libxml2-utils xsltproc
Copy code
64-bit is officially recommended. I didn't see it at the time, and it won't be too difficult to use 32-bit. After exe
Modify/etc/yum.repos.d/centos-base.repo
# Centos-base.repo
#
# The Mirror system uses the connecting IP address of the client and the
# Update status of each mirror to pick mirrors, are updated to and
# Geographically close to the client. You are should use this for CentOS updates
# Unless you are manually picking the other mirrors.
#
# If The mirrorlist= does not work for your, as a fall back you can try the
# remarked out Baseurl= line instead.
#
#
[Base]
name=centos-$releasever-b
The software source information files (*. repo) of Fedora are stored in the/etc/yum. Repos. d directory. You can use # ls-L/etc/yum. repos. d. Check that the default software sources are all foreign and the network speed may not be fast. We can add the domestic software sources and local software sources by ourselves.
1. Add domestic software sources# Cd/etc/yum. Repos. D # wget http://mirrors.163.com/.help/fedora-163.
obtained in two parts: Android source code and kernel. I don't need the source code of the kernel for the time being, so here I only download the source code.
1. Create a new folder to store the android directory and initialize the repo:
wayne@ubuntu:~$ mkdir Androidwayne@ubuntu:~$ cd Androidwayne@ubuntu:~/Android$ mkdir binwayne@ubuntu:~/Android$ cd binwayne@ubuntu:~/Android/bin$ curl https://dl-ssl.google.com/dl/googlesource/git-
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.