首页 > Windows开发 > 详细

window10 子系统 Ubuntu 开发环境配置

时间:2020-02-16 23:35:23      阅读:74      评论:0      收藏:0      [点我收藏+]

使用 sudo vim /etc/apt/sources.list 修改apt源,以下为阿里源

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

1.安装ssh-server

sudo apt-get install openssh-server

sudo vim vim /etc/ssh/sshd_config 

修改:

Port 22 // 去掉前面的注释

PasswordAuthentication yes //修改为yes

执行命令启动ssh server 服务:service ssh start

2.c/c++开发环境配置

sudo apt-get install -y build-essential

sudo apt-get install cmake

sudo apt install make

window10 子系统 Ubuntu 开发环境配置

原文:https://www.cnblogs.com/zitonglove/p/12319090.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!