ubuntu 安裝 openssh-server,xinetd,vmware tools

來源:互聯網
上載者:User

標籤:配置   class   檔案   remove   pre   www   系統   make   war   

●判斷是否安裝ssh服務,通過如下命令:
ps -e|grep ssh

1, sudo apt-get update --->軟體的更新地址變了,需要更新原生sources.list,位於/etc/apt/sources.list 。
2,$ sudo apt-get install openssh-server


●啟動服務:

$ sudo /etc/init.d/ssh start

OR:$ sudo /etc/init.d/ssh resart
OR:service ssh restart

●Uninstall openssh-client
$ sudo apt-get remove openssh-client

●Uninstall openssh-server
$ sudo apt-get remove openssh-server

●查詢服務啟動狀態
sshd status
OR:/etc/init.d/sshd status

OR:service sshd status

●ssh服務預設的連接埠是22,更改連接埠,使用如下命令開啟ssh設定檔:
sudo gedit /etc/ssh/sshd_config


●修改連接埠號碼(Port)後,重啟ssh服務生效,命令如下:
sudo /etc/init.d/ssh restart

 

安裝 xinetd

$ wget http://www.xinetd.org/xinetd-2.3.14.tar.gz$ tar -zcvf xinetd-2.3.14.tar.gz$ cd xinetd-2.3.14$ ./configure$ # Disable and/or remove inetd根據情況$ sudo make install

  

安裝 vmware Tools

1,虛擬機器設定,所有光碟機,磁碟片設定為自動檢出。
2,進入ubuntu系統,點擊功能表列->VM->安裝vmware tools.
3,等待案頭彈出vmtoos安裝包雙擊開啟,右鍵提取,選擇提取到home目錄。
4,提取完成後,在終端中用root許可權運行:./vmware-install.pl
5,一直斷行符號,安裝成功。

ubuntu 安裝 openssh-server,xinetd,vmware tools

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.