随笔分类 -  linux

linux操作系统相关
摘要:1 安装 sudo apt-get install samba 2 配置 打开Samba配置文件: sudo gedit /etc/samba/smb.conf 在其最后添加: [share] path = /home/用户名/download valid users = share available = yes browseable = ... 阅读全文
posted @ 2018-08-31 16:38 learn21cn 阅读(255) 评论(0) 推荐(0) 编辑
摘要:# 查询是否已经安装了Samba rpm -qi samba # 安装 yum -y install samba samba-client samba-common # 添加新用户 useradd sambauser # 这一步是设置用户登录linux系统的密码 # 如果只是作为samba访问账号,则不是必须的 passwd sambauser # 设置访问共享文件夹的sammba账号密... 阅读全文
posted @ 2018-08-31 16:28 learn21cn 阅读(263) 评论(0) 推荐(0) 编辑
摘要:一、安装.Net Core 参考官方文档:https://www.microsoft.com/net/core#linuxcentos 1、添加dotnet产品Feed 在安装.NET Core之前,您需要注册Microsoft产品Feed。这只需要做一次。首先,注册Microsoft签名密钥,然后 阅读全文
posted @ 2017-10-01 09:27 learn21cn 阅读(1476) 评论(2) 推荐(3) 编辑
摘要:一、基本的编译与安装 1、安装依赖项 2、下载新版本,到官网复制下载链接 3、解压 4、编译安装 编译选项说明: --prefix=path 如果在编译的不指定安装位置,那么默认的位置/usr/local/nginx目录--sbin-path=path 设置nginx执行脚本的位置,这里如果设置在p 阅读全文
posted @ 2017-09-28 14:59 learn21cn 阅读(850) 评论(0) 推荐(0) 编辑
摘要:官方文档以及常用参考: https://access.redhat.com/documentation/zh-CN/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html https://www.server-w 阅读全文
posted @ 2016-12-05 00:36 learn21cn 阅读(2394) 评论(0) 推荐(0) 编辑