ubuntu
tao_fuqiang
这个作者很懒,什么都没留下…
展开
-
ubuntu 获取要安装软件的软件包和它依赖的库
找一台联网的机器1、将/var/cache/apt/archives/文件清空2、在终端 sudo apt-get install softname(需要安装的文件名字)3、/var/cache/apt/archives/下就是会出现你要安装软件包和它所依赖的库。...原创 2018-04-16 17:22:02 · 1850 阅读 · 0 评论 -
TX2 上开机自动启动程序
准备一个脚本 名字为autoLoad.sh[python] view plain copy#! /bin/bash source /opt/ros/indigo/setup.bash roscore 打开终端,在终端中执行gnome-session-properties,会弹出一个“启动应用程序首选项”的菜单 点击添加名称 注释随便输入命令的地方输入 gnome-terminal -x /...转载 2018-06-11 14:31:17 · 5054 阅读 · 1 评论 -
局域网硬盘映射
Service 机器安装 sudo apt-get install nfs-kernel-server sudo vim /etc/exports 添加 /home/user/share *(rw,sync,no_root_squash,no_subtree_check) (share是共享的文件夹)sudo service nfs-kernel-server restartclient 机器 ...原创 2018-06-05 13:56:01 · 1265 阅读 · 0 评论 -
tcpdump 抓包
tcpdump tcp -i eth2 -s 0 and port 20058 -w /home/pjroot/attence.captcpdump tcp -i eth2 -t -s 0 -c 100 and port 20058 -w /home/pjroot/attence.captcpdump tcp -i eth2 -s 0 and port 20058 and host 125.7...原创 2018-07-13 14:51:57 · 290 阅读 · 0 评论 -
服务器系统日志同步
服务器端:(发送端)sudo vim /etc/rsyslog.conf 打开日志配置文件在文件末尾添加 *.* ip(客户端ip地址)客户端(接受端)sudo vim /etc/rsyslog.conf 打开日志配置文件#module(load="imudp")#input(type="imupd" port="514")前面的#去掉在下一行添加 ...原创 2018-07-31 17:18:35 · 620 阅读 · 0 评论