. |+-----------------+
To view the generated key pair[[email protected] ~]# ls. ssh/Id_rsa id_rsa.pubId_rsa is a private key, this generally needs to be kept secret; Id_rsa.pub is a public key, this can be public.
2. Upload the public key to the server side
To operate with the SCP command:[Email protected] ~]# SCP. ssh/id_rsa.pub [Email protected]:/root/The authenticity of host ' 10.0.0.61
/NNN9a6upEHBls5hpFvVp+DmqOYuVuWs+FQhShPvp70QJfsx/+gg14rw9A1/jN5GdgrrStYorNEE1Ut8/T1t9tNxsIlfwgd6pQPKpWJ11sANWx9U+DfUEAN4a0bCiZ/PQ+9aR+SJ1Y+H68pt2+iy4I8UXuhtgSqYTu5YmxsJlF3uoHypF4lOTqgiP0HYr8FNZ3KWg2ome8fUOnO2VbNvgAXafhLEfBd5zxd6YChDHwfIclvQ== [emailprotected]#gitolite endAt this point you can clone the code on the remote repository on the Manage machine with the secret key:[[emailprotected] ~]# git clone git-server:gitolite-adminInitialized empty Git
Objective
GitHub is a remote repository that is free to host open source code. But for some depending on the source code such as life of commercial companies, neither want to open the source code, but also reluctant to give GitHub to pay protection fees, then you can only build a git server as a private warehouse to use.
I'm going to build my own git server. While there are already good git tools, such as
parameters on the server side, but the client can perform the network calibration via the server.Noquery: Do not provide a time query for the clientNotrap: Trap remote login is not provided, and trap service is a long-range time log service.Notrust: The client source will be treated as untrusted subnet unless authenticated.Nopeer: Provides a time service, but not as a peer.Kod: Send a Kiss-of-death message to an insecure visitor.===
SSH login with no password to use the public and private keys. Linux can use Ssh-keygen to generate public/private key pair, below I take CentOS 6.6 as an example.Management machine Extranet IP10.0.0.61 (intranet 172.16.1.61) server external network 10.0.0.31, port 52113, intranet 172.16.1.31(1) First batch creation of administrative users on all machines.[[Email protected] ~] #useradd oldgirl[[Email protec
/07bd60fff433ca4b268352a2f633454d.png-wh_500x0-wm_3 -wmp_4-s_280687364.png "title=" 4.png "alt=" 07bd60fff433ca4b268352a2f633454d.png-wh_ "/>5. After cloning, you need to modify the IP address to log in.2. Log in between Linux servers: a machine and a B machine, for example.First run ssh-keygen-t RSA on a machine for three consecutive returns after generating the public and private keys, as follows:650) this.width=650; "Src=" Https://s5.51cto.com/oss/
The first stepInstall Git: Can be quickly installed by command, different Linux installation methods may not be the same, I am using the Yum method. Ubuntu can use the Apt-get command.sudo yum install gitStep TwoAdd git users, because the GIT server only qualified to do the project code Exchange, specifically to open a user to access the GIT server, better manage
Configure phpMyAdmin and linuxphpmyadmin on the Linux Server
Phpmyadmin is a friendly mysql management tool developed using php and mysql, and is free and open-source. Many domestic virtual hosts come with such a management tool, which is easy to configure, next, configure phpmyadmin on the linux server to manage the M
VPS Linux Centos6.3 build a VPN (pptpd) Server 1. find the software package: Run wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm in Centos System (it seems sourceforge.net this I can not open this campus network, or OpenShift to download) 2. check System Support and install the ppp and iptables package. The latter is usually installed by default. Use the local yum source
ObjectiveLinux server uploads files to S3 via AWS Command lineConfigurationOpen your AWS console;To connect to your Linux server, follow the steps below:# install PIPYum-y Install Python-pip# Install AWSCLIPip Install Awscli# Initialize ConfigurationAWS Configure# This step will require you to enter "access key ID", "Private access Key", "Default zone Name", "Def
First, topology:PPTP server is located inside the company. Address mapping through the firewall PPTP service 1723 port.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/CF/wKioL1S9w5jzIqWzAACBZKXprqM897.jpg "title=" Drawing 1.jpg "alt=" Wkiol1s9w5jziqwzaacbzkxprqm897.jpg "/>Second, the Environment preparation1. System environment[Email protected] ~]# cat/etc/issueRed Hat Enterprise Linux
;};};Zone "98.19.10.in-addr.arpa" in {Type master;File "126.rev";allow-update {none;};};b) Forward parsing domain Baidu.zone$TTL 86400$ORIGIN baidu.com.@ in SOA baidu.com. Root.baidu.com. (201112300;3H;15M;1W;1D);@ in NS baidu.com.In A 10.19.100.164FTP in A 10.19.100.163www in A 10.19.100.162Feng in A 10.19.100.1Mail in CNAME Fengc) Reverse parsing domain Baidu.rev$TTL 86400@ in SOA baidu.com. Root.baidu.com. (42;3H;15M;1W;1D);@ in NS baidu.com.164 in PTR baidu.com.162 in PTR www.baidu.com.163 i
1.MEMCACHED:KV structure, stored in memory, can reduce the database access pressure, can also be used as a session server(1) Common commands-u Specify user-m specify memory size-D start|restart|stop-p Specify port, default 11211-N Minimum allocated space-f growth factor, calculated as the minimum allocation space, default is 1.25 times times-VV viewing the specific startup process(2) Connecting memcachedTelnet x.x.x.x 11211Quit quittingView Stats Item
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.