随笔分类 - Linux
摘要:Linux基础系统权限 文件权限 Linux中,每个文件拥有三种权限 注意: 目录必须拥有x权限,否则无法察看其内容 UGO linux权限基于UGO模型进行控制 U代表User, G代表Group, O代表other 每一个文件的权限基于UGO进行设置 权限三个一组(rwx), 对应UGO分别设置
阅读全文
摘要:1、命令行运行 2、选择洲区(这里选择亚洲Asia) 3、选择国家(这里选择中国China) 4、选择北京时间 5、选Yes 方式1:在用户目录的.profile文件中加入一行下列内容,然后source ~/.profile使其生效 方式2:复制相应的时区文件到/etc目录下 sudo cp /us
阅读全文
摘要:命令行运行,安装完成后需重启: sudo apt-get install nautilus-open-terminal
阅读全文
摘要:# 挂载smb使用读写777权限sudo mount -t cifs -o "rw,dir_mode=0777,file_mode=0777,username=winuser,password=winpwd" //192.168.100.200/共享目录 /mnt/share
阅读全文
摘要:命令行运行 sudo apt-get install gfortran
阅读全文
摘要:/etc/udev/rules.d/70-persistent-net.rules
阅读全文
摘要:<VirtualHost *:80> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} </VirtualHost> 原文来自: http://stackover
阅读全文
摘要:Solution 1sudoapt-get-yinstalldconf-toolsdconfwrite/org/gnome/desktop/remote-access/require-encryptionfalse/usr/lib/vino/vino-server--sm-disablestartS...
阅读全文
摘要:先在终端执行sudo sh -c 'echo "# WANdisco Open Source Repo" >> /etc/apt/sources.list.d/WANdisco.list'sudo sh -c 'echo "deb http://opensource.wandisco.com/ubu...
阅读全文
摘要:原文来自:http://www.laruence.com/2009/11/18/1154.html作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便.一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Ma...
阅读全文
摘要:Part 1:Configuring anonymous share with samba serverTo install thesambapackage,enter the following command:sudo apt-get install samba samba-commonChec...
阅读全文
摘要:在终端执行下列三个命令即可gsettings set org.gnome.Vino enabled truegsettings set org.gnome.Vino prompt-enabled falsegsettings set org.gnome.Vino view-only false
阅读全文
摘要:run程序安装包实质上是一个安装脚本加要安装的程序,如下图所示:|-----------------|| || 安装脚本 || ||-----------------|| || 程序 || ||-----------------|图: run安装包的结构这样整个run安装包结构就一目了然了,实际上因...
阅读全文

浙公网安备 33010602011771号