科学网

 找回密码
  注册
[转载]Ubuntu安装NFS,实现网络文件共享(转载sudo service nfs-kernel-server resta)
丁玮 2019-10-1 19:02
http://blog.sina.com.cn/s/blog_7880d3350102vvnm.html 不过需要注意的是,我这边按照这个配置完,并没有成功。 而是在服务器端/etc/exports中用了 /mnt x.x.x.x(rw , insecure , sync , no_subtree_check) 这样的描述,然后 sudo service nfs-kernel-server restart 而在客户端,用的是 ...
个人分类: linux|1535 次阅读|没有评论
Warning: untrusted X11 forwarding setup failed: xauth key
丁玮 2019-10-1 17:43
用苹果登录ubuntu出这个问题,在Ubuntu上捣腾老久,就是解决不了。 直到看到这个: https://serverfault.com/questions/422908/how-can-i-prevent-the-warning-no-xauth-data-using-fake-authentication-data-for 才发现应该在苹果上修改 vi ~/.ssh/config 加入: XAuthLocation /opt/X 11 /bin/xauth
个人分类: linux|3467 次阅读|没有评论
Ubuntu内核到18.04.3 TLS,无法进入到桌面的解决方法
丁玮 2019-9-30 10:02
sudo apt-get remove gdm3 sudo apt-get autoremove sudo apt-get install lightdm sudo reboot
个人分类: linux|1788 次阅读|没有评论
[转载]修改Mac默认shell(转载)
丁玮 2019-1-22 09:12
https://www.jianshu.com/p/e328f5d83191 自从安装了相对好用的zsh后,更改配置总是不起作用 最后发现是mac默认为bash shell的锅 要被自己蠢哭了~ 查看当前已安装shells: cat /etc/shells 更改mac默认shell为zsh: chsh -s /usr/local/bin/zsh 更改zsh配置文件: vim ~/.zshrc 更改完配置记得运行: ...
个人分类: linux|1852 次阅读|没有评论
[转载]centos 切换用户显示bash-4.2$,不显示用户名路径的问题(转载)
丁玮 2019-1-21 23:15
https://blog.csdn.net/testcs_dn/article/details/70482468 最近在 CentOS 7.2 上安装 PostgreSQL,PostgreSQL 安装完成之后默认会创建一个名称为”postgres“的管理账号,但是使用以下命令切换用户 sudo su - postgres 的时候却显示: -bash-4.2$ 出现 shell 显示-bash-4.2$不显示用户名路径的问题。 这是因为 ...
个人分类: linux|2091 次阅读|没有评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-3 14:01

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部