Ubuntu 16.04 安装Samba 和 windows 安装Source Insight

weixin_43764544 2021-01-07 15:23:03 23 收藏
文章标签: linux ubuntu 编辑器 windows

Linux 安装 sm 和windows下安装Source Insight

环境:

VMware Workstation 15.5
Ubuntu 16.04 LTS
Source Insight 4.0

1.1 安装samba

sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install
sudo apt-get install smaba
  • 1
  • 2
  • 3
  • 4

1.2 安装成功后可以查看一下版本

1.3 Samba 详细配置

创建共享目录

$sudo mkdir -p /hmoe/share
$sudo chmod 777 /hmoe/share
  • 1
  • 2

备份和修改配置文件

$sudo cp /etc/samba/samba.conf /etc/samba/samba.conf.s
  • 1

【注】嫌麻烦一直sudo的话,可以切换用户 sudo su ,在Ctenos 中直接su即可。
修改samba.conf

$sudo vi /etc/samba/samba.conf
  • 1
[share]
comment = samba home directory
path = /home/share
public = yes
browseable = yes
public = yes
read only = no
writable = yes
create mask = 0777
directory mask = 0777
available = yes
security = share
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

可以在Windows10 下输入IP进行无密码的访问。顺带一提要是在Linux下新建文件夹,或者文件在Source Insight 无法保存的情况下,需要更新一下文件夹的权限。

可以通过以下代码来更新权限

sudo chmod -R a=rwx /home/share/newfolder
  • 1

错误代码`

Error:"\\192.168.0.110\share\code\test.c"is busy or opened by another process.
Write access was denied
  • 1
  • 2

【IP】此IP要设置成静态IP,而且虚拟机的网络要设置成桥接模式。
【注】如果您之前没有配置过vi编辑器的话,也可以使用 sudo gedit /etc/samba.conf,可以自己配置一下毕竟vi编辑器号称最强编辑器。

2.1 Source Insight 4.0

https://pan.baidu.com/s/1rnMbTaP2ZDNAX13FYkWpTw
提取码:w2ze
  • 1
  • 2
在此提供链接链接:仅供学习使用
  • 1

安装步骤在README中。

原文出处:https://blog.csdn.net/weixin_43764544/article/details/112303524

opened by another process write access was denied sourceinsight的更多相关文章

  1. Parser Error Message: Access is denied【转】

    PRB: Access Denied Error When You Make Code Modifications with Index Services Running View products ...

  2. C# The process cannot access the file because it is being used by another process

    C# The process cannot access the file because it is being used by another process   The process cann ...

  3. Dynamics CRM 如何修复 Access Is Denied - ObjectTypeCode: 2500 的错误

    最近被 Dynamics CRM 的权限配置问题恶心了一个星期,老是报“Access Is Denied”,几经波折,最后终于找到一个比较合适的解决方案,写个博客 mark 下来,方便以后查看. 首先 ...

  4. Access is denied (user is anonymous); redirecting to authentication entry point

    Access is denied (user is anonymous); redirecting to authentication entry point org.springframework. ...

  5. Distribution setup SQL Server Agent error: "RegCreateKeyEx() returned error 5, 'Access is denied.'" (转载)

    In the Configure Distribution Wizard, the step "Configuring SQL Server Agent to start automatic ...

  6. QTP Test ,VAPI-XP Test,LR Test 和ALM 集成远程分布式执行遇到的“access is denied ” “unspecified error”问题

    大家都知道QTP与ALM (QC的升级版)集成是最好的一个分布式执行的结合.因为毕竟QTP是一个商业软件,HP当然不会让你去跟其他的open source的工具去集成,要不他到哪里去挣钱. 有时候服务 ...

  7. org.springframework.security.access.AccessDeniedException: Access is denied

    org.springframework.security.access.AccessDeniedException: Access is denied at org.springframework.s ...

  8. CREATE FILE encountered operating system error 5(Access is denied.)

    这篇博文主要演示"CREATE FILE encountered operating system error 5(Access is denied.)"错误如出现的原因(当然只是 ...

  9. [解决]Mercurial HTTP Error 500: Access is denied on 00changelog.i

    总之,用户对仓库目录要有写权限 00changelog, access is denied, hg, http error 500, mercurial, permissions, push Merc ...

  10. Access is denied

    昨天有学习ASP.NET MVC的publish和IIS发行网站<简单的ASP.NET MVC发布>http://www.cnblogs.com/insus/p/4466200.html  ...

随机推荐

  1. MySQL 学习(四)并集查询

    联合查询,它是用 union 关键字把多条 select 语句的查询结果合并为一个结果集.纵向合并的前提是被合并的结果集的字段数量.顺序和数据类型必须完全一致.字段名不一样的情况下,会将第一个结果集的 ...

  2. Qt 程序主界面添加背景图片

    1.开发环境:Qt5.12.2,QtCreate4.8.2 2.贴图代码,在主程序中编写 #include <QImageReader> int main(int argc, char * ...

  3. Java Swing 防止键入手Key 的实现方法

    实现思路,启动一个线程每隔0.1秒去比较文本里字符长度变化,如果文本变长了,这个情况间隔时间超过2秒,则认为是人工键入. 对于字符串较多,且包含数字和字母的情况,比较适用. class KeyCode ...

  4. 【git】2.3查看提交历史

    资料来源 (1) https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E6%9F%A5%E7%9C%8B%E6%8F%90%E4%BA%A4% ...

  5. 线上服务Java进程假死快速排查、分析

    引用 https://zhuanlan.zhihu.com/p/529350757 最近我们有一台服务器上的Java进程总是在运行个两三天后就无法响应请求了,具体现象如下: 请求业务返回状态码502, ...

  6. 《深入剖析Nginx》 笔记

    nginx的编译安装使用Linux下通用的三板斧即可:./configure make make install 查看帮助选项./configure --help 禁用编译器优化方法一:CFLAGS= ...

  7. PowerShell学习笔记四_函数、IO操作、字符操作、数组

    使用静态方法 $now = [DateTime]::Now 实例化 $var=New-Object System.DateTime(1991,12,14)#实例化不需要[] 函数定义 Function ...

  8. 在LUbuntu上搭建Neovim+Markdown环境

    前言 想搭建自己的电子笔记系统.一开始用VMware+Ubuntu,后来想,如果这个虚拟机文件比较小,就可以用克隆到U盘里,随身带了. 于是转Lubuntu. 总体步骤 安装系统 安装neovim 安 ...

  9. 【STM32】电能表抄表功能实现|自学笔记

    一.抄表的原理 抄表就是读电能表的测量参数,一般有电能,电压,电流,实时功率,功率因数等,用单板抄表其实就是读电能表种相应寄存器中的值.智能电表目前主流协议有DLT645国标各家通用,MODBUS各家 ...

  10. Android中保存文件到内部存储器

    1 public static void saveDataToPrivateFile(Context context, String data, int mode, String fileName) ...