服务端
文章平均质量分 58
能想多少想多少
不懂工艺的程序员不是一个好的项目经理
展开
-
Spring Framework的设计哲学(Bing翻译)
Spring Framework的设计哲学原创 2023-03-11 11:19:04 · 385 阅读 · 0 评论 -
Spring Boot官方例子《Developing Your First Spring Boot Application》无法运行
Failed to read candidate component class: URL原创 2023-03-10 20:59:02 · 491 阅读 · 0 评论 -
使用nginx代理更新ubuntu的apt和elasticsearch
名称定义ProxyServer: 能上外网的服务器有2个IP,其中内网IP是192.168.0.10Client: 不能上外网,希望通过ProxyServer进行更新的客户机,可以与ProxyServer连通。配置ProxyServer安装nginx(不在这里介绍)增加一个nginx的子配置文件proxy_conf/proxys.conf:cd /usr/local/nginx/confsudo mkdir proxy_conf && cd proxy_conf原创 2022-02-15 10:43:37 · 2236 阅读 · 2 评论 -
nvm在ubuntu中本地安装
不要再改host了,改host只是改了DNS,不代表你能连上那个IP。其实nvm的github中说的很清楚了,可以使用git方式安装:Git InstallIf you have git installed (requires git v1.7.10+):clone this repo in the root of your user profilecd ~/ from anywhere then git clone https://github.com/nvm-sh/nvm.git .原创 2021-11-30 05:43:54 · 319 阅读 · 0 评论 -
C# WPF编译错误:App 没有合适的静态Main方法
查看app.xml的属性,发现Build Action的属性为“Page”,将其改为"ApplicationDefinition",问题解决。原创 2021-04-20 08:46:50 · 397 阅读 · 0 评论 -
Docker 本地导入镜像/保存镜像/载入镜像/删除镜像
原文链接:https://www.cnblogs.com/linjiqin/p/8604756.htmlDocker 本地导入镜像/保存镜像/载入镜像/删除镜像1、Docker导入本地镜像有时候我们自己在本地或者其它小伙伴电脑上拷贝了一份镜像,有了这个镜像之后,我们可以把本地的镜像导入,使用docker import 命令。例如这里下载了一个 alibaba-rocketmq-3.2.6.tar.gz 镜像文件,使用下列命令导入:[root@rocketmq-nameserver4转载 2021-01-08 16:23:42 · 639 阅读 · 0 评论 -
ubuntu 20.01利用apt部署logstash并添加到自启动服务
参考官方指导:https://www.elastic.co/guide/en/logstash/current/installing-logstash.htmlsudo apt-get install apt-transport-https设定elasticsearch的源 echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-原创 2020-12-08 16:47:42 · 610 阅读 · 0 评论 -
Error: Could not find or load main class xxxx错误
运行环境:Windowsdata_wrapper.java的源代码:public class data_wrapper{ public static void main(String[] args){ System.out.println("Hello"); }}直接执行javac data_wrapper.javajava data_wrapper会报错:Error: Could not find or load main class data_wrapper解决办法:原创 2020-11-26 14:20:08 · 482 阅读 · 0 评论