- 博客(4)
- 收藏
- 关注
原创 linux嵌入式环境搭建
Ubuntu环境搭建一、下载和安装VMwarehttp://www.xitongcheng.com/jiaocheng/xtazjc_article_38952.html二、下载ubuntu镜像http://mirror.pnl.gov/releases/xenial/> 根据需要选择对应的Ubuntu版本镜像三. 在VMWare下安装Ubuntuhttps://blog.csdn.net/qq_28090573/article/details/82724910四. 说明本文
2020-10-24 19:16:32
132
原创 linux进程编程
linux线程中创建进程研究一、源代码#include<stdio.h>#include<pthread.h>#include<sys/types.h>int gFlag = 0;pthread_mutex_t gmutex = PTHREAD_MUTEX_INITIALIZER;void myprepare(){ printf("[myprepare]lock mutex\n"); pthread_mutex_lock(&gmutex);
2020-10-24 13:05:19
99
原创 linux进程编程
linux进程通信之有名管道1.添加头文件#include <stdio.h>#include <sys/types.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <fcntl.h>#define M_FIFO_FILE "./myFile" //定义管道文件2.创建管道文件int main(int argc, char
2020-10-24 00:18:48
148
原创 linux环境之samba服务搭建
linux环境之samba服务搭建1. 背景介绍2. samba下载安装3. samba服务配置3.1 指定共享目录和共享访问权限3.2 用户权限添加3.3 重启samba配置4. 测试1. 背景介绍我们知道在windows下首先安装虚拟机,再在虚拟机上安装linux操作系统。这样我们就可以搭建一个linux开发环境。在实际操作中,如果我们需要在Windows与Linux之间交换文件资源,一种解决方案是采用tftp上传和下载方式,另外一种机制就是文件共享。在本篇文章中我们将利用samba实现此文件资源共
2020-10-23 23:19:02
190
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人