Ubuntu 開發環境

2022-01-13 20:52:18 字數 1407 閱讀 5135

一般linux開發環境,土豪上mac,平民上ubuntu和fedora,拋開mac不談,單論個人偏好的話,姜戈比較偏向於ubuntu。

hyper-v更多的像個玩具,裝個映象一堆的限制,微軟的初衷是想讓使用者一鍵配置,反倒弄起來更麻煩,搞這搞那的,不太適合國內使用者,嘿嘿,老微軟了,一直在追趕,從未有超越,還是老老實實的用vmware就好。

遠端桌面的話,一般需要配置xrdp服務,配置繁瑣,比較簡單的可以使用xdmcp的方式來操作,需要以下幾步:

1. 安裝lightdm

sudo apt install lightdm

2. 配置/etc/lightdm/lightdm.conf檔案,如果檔案不存在的話,則需要建立:

[xdmcpserver] enabled=true

3. 防火牆配置

```

sudo systemctl disable gdm

sudo systemctl stop gdm

sudo systemctl enable lightdm

sudo systemctl start lightdm

```

然後就可以通過xdmcp進行連線了,如果涉及到防火牆問題,可以先使用命令sudo service ufw stop

sudo apt-get update

sudo apt-get install xubuntu-desktop

sudo service lightdm restart

接著,安裝vncserver:

sudo apt-get install xrdp vnc4server xbase-clients
最後,安裝dfconf-editor:

sudo apt-get install dconf-editor
安裝完成後,依次開啟,org>gnome>desktop>remote-access,取消「require-encryption」選項即可,然後直接使用用具連線即可。

不過你可能會比較煩遠端桌面的滑鼠,可以通過options>globals>local cursor shape>normal arrow將滑鼠改為正常樣式。

Ubuntu開發環境搭建

在虛擬中試玩ubuntu1604版本,有關安裝後一些配置記錄如下,以備後用。apt get dpkg sudo vim etc network inte ces auto ens33 iface ens33 inet dhcp iface ens33 inet static address 192....

ubuntu 開發環境配置

最基本的vim安裝不用多累贅 sudo apt get install vim網上教程大部分都是新增軟體源,如果有人像我一樣不想新增軟體源的話,可以嘗試以下方法。bz2解壓 tar vxjf sublime text 3 build 3143 x64.tar bz2將資料夾移動到 opt 在 usr...

Ubuntu開發環境配置

預設安裝的ubuntu沒有安裝gcc和其他的開發輔助工具,但是用apt get可以輕鬆的安裝這些軟體 sudo apt get install manpages dev 安裝c語言函式的man檔案 sudo apt get install build essential 完成gcc,g make的安...