
linux
yanhui007
这个作者很懒,什么都没留下…
展开
-
nginx 配置文件
#!/bin/bash# chkconfig:235 85 15# description: Nginx is an HTTP server. /etc/rc.d/init.d/functionsstart() { echo "Start..." /usr/local/nginx/sbin/nginx &> /dev/null if [ $? -eq 0 ];then echo "Start...原创 2021-06-24 19:50:54 · 158 阅读 · 0 评论 -
linux mysql 启动脚本
#!/bin/sh# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB# This file is public domain and comes with NO WARRANTY of any kind# MySQL daemon start/stop script.# Usually this is put in /etc/init.d (at least on machine原创 2020-05-11 11:12:57 · 663 阅读 · 0 评论 -
linux iptables 脚本
#!/bin/sh## iptables Start iptables firewall## chkconfig: 2345 08 92# description: Starts, stops and saves iptables firewall## config: /etc/sysconfig/iptables# config: /etc/sysconfig/iptables-config#### BEGIN INIT INFO# Provides: iptables...原创 2020-05-11 11:12:11 · 792 阅读 · 0 评论 -
添加nginx为系统服务(service nginx start/stop/restart) 脚本
1、在/etc/init.d/目录下编写脚本,名为nginx#!/bin/sh## nginx - this script starts and stops the nginx daemon## chkconfig: - 85 15# description: Nginx is an HTTP(S) server, HTTP(S) reverse \# proxy and IMAP/POP3 proxy server# processname: nginx...原创 2020-05-11 11:10:20 · 444 阅读 · 0 评论 -
linux yum 安装 mysql
使用网络yum源安装mysql1. yum list installed mysql* --检查2.yum list mysql* --查看3.yum -y install mysql ---安装4.yum -y install mysql-server---安装5.yum -y install mysql-devel---安装6.service mysqld star...原创 2020-02-17 18:06:53 · 187 阅读 · 0 评论 -
linux Runtime
Runtime.getRuntime().exec("main.exe "你的字符"")------------------------------------------------------------------------Runtime runtime = new Runtime(); String fileName = "c:\\test原创 2012-11-23 10:13:08 · 534 阅读 · 0 评论 -
linux下项目部署 常用命令
spt-test192.168.1.52root:BTYgKsFRJqSyjodb1,上传文件:先cd的linux指定目录,然后直接从windows鼠标拖去/data/product/deploywarjar: /data/product/release/2.配置启动脚 本/data/product/release/SptBank2/deploy/startup.sh3....原创 2018-06-22 11:37:04 · 510 阅读 · 0 评论