
LINUX
LINUX
_秋平_
这个作者很懒,什么都没留下…
展开
-
Ubuntu Linaro
apt-get install openssh-serverapt-get install vnc-serverapt-get install mysql-server mysql-clientapt-get install nginxapt-get install php5-fpmapt-get install php5-mysql php5-curl php5-gd php转载 2016-07-23 15:11:00 · 1272 阅读 · 0 评论 -
busybox 命令长度限制
make menuconfig-->Busybox Settings -->Busybox Library Tuning ->Maxmum length of input原创 2019-06-13 18:11:24 · 483 阅读 · 0 评论 -
VMware Workstation 网络篇
宿主机三张物理网卡,分别访问三个不同的网络(网卡1:访问外网,为默认网卡。网卡2:访问内网。网卡3:直接接入设备LAN口,测试口 。)虚拟网卡4采用NAT模式虚拟网络编辑器:VMnet0/VMnet1/VMnet2分别桥接到三张物理网卡上去。VMnet3:为方便宿主机访问虚拟机而增加。因VMnet0 和VMnet1都采用 DHCP的方式,为防止默认路由冲突,开机时只启动其中一张...原创 2018-11-01 09:53:11 · 278 阅读 · 0 评论 -
iptables
iptables IP地址取反 ! -s 192.168.200.2/32 感叹号在 -s之前,中间有空格。 iptables -I INPUT -p udp --dport 161 -i br0 ! -s 192.168.200.2/32 -d 192.168.200.1 -j DROPiptables -I INPUT -p udp --dport 161 -i br0 -d 192.168...原创 2018-03-15 10:06:15 · 1141 阅读 · 0 评论 -
telnet
1、busybox中打开passwd编译选项2、升级新版本的固件后,使用passwd修改处需要的密码。3、cat /etc/passwd 4、将生成的密码代码放入为编译的/etc/default/cat /etc/passwd 中,即得到了我们所需要的MD5或其他加密方式的加密后的密码。原创 2016-10-19 16:06:28 · 893 阅读 · 0 评论 -
route
busybox route add default gw xxx.xxx.xxx.xxxbusybox route del default gw xxx.xxx.xxx.xxxroute add -net xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx dev eth0(dev name)route del -netxxx.xxx转载 2017-06-05 17:17:34 · 287 阅读 · 0 评论 -
Makefile中自动加入svn版本号
SVN_REVISION = $(shell svn info |grep Revision|awk '{print $$2}')#SVN_REVISION=$(shell svn info | grep Revision | cut -d " " -f 2)原创 2017-04-26 14:13:12 · 2677 阅读 · 0 评论 -
find和grep查找字符串
find -type f |xargs grep -ri "TxLMT_OFDM_Jaguar_N" -l原创 2016-11-02 15:48:00 · 3429 阅读 · 0 评论 -
如何将Ubuntu16.4.0的接口名改成传统的eth0 /etc/default/grub
vi /etc/default/grub# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n原创 2016-10-27 18:30:39 · 2860 阅读 · 0 评论 -
Linux磁盘管理du dh
df -hdu -h --max-depth=1 /home/user/原创 2016-11-02 15:58:52 · 2520 阅读 · 0 评论 -
rsync
rsync -a --exclude ".svn" patch/net-snmp-5.4.2.1/ users/net-snmp-5.4.2.1\r原创 2016-11-02 15:46:19 · 210 阅读 · 0 评论 -
使用wget在linux系统的开发板上调试程序
1、安装hfshttp://www.rejetto.com/hfs/2.运行HFS,将所需要的目录拖拽至hfs文件夹目录窗口、选择Virual foler3.下载busybox wget http://192.168.99.234/wifidata/swpkt_infos.txt -O swpkt_infos.txt4.修改权限chmod chown5.运行调试原创 2016-10-19 17:47:55 · 564 阅读 · 0 评论 -
linux下route命令使用
查看路由表# route -nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface239.255.255.250 0.0.0.0 255.255.255.255 UH 0 0 0 br0原创 2016-11-07 11:22:35 · 487 阅读 · 0 评论 -
Apache support HTTP PUT方法
#Download source codewget http://mirror.bit.edu.cn/apache//httpd/httpd-2.4.39.tar.bz2wget http://mirrors.tuna.tsinghua.edu.cn/apache//apr/apr-1.7.0.tar.gzwget http://mirrors.tuna.tsinghua.edu.c...原创 2019-06-25 10:51:50 · 1365 阅读 · 0 评论