ubuntu项目环境配置

ubuntu20.04安装elasticsearch#

https://blog.csdn.net/weixin_44596128/article/details/103970665

https://zhuanlan.zhihu.com/p/336560713

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

https://blog.csdn.net/xcc_2269861428/article/details/100186654

elasticsearch启动脚本

#! /bin/bash
#chkconfig: 345 63 37
#description: elasticsearch
#processname: elasticsearch-6.4.0

export ES_HOME=/opt/elasticsearch-6.4.0/

case $1 in
        start)
                su es<<!
                cd $ES_HOME
                ./bin/elasticsearch -d -p pid
                exit
!
                echo "elasticsearch is started"
                ;;
        stop)
                pid=`cat $ES_HOME/pid`
                kill -9 $pid
                echo "elasticsearch is stopped"
                ;;
        restart)
                pid=`cat $ES_HOME/pid`
                kill -9 $pid
                echo "elasticsearch is stopped"
                sleep 1
                su elastic<<!
                cd $ES_HOME
                ./bin/elasticsearch -d -p pid
                exit
!
                echo "elasticsearch is started"
        ;;
    *)
        echo "start|stop|restart"
        ;;
esac
exit 0

uwsgi的python2+3多版本共存#

https://cloud.tencent.com/developer/article/1564052

https://www.cnblogs.com/baker95935/p/9075978.html

https://blog.csdn.net/lch551218/article/details/104825003

supervisor安装和使用#

https://blog.csdn.net/qq_32013641/article/details/88637280

https://www.cnblogs.com/xishuai/p/ubuntu-install-supervisor.html

ubuntu20.04安装nginx和配置#

https://cloud.tencent.com/developer/article/1661061

https://blog.csdn.net/qq_38157825/article/details/108652444

https://www.cnblogs.com/cnwcl/articles/13788407.html

Ubuntu20.04安装JDK和openjdk实现共存#

https://blog.csdn.net/weixin_38924500/article/details/106215048

ubuntu20.04安装kibana#

https://blog.csdn.net/qq_26039331/article/details/115024218
https://www.cnblogs.com/chengfengchi/p/12806974.html

posted @   就学45分钟  阅读(76)  评论(0编辑  收藏  举报
编辑推荐:
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
阅读排行:
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
点击右上角即可分享
微信分享提示
主题色彩