摘要:
###今天前端告诉我说,访问外部静态文件出现跨域。一不做二不休,直接改成全局允许跨域 @Configuration public class GlobalCorsConfig { @Bean public WebMvcConfigurer corsConfigurer() { return new 阅读全文
摘要:
#!/bin/bash read -p "please input a username:" username if id -u $username >/dev/null 2>&1; then echo "user exists" else echo "user does not exist" fi 阅读全文
摘要:
1.检查阿里云服务器的防火墙,及访问策略。释放相关端口,否则将访问不到服务。 2.要配置vi /etc/hosts 外网ip : 主机名 比如 114.113.112.111 :kafka-test 3.配置kafka的config/server.properties # The id of the 阅读全文