cygwin安装
来源:互联网 发布:json定义二维数组 编辑:程序博客网 时间:2024/04/19 10:06
cygwin安装:
privilege 特权 separation 分离 registered 注册的
需要安装的组件有:
net :openssl openssh ;
editors:vim;
devel:subversion
环境变量:
CYGWIN ntsec
c:/cygwin/bin;c:/cygwin/usr/bin
配置:参考http://wangsheng2008love.blog.163.com/blog/static/78201689201121494032310/
chmod +r /etc/group
chmod +r /etc/passwd
chmod +rwx /var
ssh-host-config
*** Query: Should privilege separation be used? (yes/no) yes #输入yes
*** Query: Do you want to install sshd as a service?
*** Query: (Say "no" if it is already installed as a service) (yes/no) yes #输入yes
*** Query: Enter the value of CYGWIN for the daemon: [ntsec] ntsec #输入ntsec
*** Query: Do you want to use a different name? (yes/no) no #输入no,不指定启动用户
*** Query: Create new privileged user account cyg_server? (yes/no) no #输入no,不指定启动用户
*** Query: Do you want to proceed anyway? (yes/no) yes #输入yes
启动ssh服务:
# Start sshd service
cygrunsrv --start sshd
net start sshd
cygrunsrv -S sshd
services.msc 查看sshd服务启动
net user 查看组用户
使用 windows 用户本地认证
mkpasswd -l > /etc/passwd 使用windows 用户的密码
mkgroup -l > /etc/group 使用windows 用户组
crywin在hadoop中的作用:
use ssh in order to start and stop the various daemons
在hadoop中不是必须的。
crywin 卸载步骤:
删除sshd服务 删除sshd用户 注册表删除software中的crywin
# Remove sshd service
cygrunsrv --stop sshd
cygrunsrv -R sshd
cygrunsrv --remove sshd
# Delete any sshd or relaged users (such as cyg_server) from the system
net user
net user sshd /delete
net user cyg_server /delete
注册表:regedit
错误类型:
Win32 error 1062: The service has not been started.
Win32 error 1057: The account name is invalid or does not exist
privilege 特权 separation 分离 registered 注册的
需要安装的组件有:
net :openssl openssh ;
editors:vim;
devel:subversion
环境变量:
CYGWIN ntsec
c:/cygwin/bin;c:/cygwin/usr/bin
配置:参考http://wangsheng2008love.blog.163.com/blog/static/78201689201121494032310/
chmod +r /etc/group
chmod +r /etc/passwd
chmod +rwx /var
ssh-host-config
*** Query: Should privilege separation be used? (yes/no) yes #输入yes
*** Query: Do you want to install sshd as a service?
*** Query: (Say "no" if it is already installed as a service) (yes/no) yes #输入yes
*** Query: Enter the value of CYGWIN for the daemon: [ntsec] ntsec #输入ntsec
*** Query: Do you want to use a different name? (yes/no) no #输入no,不指定启动用户
*** Query: Create new privileged user account cyg_server? (yes/no) no #输入no,不指定启动用户
*** Query: Do you want to proceed anyway? (yes/no) yes #输入yes
启动ssh服务:
# Start sshd service
cygrunsrv --start sshd
net start sshd
cygrunsrv -S sshd
services.msc 查看sshd服务启动
net user 查看组用户
使用 windows 用户本地认证
mkpasswd -l > /etc/passwd 使用windows 用户的密码
mkgroup -l > /etc/group 使用windows 用户组
crywin在hadoop中的作用:
use ssh in order to start and stop the various daemons
在hadoop中不是必须的。
crywin 卸载步骤:
删除sshd服务 删除sshd用户 注册表删除software中的crywin
# Remove sshd service
cygrunsrv --stop sshd
cygrunsrv -R sshd
cygrunsrv --remove sshd
# Delete any sshd or relaged users (such as cyg_server) from the system
net user
net user sshd /delete
net user cyg_server /delete
注册表:regedit
错误类型:
Win32 error 1062: The service has not been started.
Win32 error 1057: The account name is invalid or does not exist
- 安装 cygwin
- 安装cygwin
- cygwin安装
- 安装Cygwin
- Cygwin安装
- Cygwin安装
- Cygwin安装
- cygwin安装
- Cygwin安装
- cygwin安装
- 安装 Cygwin
- 安装cygwin
- 安装cygwin
- 安装cygwin
- 安装Cygwin
- cygwin安装
- Cygwin安装
- Cygwin安装
- ARCEmu项目wow私服服务器网络模块分析(二)
- 带你了解生活中形形色色的卡-公交卡,会员卡,积分卡,银行卡,信用卡。。。
- 程序员的10个层次
- eclipse 快捷键
- Android实战系列源码与教程--由Andorid源码工作室提供
- cygwin安装
- 深入浅出之正则表达式(二)
- linux中ping命令的用法
- 正则表达式--维基百科,自由的百科全书
- mysqldump备份还原和mysqldump导入导出语句大全详解 转
- RCU介绍
- EXT按钮事件
- jQuery获取,遍历和操作表单元素Select,checkbox,radio
- jetty重复编译jsp页面初探——一个配置提升5ms