ubuntu与windows可以进行复制粘贴操作:
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom/
tar zxpf /mnt/cdrom/VMwareTools-10.3.10-13959562.tar.gz
umount /dev/cdrom
cd vmware-tools-distrib/
ls
./vmware-install.pl
open-vm-tools packages are available from the OS vendor and VMware recommends
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more
information.
Do you still want to proceed with this installation
默认显示NO需要,敲yes
然后一直按回车就行
更新源
/etc/apt/sources.list
ssh安装:文章来源:https://www.toymoban.com/news/detail-733946.html
service sshd start 发现ssh服务没有开启
cat /etc/ssh/ssh_config
apt-get install opensshd-server
apt-get install openssh-client
apt-get install ssh
samba环境搭建文章来源地址https://www.toymoban.com/news/detail-733946.html
apt install vim // 安装vim
apt-get install samba
apt-get install smbclient
mkdir -p /share/
chmod 777 -R /share/
vi /etc/samba/smb.conf
[share]
comment = share folder
browseable = yes
path = /share
create mask = 0777
directory mask = 0777
valid users = ban// 用户名
force user = nobody
force group = nogroup
public = yes
available = yes
writable = yes // 重要属性 不然出现windows文件无法往samba目录放东西 一直提示没有权限
smbpasswd -a ban 用户名
添加密码
service smbd restart
\\ ip地址
到了这里,关于ubuntu开发环境搭建遇到问题与解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!