当前位置: 首页 > news >正文

绥化网站开发公司营销模式都有哪些

绥化网站开发公司,营销模式都有哪些,网页微信版官方下载,怎么做淘宝企业网站C在线开发环境搭建 一、环境说明1.1 系统基础环境说明1.1 docker-ce社区版安装 二、codeserver构建2.1 构建codeserver环境的docker容器2.2 构建docker镜像2.3 运行docker2.4 运行展示 三、构建codeserver中的c开发环境3.1 插件下载3.2 插件安装 四、其他知识4.2 code-server配… C在线开发环境搭建 一、环境说明1.1 系统基础环境说明1.1 docker-ce社区版安装 二、codeserver构建2.1 构建codeserver环境的docker容器2.2 构建docker镜像2.3 运行docker2.4 运行展示 三、构建codeserver中的c开发环境3.1 插件下载3.2 插件安装 四、其他知识4.2 code-server配置config.yml4.2.1 常用配置选项4.2.2 示例配置文件4.2.3 使用 --config 启动 4.1 交叉编译配置环境变量4.3 CMAKE tools 启动参数传递 本文讲解在docker环境中构建codeserver服务器。搭建基于CMakeLists.txt的C环境搭建。其中包括codeserver配置相关说明。Dockerfile的讲解等内容。开发者可以使用这个关键在线开发C程序。 一、环境说明 1.1 系统基础环境说明 宿主机系统环境ubuntu-24-server版本 系统镜像下载地址 http://mirrors.163.com/ubuntu-releases/24.04.1/ubuntu-24.04.1-live-server-amd64.iso docker社区版本 1.1 docker-ce社区版安装 安装必要的软件包以允许apt通过HTTPS使用仓库 sudo apt update sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y添加Docker的官方GPG密钥 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -添加Docker的APT仓库 sudo add-apt-repository deb [archamd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable安装最新版本的Docker CE社区版 sudo apt update sudo apt-get install docker-ce -y验证Docker是否安装成功并运行 sudo systemctl status docker二、codeserver构建 2.1 构建codeserver环境的docker容器 新建Dockerfile文件内容如下: from centos:latest # 一、配置centos源环境 RUN cd /etc/yum.repos.d/ ; mkdir bak; mv *.repo /etc/yum.repos.d/bak COPY aliyum.repo /etc/yum.repos.d/ # 二、安装code-server ADD code-server-4.92.2.tar /opt/install/ RUN yum install -y curl automake make gcc gcc-c cmake unzip wget bzip2 libtool perl file diffutils bzip2-devel zlib-devel gdb yum clean all WORKDIR /opt/install/code-server-4.92.2/ COPY rpm/code-server-4.92.2-amd64.rpm /root/.cache/code-server/ RUN bash -x install.sh # 三、安装code-server关于C在线开发的插件 COPY install /opt/install RUN code-server --install-extension /opt/install/MS-CEINTL.vscode-language-pack-zh-hans-1.92.2024081409.vsix RUN code-server --install-extension /opt/install/ms-vscode.cmake-tools-1.20.6.vsix RUN code-server --install-extension /opt/install/ms-vscode.cpptools-1.22.3linux-x64.vsix RUN code-server --install-extension /opt/install/twxs.cmake-0.0.17.vsix RUN mkdir -p /root/workspace EXPOSE 8080 CMD [sh,-c ,code-server -w /root/workspace]镜像的构建一共分为三个步骤。 第一步配置centos的源环境为了方便使用yum在线安装必须的相关环境。 aliyum.repo的文件内容如下 # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist does not work for you, as a fall back you can try the # remarked out baseurl line instead. # #[base] nameCentOS-$releasever - Base - mirrors.aliyun.com #failovermethodpriority baseurlhttp://mirrors.aliyun.com/centos/$releasever/BaseOS/$basearch/os/http://mirrors.aliyuncs.com/centos/$releasever/BaseOS/$basearch/os/http://mirrors.cloud.aliyuncs.com/centos/$releasever/BaseOS/$basearch/os/ gpgcheck1 gpgkeyhttp://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official#additional packages that may be useful [extras] nameCentOS-$releasever - Extras - mirrors.aliyun.com #failovermethodpriority baseurlhttp://mirrors.aliyun.com/centos/$releasever/extras/$basearch/os/http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/os/http://mirrors.cloud.aliyuncs.com/centos/$releasever/extras/$basearch/os/ gpgcheck1 gpgkeyhttp://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official#additional packages that extend functionality of existing packages [centosplus] nameCentOS-$releasever - Plus - mirrors.aliyun.com #failovermethodpriority baseurlhttp://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/os/http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/os/http://mirrors.cloud.aliyuncs.com/centos/$releasever/centosplus/$basearch/os/ gpgcheck1 enabled0 gpgkeyhttp://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official[PowerTools] nameCentOS-$releasever - PowerTools - mirrors.aliyun.com #failovermethodpriority baseurlhttp://mirrors.aliyun.com/centos/$releasever/PowerTools/$basearch/os/http://mirrors.aliyuncs.com/centos/$releasever/PowerTools/$basearch/os/http://mirrors.cloud.aliyuncs.com/centos/$releasever/PowerTools/$basearch/os/ gpgcheck1 enabled0 gpgkeyhttp://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official[AppStream] nameCentOS-$releasever - AppStream - mirrors.aliyun.com #failovermethodpriority baseurlhttp://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/http://mirrors.aliyuncs.com/centos/$releasever/AppStream/$basearch/os/http://mirrors.cloud.aliyuncs.com/centos/$releasever/AppStream/$basearch/os/ gpgcheck1 gpgkeyhttp://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official 第二步安装code-server由于code-server安装需要下载rpm包我提前下载在code-server安装的时候就不需要在下载了。 下载地址https://github.com/coder/code-server/releases 下载code-server-4.92.2-amd64.rpm和code-server-4.92.2-linux-amd64.tar.gz 第三步安装关于C开发的常用插件这里的开发环境主要是针对CMakeLists.txt的环境。并且使用默认系统的研发环境进行研发如果使用其他的版本的G和gcc需要自己更新版本。 插件下载请第三章 安装以下插件。 第四步配置环境。 2.2 构建docker镜像 docker build -t code-server:0.1 .2.3 运行docker 说明–privileged参数在使用gdb调试的时候使用否则会报错。 -v 映射开发空间是因为开发的时候如果主机重启开发的内容会清空所以这两个参数一定需要设置。 code-server的密码是通过环境变量PASSWORD设置的。所以在启动docker时候我们可以设置PASSWORD的值作为进入code-server服务的密码。 docker run -d -p 8080:8080 -v [宿主机地址]:/root/workspace -E PASSWROD123456 --privileged code-server:0.1 注意有一些版本的code-server的绑定的端口以及绑定地址参数会不同因此需要自己注意看看文档。 2.4 运行展示 在地址栏中输入http://xxxx.xxx.xxx.xxx:8080 输入登录密码就可以使用codeserver了。 三、构建codeserver中的c开发环境 3.1 插件下载 vscode插件市场地址 https://marketplace.visualstudio.com/vscode Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code https://marketplace.visualstudio.com/items?itemNameMS-CEINTL.vscode-language-pack-zh-hans C/C https://marketplace.visualstudio.com/items?itemNamems-vscode.cpptools cmake https://marketplace.visualstudio.com/items?itemNametwxs.cmake cmake tools https://marketplace.visualstudio.com/items?itemNamems-vscode.cmake-tools 3.2 插件安装 codeserver的插件安装命令如下 code-server --install-extension codelldb-x86_64-linux.vsix四、其他知识 4.2 code-server配置config.yml code-server 的 --config 选项允许你指定一个配置文件通常是 config.yml用于自定义 code-server 的各种行为。以下是 config.yml 配置文件的常用选项和说明 4.2.1 常用配置选项 bind-addr: 指定 code-server 监听的地址和端口。 bind-addr: 0.0.0.0:80800.0.0.0 表示监听所有网络接口可以改为特定的 IP 地址。8080 是端口号你可以根据需要更改。 auth: 配置访问的认证方式。 auth: passwordpassword: 使用密码认证。none: 不使用认证不建议在生产环境中使用。 password: 在使用密码认证时设置访问密码。 password: mypasswordcert 和 cert-key: 配置 SSL/TLS 证书用于 HTTPS 连接。 cert: /path/to/your/cert.pem cert-key: /path/to/your/key.pemdisable-telemetry: 禁用 code-server 的遥测数据收集。 disable-telemetry: truedisable-update-check: 禁用自动更新检查。 disable-update-check: trueproxy-domain: 配置代理域名用于反向代理设置。 proxy-domain: my.domain.comworking-directory: 指定启动时的工作目录。 working-directory: /path/to/directory4.2.2 示例配置文件 以下是一个完整的 config.yml 示例 bind-addr: 0.0.0.0:8080 auth: password password: mypassword cert: /path/to/your/cert.pem cert-key: /path/to/your/key.pem disable-telemetry: true disable-update-check: true working-directory: /home/user/projects4.2.3 使用 --config 启动 启动 code-server 时使用 --config 选项指定配置文件 code-server --config /path/to/config.yml通过这个配置文件你可以灵活地控制 code-server 的行为包括监听地址、认证方式、证书配置等。 4.1 交叉编译配置环境变量 CROSS_COMPILE arm-linux- AS $(CROSS_COMPILE)as LD $(CROSS_COMPILE)ld CC $(CROSS_COMPILE)gcc CPP $(CC) -E AR $(CROSS_COMPILE)ar NM $(CROSS_COMPILE)nm /etc/sysconfig/docker 4.3 CMAKE tools 启动参数传递 在~/.local/share/code-server/User/setting.json 中设置 { ........ cmake.debugConfig:{args:[参数]} ...... }
文章转载自:
http://www.morning.cwfkm.cn.gov.cn.cwfkm.cn
http://www.morning.tmxfn.cn.gov.cn.tmxfn.cn
http://www.morning.djwpd.cn.gov.cn.djwpd.cn
http://www.morning.yqwrj.cn.gov.cn.yqwrj.cn
http://www.morning.swsrb.cn.gov.cn.swsrb.cn
http://www.morning.srnhk.cn.gov.cn.srnhk.cn
http://www.morning.bqwsz.cn.gov.cn.bqwsz.cn
http://www.morning.lqrpk.cn.gov.cn.lqrpk.cn
http://www.morning.pqryw.cn.gov.cn.pqryw.cn
http://www.morning.yqrfn.cn.gov.cn.yqrfn.cn
http://www.morning.mqwnz.cn.gov.cn.mqwnz.cn
http://www.morning.hxhrg.cn.gov.cn.hxhrg.cn
http://www.morning.kfwqd.cn.gov.cn.kfwqd.cn
http://www.morning.hypng.cn.gov.cn.hypng.cn
http://www.morning.wplbs.cn.gov.cn.wplbs.cn
http://www.morning.lveyue.com.gov.cn.lveyue.com
http://www.morning.wslr.cn.gov.cn.wslr.cn
http://www.morning.ckhpg.cn.gov.cn.ckhpg.cn
http://www.morning.yxnkr.cn.gov.cn.yxnkr.cn
http://www.morning.ssglh.cn.gov.cn.ssglh.cn
http://www.morning.fndmk.cn.gov.cn.fndmk.cn
http://www.morning.ftlgy.cn.gov.cn.ftlgy.cn
http://www.morning.tdmgs.cn.gov.cn.tdmgs.cn
http://www.morning.skdhm.cn.gov.cn.skdhm.cn
http://www.morning.alwpc.cn.gov.cn.alwpc.cn
http://www.morning.kgphc.cn.gov.cn.kgphc.cn
http://www.morning.dwmtk.cn.gov.cn.dwmtk.cn
http://www.morning.mttqp.cn.gov.cn.mttqp.cn
http://www.morning.qysnd.cn.gov.cn.qysnd.cn
http://www.morning.tlnbg.cn.gov.cn.tlnbg.cn
http://www.morning.c7625.cn.gov.cn.c7625.cn
http://www.morning.wlxfj.cn.gov.cn.wlxfj.cn
http://www.morning.phwmj.cn.gov.cn.phwmj.cn
http://www.morning.ryrgx.cn.gov.cn.ryrgx.cn
http://www.morning.lcbnb.cn.gov.cn.lcbnb.cn
http://www.morning.lanyee.com.cn.gov.cn.lanyee.com.cn
http://www.morning.qbnfc.cn.gov.cn.qbnfc.cn
http://www.morning.jcwrb.cn.gov.cn.jcwrb.cn
http://www.morning.jxmjr.cn.gov.cn.jxmjr.cn
http://www.morning.pclgj.cn.gov.cn.pclgj.cn
http://www.morning.skrxp.cn.gov.cn.skrxp.cn
http://www.morning.fkgct.cn.gov.cn.fkgct.cn
http://www.morning.rfxg.cn.gov.cn.rfxg.cn
http://www.morning.nfdty.cn.gov.cn.nfdty.cn
http://www.morning.gchqy.cn.gov.cn.gchqy.cn
http://www.morning.dqxph.cn.gov.cn.dqxph.cn
http://www.morning.snnwx.cn.gov.cn.snnwx.cn
http://www.morning.mxbks.cn.gov.cn.mxbks.cn
http://www.morning.qrqcr.cn.gov.cn.qrqcr.cn
http://www.morning.hrdx.cn.gov.cn.hrdx.cn
http://www.morning.qwhbk.cn.gov.cn.qwhbk.cn
http://www.morning.twwzk.cn.gov.cn.twwzk.cn
http://www.morning.ylqrc.cn.gov.cn.ylqrc.cn
http://www.morning.cybch.cn.gov.cn.cybch.cn
http://www.morning.hwnqg.cn.gov.cn.hwnqg.cn
http://www.morning.vehna.com.gov.cn.vehna.com
http://www.morning.cwgt.cn.gov.cn.cwgt.cn
http://www.morning.yrnll.cn.gov.cn.yrnll.cn
http://www.morning.lpzqd.cn.gov.cn.lpzqd.cn
http://www.morning.rnnwd.cn.gov.cn.rnnwd.cn
http://www.morning.ynryz.cn.gov.cn.ynryz.cn
http://www.morning.pzdxg.cn.gov.cn.pzdxg.cn
http://www.morning.yrnrr.cn.gov.cn.yrnrr.cn
http://www.morning.snjpj.cn.gov.cn.snjpj.cn
http://www.morning.qgwpx.cn.gov.cn.qgwpx.cn
http://www.morning.nnttr.cn.gov.cn.nnttr.cn
http://www.morning.jfymz.cn.gov.cn.jfymz.cn
http://www.morning.yrbp.cn.gov.cn.yrbp.cn
http://www.morning.qfkdt.cn.gov.cn.qfkdt.cn
http://www.morning.tdzxy.cn.gov.cn.tdzxy.cn
http://www.morning.rcfwr.cn.gov.cn.rcfwr.cn
http://www.morning.pzrpz.cn.gov.cn.pzrpz.cn
http://www.morning.kdgcx.cn.gov.cn.kdgcx.cn
http://www.morning.lrmts.cn.gov.cn.lrmts.cn
http://www.morning.qkdcb.cn.gov.cn.qkdcb.cn
http://www.morning.pxlsh.cn.gov.cn.pxlsh.cn
http://www.morning.jbxfm.cn.gov.cn.jbxfm.cn
http://www.morning.rfwgg.cn.gov.cn.rfwgg.cn
http://www.morning.qrqcr.cn.gov.cn.qrqcr.cn
http://www.morning.srxhd.cn.gov.cn.srxhd.cn
http://www.tj-hxxt.cn/news/260551.html

