
Linux
valar_dohaeris
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
普通用户如何拥有挂载的CIFS文件系统的读写权限
当挂载CIFS文件系统(如samba)时,挂载目录的owner为root用户(只能以root用户mount)。作为普通用户,只具有读的权限。为了让普通用户具有对挂载文件夹的读写权限,需要挂载的时候指定挂载文件夹的owner和group。这样,被指定的用户就具有对共享文件夹的读写权限。sudo mount -t cifs -o username=${USER},password=${PASS...原创 2018-05-31 21:32:31 · 11703 阅读 · 1 评论 -
Ubuntu的sudo账户
By default, the superuser (root) account is disabled and doesn’t have any password. You can create one by running:$ sudo passwd rootYou will then be able to login as root by running su using thi...转载 2018-04-21 22:53:11 · 792 阅读 · 0 评论 -
如何让Ubuntu即支持中文,又方便开发者使用
作为软件开发者,我们希望目录、终端输出信息都是英文,这样比较方便。但同时,我们也希望Ubuntu包含中文支持,方便我们写文档。这就需要在Ubuntu系统中安装中文支持内容,包括输入法。这里,我们提供一种安装中文支持的简单方法。安装Ubuntu系统时,选择语言为中文。系统安装时就会包括所用中文支持的相关软件。这时,系统为用户创建的目录名都是中文的。安装完成以后,启动“语言支持”选项,将默认语...原创 2018-04-22 07:20:52 · 1952 阅读 · 0 评论 -
网络设备接口名
参考资料 /* * Predictable network interface device names based on: * - firmware/bios-provided index numbers for on-board devices * - firmware-provided pci-express hotplug slot index number * -转载 2017-03-29 16:09:57 · 719 阅读 · 0 评论 -
改变ubuntu终端显示语言(桌面系统是中文,终端提示是英文)
如果希望终端显示英文,可以设置系统变量export LC_ALL=C若希望恢复为本地语言,则unset LC_ALL转载 2017-03-29 15:40:30 · 12172 阅读 · 1 评论 -
联想电脑Linux网卡驱动安装
联想电脑Linux网卡驱动安装转载 2017-03-24 10:04:04 · 5298 阅读 · 1 评论 -
VirtualBox上安装Linux
1、下载Linux。以Debian为例,可以到其官网原创 2014-10-18 12:15:31 · 621 阅读 · 0 评论 -
Python on Debian Wheezy
Python on Debian WheezyThis article describes the installation and usage of professionalPython development environments inDebianWheezy. Thefollowing principles are followed:Python installation转载 2014-10-18 13:35:38 · 921 阅读 · 0 评论 -
设置vnc server
I. AbstractNo doubt, configuring a web server won’t work without being in the know of basics about the terminal, vim or nano. Anyway many tasks can also be performed by administrating a server using转载 2014-06-09 21:07:39 · 1832 阅读 · 0 评论 -
如何永久的更改PATH路径
使用如下语句将路径加入PATH后,仅在当前终端有效。export PATH=$PATH:/path/to/dir因此,每次打开新的终端,都需要重复上述语句。如果要永久更改PATH路径,则需要将其添加到 ~/.profile 或 ~/.bashrc 文件中。因此,应该运行source ~/.profile或source ~/.bashrc参考文献https://stackove...转载 2018-12-17 14:28:03 · 2760 阅读 · 0 评论