EExcel 丞燕快速查詢2

EExcel 丞燕快速查詢2
EExcel 丞燕快速查詢2 https://sandk.ffbizs.com/

gitlab ubuntu 15.10 TortoiseGit

1、virtualbox create vm
2core  ram 2G  hdd 20G

2、download ubuntu 15 server,  best new version iso

3、install ubuntu,no need add any server.

4、change ip dhcp to static  PS:new ubuntu eth0 maybe become to enp0s3 , don't warring.

sudo nano /etc/newwork/interfaces
auto eth0
iface eth0 inet static
address 192.168.x.x #IP位址
netmask 255.255.255.0 #網路遮罩
gateway 192.168.x.x #預設閘道
/etc/init.d/networking restart

5、change dns

sudo nano /etc/newwork/interfaces
dns-nameservers 8.8.8.8 8.8.4.4
 /etc/init.d/networking restart

6、try to connection Internet, if can conntiuum

7、Update system

sudo apt-get update
sudo apt-get upgrade

===========================
8、install gitlab

https://about.gitlab.com/downloads/#ubuntu1404

a、sudo apt-get install curl openssh-server ca-certificates postfix

postfix maybe ask some question:I choose internet like this... not important

b、 step 2 

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get update
sudo apt-get upgrade

but get error, so

https://packages.gitlab.com/gitlab/gitlab-ce

curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/wheezy/gitlab-ce_8.3.6-ce.0_amd64.deb/download
dpkg -i gitlab-ce_8.3.6-ce.0_amd64.deb

c、finish install

sudo gitlab-ctl reconfigure


===========================
9、 use web broswer http://your_ip

account:root  password:5iveL!fe

maybe can change same password.

10、create new project
user is root

Private
Private

then create

===========================
11、TortoiseGit for gitlab

a、Git for windows 
https://git-scm.com/download/win

install

b、Download TortoiseGit and language packs

https://tortoisegit.org/download/

install

reboot windows

c、create Public and Private key
run tortoisegit -> PuTTYgen ->Generate  then mouse move move move , let it finish.

.Public key 

一、copy all to     http://your_ip/profile/keys
add ssh key, put in key.  Title is not import by yourself. Better is rsa-key-yyyymmdd.

二、do this step 
http://sueboy.blogspot.tw/2016/04/gitlab-tortoiesgit-git-clone-server.html


.Private key : click Save private key button. save file. This file is very import.


d、On desktop right click, click git clone

URL:git@your_ip:root/your_project_name.git

putty (key):choose your Private key


now usually can get file.  Success.


e、Success then right click on folder. TortoiseGit  -> setting -> git

all->
name: by yourself
Email: by yourself

PS:by yourself  is important.  If you git push, this name and email, will in git.




===========================

Now Finish.