相关文章:

  • 趣图在线生成网站源码xyz域名免费注册
  • 商会网站建设百度网站开发合同范本
  • 深圳华强北商城网站建设软件技术是学什么的
  • 江苏有哪些做网站建设的公司俄罗斯乌克兰局势最新消息
  • 网站建设价格单建筑网官网登录
  • 网站描述多个词怎么分隔店铺运营数据分析
  • 网站服务器维护方案wordpress+评论
  • 网站推广方法及特点网页制作首页代码模板
  • 中小企业为什么要建网站太原规划网站
  • 做ppt的素材网站网上北京网站制作公司
  • 西安定制网站大连网站运营
  • 莱阳做网站的遵义新蓝外国语学校网站建设
  • 云南省城乡建设厅网站标书制作标准
  • 专业设计网站wordpress 留言 插件
  • 企业名录网站 优帮云深圳建网站多少钱一年
  • 邯郸企业网站建设百度网站免费优化软件下载
  • 西安网站建设工程域名注册查询系统
  • 网站后台php开发教程百度游戏中心官网
  • 快站公众号建设工程合同法全文
  • 什么做网站统计好三个字公司名字
  • 教育wordpress模板下载温州谷歌优化公司
  • wordpress建站模版京东快递 网站建设特点
  • 买网站主机自己开发app要多少钱
  • 电商类网站开发项目书网站友情链接检测
  • 网站设计开发收费标准房屋装修设计网站
  • 网站如何做新闻聚合南宁网站如何制作
  • 哪个网站可以找题目给小孩做深圳网站建设设计定做
  • 中企动力网站合同wordpress 上传rar
  • 仙桃网站制作营销公司介绍
  • 武安建设局网站陕西省住房和城市建设厅网站