# imooc-news-dev **Repository Path**: findvoid123/imooc-news-dev ## Basic Information - **Project Name**: imooc-news-dev - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-28 - **Last Updated**: 2024-11-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # imooc-news-dev #### 介绍 {**以下是 Gitee 平台说明,您可以替换此简介** Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) #oh my zsh 生效bash_profile vim ~/.zshrc 在开头添加 if [ -f ~/.bash_profile ]; then source ~/.bash_profile fi 使用下面的命令使之立即生效 source ~/.zshrc #tomcat cd /Users/apple/Library/tomcat/bin sudo sh ./startup.sh ps -ef | grep mongodb #mongodb export PATH=/usr/local/mongodb/bin:$PATH 异常关闭时修复(确保db的目录和log的文件已经创建): mongod -f /opt/homebrew/etc/mongod.conf --repair 启动mongodb export PATH=/Users/apple/Documents/dev/mongodb/bin:$PATH mongod -f /opt/homebrew/etc/mongod.conf 访问:http://localhost:27017/ 关闭mongodb: 进入mongo shell 1. use admin db.shutdownServer() 或 2. mongod --shutdown -f /opt/homebrew/etc/mongod.conf oh my zsh配置环境变量 vi ~/.zshrc #Tomcat cd /Users/apple/Library/tomcat/bin sudo sh ./startup.sh sudo sh ./shutdown.sh #rabbitmq Epel 镜像 wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo 卸载erlang yum -y remove erlang-* etc/rabbitmq rabbitmq-plugins enable rabbitmq_management # start it back sudo service rabbitmq-server start # stop the local node sudo service rabbitmq-server stop 172.16.236.132:15672 #elasticsearch es不允许root使用启动,添加用户 useradd esuser chown -R esuser:esuser /usr/local/elasticsearch-6.8.6/ #切换用户 su esuser #在bin目录下启动 ./elasticsearch #前台运行 ./elasticsearch -d #后台运行 #修改配置 vim /etc/security/limits.conf vim /etc/sysctl.conf sysctl -p #刷新配置 jps #查看启动进程 http://172.16.236.132:9200/ #zookeeper ./zkServer.sh start