![](https://img-blog.csdnimg.cn/20190918140129601.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Linux
文章平均质量分 64
linux平台及该平台下的开发笔记与总结等
回首已是叶落时
空想家
展开
-
基于Ubuntu部署前端项目
一、搭建开发环境参考知乎帖子:https://zhuanlan.zhihu.com/p/144946960二、安装Nginx1.安装nginxapt-get install nginx2.查看版本nginx -v3.启动服务service nginx start4.查看状态systemctl status nginx.service5.遇到了问题解决办法:sudo lsof -i:80 查看80端口的占用情况,若是被其他程序占用了,去掉不必要的占用;2.修改nginx配置文件原创 2022-08-10 10:01:12 · 887 阅读 · 0 评论 -
curl C示例
curl简介一、cURL简介功能:文件传输工具,支持文件的上传和下载;支持协议:ftp、ftps、https、tftp、sftp、telnet、gopher、file、dict、ldap、ldaps、imap、pop3、smtp、rtsp。二、libcurl开发使用关联库:libcurl libssl_static libcrypto_static libdllibcurl:curl源码libssl_static:ssl配置libcrypto_static :秘钥库三、下载校验流程:1.原创 2022-02-18 17:31:36 · 559 阅读 · 0 评论 -
lua 基础使用
开发环境搭建基于Linux进行lua安装cd lua-5.3.0make linux testmake installhelloworld.lua#!/usr/local/bin/luaprint("Hello World!")执行文件:./helloworld.lua(若是没有指定源#!/usr/local/bin/lua, 使用lua helloworld.lua执行也是OK的)输出:Hello World!Lua基础语法lua使用require实现so库加载。package原创 2022-02-17 11:09:10 · 1142 阅读 · 0 评论 -
Windows下安装VS Code
vscode安装搜索插件提示“XHR failed”第一步From Control Panel\Network and Internet\Network Connections-Choose your connection network and ( right click on it then choose properties )-Select " Internet Protocol Version 4" (TCP/IPv4) and then click on properties in t原创 2022-02-07 14:38:59 · 275 阅读 · 0 评论 -
Ubuntu 18.04安装
下载资源镜像:阿里Ubuntu服务器镜像:http://mirrors.aliyun.com/ubuntu-releases/18.04/Ubuntu旧版下载:http://old-releases.ubuntu.com/releases/bionic/参考博文:Ubuntu18下载问题记录:1.安装系统后,设置共享目录之后,重启不见了?终于找到一个很好用的方法,感谢这哥们,点击这里过去看原文a.打开 /etc/rc.local文件;b.添加如下指令:#!/bin/sh/usr/bin原创 2021-12-18 18:38:00 · 925 阅读 · 0 评论 -
基于Linux使用Git
一、注册1.切换到执行用户:su superwoman2.用户名和邮箱配置git config --global --add user.name superwomangit config --global --add user.email email-name@qq.com3.创建秘钥ssh-keygen -t rsa一路回车二、克隆git clone https:***git clone -b "tree brach" ssh:****三、提交修改git add ***.cgit原创 2021-08-01 16:20:17 · 212 阅读 · 0 评论 -
VTK编译与环境搭建
VTK编译与环境搭建.Android 环境 -SDK安装 -NDK安装 -资源 1.Android developer网址 : https://developer.android.google.cn/studio/releases/platform-tools .Linux Ubuntu -package安装 -cmake -ccmake -mesa 安装 ...原创 2021-08-01 17:00:18 · 883 阅读 · 1 评论 -
Linux启动过程
内核引导阶段1、bootsect阶段2、setup阶段3、head.S阶段4、main.c阶段init阶段1.确定用户登录模式在“/etc/inittab”中列出了如下所示的登录模式,主要有单人维护模式、多用户无网络模式、文字界面多用户模式、X-Windows多用户模式等。其中的单人维护模式(runlevel为1)是类似于Windows中的“安全转载 2017-12-17 14:48:30 · 153 阅读 · 0 评论 -
Linux软连接与硬连接
Linux 系统中有软链接和硬链接两种特殊的“文件”。软链接可以看作是Windows中的快捷方式,可以让你快速链接到目标档案或目录。硬链接则透过文件系统的inode来产生新档名,而不是产生新档案。创建方法都很简单:软链接(符号链接) ln -s source target硬链接 (实体链接)ln source target转载 2017-12-17 15:04:40 · 141 阅读 · 0 评论 -
Linux 中命令链接操作符
1. 和号操作符 (&)‘&’的作用是使命令在后台运行。只要在命令后面跟上一个空格和 ‘&’。你可以一口气在后台运行多个命令。在后台运行一个命令:tecmint@localhost:~$ ping c5 www.tecmint.com &同时在后台运行两个命令:root@localho转载 2017-12-17 15:11:34 · 261 阅读 · 0 评论 -
Linux动态库与静态库(一)
linux库的分析:本质:可执行的二进制代码,可以被加载到内存执行特点:现成、可复用、快速的学习种类:静态库与动态库Eg:/lib共享库和内核模块,/ bin和/ sbin所需库动态链接库的配置文件:实际操作:MyDfine.h:库函数头文件MyDfine.c:库函数的实现main.c测试我们库文件...原创 2018-07-25 22:47:16 · 162 阅读 · 0 评论 -
Linux动态库与静态库(二)
一、ldd指令(借鉴来自:https://www.jb51.net/LINUXjishu/179400.html)1.指令参数 --version 打印ldd版本信息,eg:显示ldd (Ubuntu GLIBC 2.23-0ubuntu9) 2.23.... -v --version ...原创 2018-08-01 20:51:14 · 189 阅读 · 0 评论