2011年3月6日 星期日

Ubuntu安裝vncserver

Ubuntu 安裝 vncserver 實在是太快速了...


什麼時候centos也可以進化一下啊...囧rz


 


Step1. 安裝 tightvncserver


# sudo apt-get install tightvncserver


 


Step2. 切換成一般使用者 , 並建立vnc 密碼


$ vncserver


You will require a password to access your desktops.



Password:
Verify:
Would you like to enter a view-only password (y/n)? n
xauth:  creating new authority file /home/james/.Xauthority


New 'X' desktop is ubuntu:1


Creating default startup script /home/james/.vnc/xstartup
Starting applications specified in /home/james/.vnc/xstartup
Log file is /home/james/.vnc/ubuntu:1.log


之前在CentOS/Fedora 的 vnc 那篇文章作的一堆步驟他一次就搞定了 ....


Step 3.  於VNC Client端執行VNC Viewer連到IP:5901( 預設port )


影像 1.png 


 


影像 2.png 


 


影像 3.png 


如何在 golang 裡面引用 gitlab private repo

參考文章:https://stackoverflow.com/questions/27500861/whats-the-proper-way-to-go-get-a-private-repository 原文是用 gitlab.company.com 當範例,這邊改成一般帳號...