随笔分类 -  linux

摘要:#!/bin/bash APP_NAME=app_api.jar #使用说明,用来提示输入参数 usage() { echo "please enter the corresponding parameters [start|stop|restart|status]" exit 1 } #检查程序是 阅读全文
posted @ 2022-08-30 17:09 820820820 阅读(73) 评论(0) 推荐(0) 编辑
摘要:1.在线下载jdk wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java 阅读全文
posted @ 2022-08-30 17:07 820820820 阅读(590) 评论(0) 推荐(0) 编辑
摘要:一.安装nginx前的准备工作 在linux下安装nginx,首先需要安装 gcc-c++编译器。然后安装nginx依赖的pcre和zlib包。最后安装nginx即可。(有很多同学直接下载nginx开始安装,出现各种错误!) 二.安装gcc-c++编译器 yum install gcc-c++ yu 阅读全文
posted @ 2022-08-30 17:02 820820820 阅读(2039) 评论(0) 推荐(0) 编辑
摘要:当在Linux中安装Mysql后,不管是在根目录下还是在安装mysql的bin下执行mysql -uroot -p结果都是command not found,如下图所示:问题原因,linux默认启动Mysql,会在根目录下的bin中去启动,因此需要创建一个软连接执行以下命令:ln -s /usr/l 阅读全文
posted @ 2022-08-22 13:54 820820820 阅读(525) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示