随笔分类 -  Linux

摘要:Linux基础系统权限 文件权限 Linux中,每个文件拥有三种权限 注意: 目录必须拥有x权限,否则无法察看其内容 UGO linux权限基于UGO模型进行控制 U代表User, G代表Group, O代表other 每一个文件的权限基于UGO进行设置 权限三个一组(rwx), 对应UGO分别设置 阅读全文
posted @ 2017-06-17 13:23 Waichung 阅读(233) 评论(0) 推荐(0)
摘要:1、命令行运行 2、选择洲区(这里选择亚洲Asia) 3、选择国家(这里选择中国China) 4、选择北京时间 5、选Yes 方式1:在用户目录的.profile文件中加入一行下列内容,然后source ~/.profile使其生效 方式2:复制相应的时区文件到/etc目录下 sudo cp /us 阅读全文
posted @ 2017-05-18 15:56 Waichung 阅读(4480) 评论(0) 推荐(0)
摘要:命令行运行,安装完成后需重启: sudo apt-get install nautilus-open-terminal 阅读全文
posted @ 2016-12-22 14:06 Waichung 阅读(330) 评论(0) 推荐(0)
摘要:方法1: 方法2: 阅读全文
posted @ 2016-12-02 09:08 Waichung 阅读(2657) 评论(0) 推荐(0)
摘要:# 挂载smb使用读写777权限sudo mount -t cifs -o "rw,dir_mode=0777,file_mode=0777,username=winuser,password=winpwd" //192.168.100.200/共享目录 /mnt/share 阅读全文
posted @ 2016-12-01 14:41 Waichung 阅读(8834) 评论(0) 推荐(1)
摘要:命令行运行 sudo apt-get install gfortran 阅读全文
posted @ 2016-05-31 17:34 Waichung 阅读(4446) 评论(0) 推荐(0)
摘要:/etc/udev/rules.d/70-persistent-net.rules 阅读全文
posted @ 2016-03-02 14:32 Waichung 阅读(479) 评论(0) 推荐(0)
摘要:<VirtualHost *:80> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} </VirtualHost> 原文来自: http://stackover 阅读全文
posted @ 2016-01-28 11:45 Waichung 阅读(398) 评论(0) 推荐(0)
摘要:Solution 1sudoapt-get-yinstalldconf-toolsdconfwrite/org/gnome/desktop/remote-access/require-encryptionfalse/usr/lib/vino/vino-server--sm-disablestartS... 阅读全文
posted @ 2015-12-19 11:30 Waichung 阅读(469) 评论(0) 推荐(0)
摘要:先在终端执行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... 阅读全文
posted @ 2015-06-12 18:12 Waichung 阅读(331) 评论(0) 推荐(0)
摘要:原文来自:http://www.laruence.com/2009/11/18/1154.html作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便.一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Ma... 阅读全文
posted @ 2015-01-13 15:26 Waichung 阅读(283) 评论(0) 推荐(0)
摘要:Part 1:Configuring anonymous share with samba serverTo install thesambapackage,enter the following command:sudo apt-get install samba samba-commonChec... 阅读全文
posted @ 2014-12-27 11:35 Waichung 阅读(365) 评论(0) 推荐(0)
摘要:在终端执行下列三个命令即可gsettings set org.gnome.Vino enabled truegsettings set org.gnome.Vino prompt-enabled falsegsettings set org.gnome.Vino view-only false 阅读全文
posted @ 2014-12-10 08:34 Waichung 阅读(3611) 评论(0) 推荐(0)
摘要:run程序安装包实质上是一个安装脚本加要安装的程序,如下图所示:|-----------------|| || 安装脚本 || ||-----------------|| || 程序 || ||-----------------|图: run安装包的结构这样整个run安装包结构就一目了然了,实际上因... 阅读全文
posted @ 2014-06-07 08:59 Waichung 阅读(6689) 评论(0) 推荐(0)