
linux
yanhui007
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nginx 配置文件
#!/bin/bash # chkconfig:235 85 15 # description: Nginx is an HTTP server . /etc/rc.d/init.d/functions start() { echo "Start..." /usr/local/nginx/sbin/nginx &> /dev/null if [ $? -eq 0 ];then echo "Start...原创 2021-06-24 19:50:54 · 174 阅读 · 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 · 682 阅读 · 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 · 823 阅读 · 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 · 471 阅读 · 0 评论 -
linux yum 安装 mysql
使用网络yum源安装mysql 1. 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 · 201 阅读 · 0 评论 -
linux Runtime
Runtime.getRuntime().exec("main.exe "你的字符"") ------------------------------------------------------------------------ Runtime runtime = new Runtime(); String fileName = "c:\\test原创 2012-11-23 10:13:08 · 551 阅读 · 0 评论 -
linux下项目部署 常用命令
spt-test 192.168.1.52 root:BTYgKsFRJqSyjodb 1,上传文件:先cd的linux指定目录,然后直接从windows鼠标拖去 /data/product/deploy war jar: /data/product/release/ 2.配置启动脚 本 /data/product/release/SptBank2/deploy/startup.sh 3....原创 2018-06-22 11:37:04 · 541 阅读 · 0 评论