Linux:使用文本文件来保存配置文件Linux编辑器:行编辑器:sed全屏编辑器:nano,vi,vim文本编辑器:编辑ASCII字符,而非字符处理软件如emacs,vivi:VisualInterface全屏文本编辑器,nano模式化的编辑器modulervim:viimprovedvi的模式:编辑模式:键盘操作通常被解析为编辑命令;..
分类:
其他好文 时间:
2015-02-02 12:45:35
阅读次数:
213
原文: Ubuntu 14.04 为 root 帐号开启 SSH 登录 1. 修改 root 密码
sudo passwd root 2.以其他账户登录,通过 sudo nano 修改 /etc/ssh/sshd_config :
xxx@ubuntu14:~$ su - root
Password...
分类:
系统相关 时间:
2015-01-28 21:09:00
阅读次数:
226
我接触linux的时候,用的是nano这个文本编辑器,个人觉得他的最大优点就是方便,快速。打开文件,修改文件,到退出都十分的快速,简单。这一点上比vi,vim要强,但是nano不能显示彩色字,不能进行整行删除,编辑各种配置文件的时候,总感觉不是很方便。针对于nano的这些缺点,vim可以很好的解决,...
分类:
移动开发 时间:
2015-01-27 12:39:41
阅读次数:
157
装完Apache,需要修改apache的配置文件:nano/etc/httpd/conf/httpd.conf配置文件中有ScriptAlias/cgi-bin/"/var/www/cgi-bin/"这个指令,指示了默认的cgi-bin的路径。/var/www/cgi-bin/,在配置文件中也可以看到。还需要配置AddHandlercgi-script.cgi.pl该配置默认被注释掉了..
分类:
Web程序 时间:
2015-01-23 01:00:25
阅读次数:
298
创建配置文件/etc/apache2/sites-available# sudo nano mysite.conf #ServerName hello.djangoserver DocumentRoot /www2 #DirectoryIndex testMain.html O...
分类:
Web程序 时间:
2015-01-20 11:54:19
阅读次数:
294
1、安装$ sudo apt-get install vsftpd2、配置1) 修改vsftpd.conf$ sudo nano /etc/vsftpd.conf按如下格式 修改,保存。#服务器监听listen=YES#禁止匿名访问anonymous_enable=NO#允许本地主机访问local_...
分类:
系统相关 时间:
2015-01-06 19:55:39
阅读次数:
288
ip配置方法是编辑sudo nano/etc/network/interfaces树莓派默认配置 auto loiface lo inet loopbackiface eth0 inet dhcpallow-hotplug wlan0iface wlan0 inet manualwpa-roam /...
分类:
系统相关 时间:
2014-12-31 22:49:33
阅读次数:
362
http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/Posted by dconroy on Jul 10, 20...
分类:
Web程序 时间:
2014-12-28 10:19:14
阅读次数:
443