- 博客(17)
- 资源 (1)
- 收藏
- 关注
原创 ubuntu16安装ssh
1. 安装ssh server 和 安装ssh clientsudo apt-get install openssh-serversudo apt-get install openssh-client2. 检查SSH是否安装成功ps -e | grep ssh*
2019-04-25 19:28:45 869 1
原创 github Please make sure you have the correct access rights
问题lc@m:~/ww$ git clone git@github.com:lc168/llvm-project.git正克隆到 'llvm-project'...Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct...
2019-04-16 10:30:04 1084
原创 ubunut安装tftp服务
安装软件apt-get install tftp-hpa tftpd-hpa xinetd修改配置vi /etc/default/tftpd-hpaTFTP_USERNAME="tftp"TFTP_DIRECTORY="/root/tftpboot"TFTP_ADDRESS=":69"TFTP_OPTIONS="--secure -c"重启服务service tftpd-hp...
2019-04-01 19:08:45 142
原创 vim配置
安装cscopesudo apt-get install cscope修改 ~/.vimrc 文件set encoding=utf-8set termencoding=utf-8set fileencodings=utf-8,gbk,latin1set fileencoding=utf-8set numbernmap <F12> :source ~/.vimrc&l...
2019-03-28 22:49:22 120
原创 没有那个文件或目录
Ubunut16 支持32程序运行:报错:lc@PC:~$ /opt/hisi-linux/x86-arm/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -v-bash: /opt/hisi-linux/x86-arm/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc: 没有那个文件或...
2019-03-28 18:02:08 4431
原创 Ubuntu 16.04安装配置NFS
参考学习:https://www.jianshu.com/p/5314f90330a6安装nfs服务$ sudo apt-get update$ sudo apt-get install -y nfs-kernel-server配置nfs服务sudo vi /etc/exports/home/lc/work *(rw,sync,no_root_squash,no_subtree_c...
2019-03-28 17:24:01 812
原创 ubunut16 安装 samb
ubunut16 安装 samb安装samb$ sudo apt-get install samba修改配置文件修改/etc/samba/smb.conf 文件[work]comment = for good workpath = /home/lc/workbrowseable = yeswritable = yesguest ok = yespublic = yes...
2019-03-28 16:11:35 191
原创 centos7+cuda+cudnn+caffe环境安装
本文目的是记录在 centos7 上面安装gpu+caffe编程环境安装kernel header和相关开发包rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.orgrpm -Uvh //www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm禁用默认nouveau驱动...
2019-01-19 22:51:54 755
原创 scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory解决方法:To install OpenSSL development package on Debian, Ubuntu or their derivatives:$ sudo apt-get install libssl...
2018-11-30 22:36:51 1816
原创 git合入二进制修改
参考:http://www.worldhello.net/gotgit/07-git-app/030-binary-diff.htmlgit diff --binary &gt; my.diff #添加“–binary”可以保存二进制修改git appley my.diff #git appley 就可以合入...
2018-11-10 13:01:30 1754
原创 linux获取硬件id
[root@localhost 2ss]# lshw -c network | grep serial | head -n 1serial: 2c:4d:54:45:02:cd
2018-11-10 12:56:03 4889
原创 整理一下自己觉得比较好的学习站点
http://www.runoob.com/https://www.w3cschool.cn/vim/23tv1pu4.htmlhttps://www.shiyanlou.com/courses/227https://www.imooc.com/https://study.163.com/courses-search?keyword=机器学习...
2018-10-21 19:12:02 279
原创 strace: ptrace(PTRACE_TRACEME, ...): Operation not permitted
在docker容器中,运行strace 发现错误:[root@cc2ca6c035d7 /]# strace -o log /bin/lsstrace: ptrace(PTRACE_TRACEME, ...): Operation not permitted解决方法添加 --cap-add=SYS_PTRACEnvidia-docker run -it --cap-add=SYS_P...
2018-10-21 09:48:41 5009
原创 qemu+uboot+kernel+nfs文件系统
qemu+uboot+kernel+nfs文件系统版本介绍 ubuntu16参考学习:http://edu.51cto.com/course/10445.html (其实看博客一直没有搞定nfs挂载文件系统的问题,最后学习视频教程,提问才搞定)https://blog.csdn.net/nxcxl88/article/details/53244754http://www.cnblogs...
2018-10-06 12:52:14 3614 1
原创 printf 宏开关的写法
printf 宏开关的写法//#define DEBUGE#ifdef DEBUGE #define face_printf(...) printf(__VA_ARGS__)#else #define face_printf(...)#endif
2018-07-01 15:31:24 897
转载 centos7 安装samb
1安装 sambayum -y install samba samba-client2关闭防火墙[root@base samba]# firewall-cmd --permanent --add-port=139/tcp[root@base samba]# firewall-cmd --permanent --add-port=445/tcp[root@base sam...
2018-05-19 15:47:51 494
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人