一、 需要安装的服务:hostapd dhcp(isc-dhcp-server) dns(dnsmasq或者bind9或者都不装 )二、建hostapd.conf文件 ,sudo vim/etc/hostapd/hostapd.conf (位...
分类:
其他好文 时间:
2014-10-09 20:04:07
阅读次数:
332
下载了sublime 解压之后,想把文件夹放到opt目录,这里用命令cp将其复制过来johnny@johnny-pc:~$ sudo cp -r ~/下载/Sublime_2.0.2 /opt/[sudo] password for johnny: johnny@johnny-pc:~$ 本人用.....
分类:
系统相关 时间:
2014-10-09 16:33:57
阅读次数:
160
1. 找到文件并作如下修改:sudo vim /etc/network/interfaces修改如下部分:auto eth0iface eth0 inet staticaddress 192.168.0.117gateway 192.168.0.1 #这个地址你要确认下 网关是不是这个地址net.....
分类:
其他好文 时间:
2014-10-09 16:11:15
阅读次数:
169
安装sudo apt-get install wiresharksudo dpkg-reconfigure wireshark-commonsudo usermod -a -G wireshark $USER规则host 10.2.2.2 (与”src or dst host 10.2.2.2″是一...
分类:
其他好文 时间:
2014-10-09 15:53:43
阅读次数:
159
sudo apt-get install libmysqld-devsudo apt-get install libmysqlclient-devsudo apt-get install python-devsudo pip install mysql-python参考链接http://www.cn...
分类:
数据库 时间:
2014-10-09 14:56:33
阅读次数:
252
1.eclipse添加android adt:
终端:sudo gedit /etc/hosts
添加:
#for android
173.194.72.93 dl.google.com
173.194.72.93 dl-ssl.google.com
打开eclipse help-》install new software -》add-》 添加 name:adt ,loca...
分类:
移动开发 时间:
2014-10-09 02:44:08
阅读次数:
202
一句命令:sudo apt-get install apache2产生的启动和停止文件是:/etc/init.d/apache2 启动:sudo apache2ctl -k start 停止:sudo apache2ctl -k stop 重新启动:sudo apache2ctl -k res...
分类:
其他好文 时间:
2014-10-08 17:51:55
阅读次数:
284
很多软件只有32位的,有的依赖32位库还挺严重的;从ubuntu 13.10已经废弃了ia32-libs,但可以使用多架构,安装软件或包apt-get install program:i386。有的还是觉得烦,想一步到位安装所有的以前的ia32-libs,可以使用以下方法:sudo -icd /et...
分类:
其他好文 时间:
2014-10-08 16:25:36
阅读次数:
154
ubuntu 14.04 桌面版关闭图形界面
问题:
如何将ubuntu14.04设置为文本模式启动?
解决方案:
修改改GRUB 的配置文件(不建议直接改 grub.conf)
$sudo vim /etc/default/grub
找到:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash",应该是在第11行。
把本...
分类:
其他好文 时间:
2014-10-08 13:16:15
阅读次数:
188
安装Node.js环境 sudo apt-get install nodejs
sudo apt-get install npm 对于不同环境依赖 的node_module可以采用以下命令来重新生成 rm -rf node_modules
npm cache clean
npm install 如果...
分类:
Web程序 时间:
2014-10-08 01:45:24
阅读次数:
272