
Linux
一棵随风倒的小小草
这个作者很懒,什么都没留下…
展开
-
How to Mount a Remote Folder using SSH on Ubuntu(Ubuntu 使用ssh挂载远程目录)
Connecting to a server across the internet is much more secure using SSH. There is a way that you can mount a folder on a remove server using the SSHFS service.There are quite a few steps that you转载 2015-06-04 11:10:51 · 856 阅读 · 0 评论 -
How to mount a remote directory over ssh on Linux(LInux通过ssh挂载远程目录)
原文地址:http://xmodulo.com/how-to-mount-remote-directory-over-ssh-on-linux.htmlSuppose you would like to mount a remote directory locally. However, you only have ssh access to the host where the remo转载 2015-06-10 13:27:51 · 1766 阅读 · 0 评论 -
Lnmp修改php.ini配置以及使exec()函数可用
要在lnmp系统里面修改php.ini配置,首先要用find命令查找到php.ini所在位置:find / -name php.ini查找结果如下:usr/local/php/etc/php.ini然后用VI命令修改:vi /usr/local/php/etc/php.ini修改后要重启才能生效,这里的重启并不是重启nginx-一定要注意。如转载 2015-09-22 09:20:17 · 6746 阅读 · 0 评论 -
Linux查看硬件相关信息
说明:以下信息除mac地址外,都需拥有root权限linux查看硬盘uuid: ls -l /dev/disk by-uuidlinux查看硬盘序列号: hdparm -i /dev/sda | grep 'SerialNo'linux查看主板序列号: dmidecode | grep 'Serial Number'linux原创 2015-09-24 14:00:05 · 699 阅读 · 1 评论 -
Ubuntu上编译hostapd
1、下载hostapd可以到官网上下,主页:http://w1.fi/hostapd/ ,我选择使用hostapd-0.7.3 也可以使用wget下载:wget http://w1.fi/releases/hostapd-x.y.z.tar.gz(这里改成自己选用的版本)解压并进入源码目录:tar xzvf hostapd-x.y.z.tar.gzcd hostapd-原创 2015-10-15 13:04:13 · 7327 阅读 · 0 评论 -
树莓派和Ubuntu12.04配置无线连接与无线AP热点
之前使用过将笔记本电脑的无线网卡设置成ap,给家里的iPhone,ipad和安卓手机提供wifi链接。但是每次必须得开着笔记本,这个极不方便又不节能,所以买了个迷你的无线路由器。最近在网上看到树莓派改造成无线ap的文章自己也尝试了下,效果还不错。之前的迷你路由器信号不是很强,这样就可以放置在不同的房间提供wifi了。需要的硬件:树莓派一个,路由器一个,SD卡,无线网卡 SD卡烧的系统是转载 2015-05-29 14:14:59 · 1687 阅读 · 0 评论 -
ubuntu下resolv.conf文件的自动覆盖问题
转载自:http://www.2cto.com/os/201305/215023.htmlubuntu下resolv.conf文件的自动覆盖问题 如果有多块网卡,其中一个局域网网卡设置为dhcp时,如果安装了多事的resolvconf,它会将负责配置nameserver的resolv.conf文件清空。 最简单的办法就是在文件 /转载 2016-01-13 08:32:29 · 1150 阅读 · 0 评论