最新动态

今日:0  |  文章:1154
汇集全站版块最新文章
admin
小绿叶技术博客 Lv2 超级管理员

开启 phpmyadmin 的远程登陆数据库

cd /www/wwwroot/phpmyadmin/ cp config.sample.inc.php config.inc.php # 只会识别这个配置文件: config.inc.php NR=`cat -n config.inc.php | grep Servers |grep host | grep -v "//" | awk -F" " '{print $1}'` ; echo $NR sed -i "$NR i \$cfg['AllowArbitraryServer'] = true; "
 
linux   1466   2020-12-30
admin
小绿叶技术博客 Lv2 超级管理员

linux centos oracle 数据库编rpm 安装shell脚本-完结

#!/bin/bashrepo="/etc/yum.repos.d/epel-7.repo"if [ ! -e $repo ]; then                     # -e 判断文件存在;参考:Shell if 条件判断文件或目录yum install -y wgetcd /etc/yum.repos.d/mkdir bakmv * bakwget http://mirrors.a
/置顶
shell   2496   2020-12-29
admin
小绿叶技术博客 Lv2 超级管理员

Oracle的存储过程基本写法

create [or replace] procedure 存储过程名(param1 in type,param2 out type)as   变量1 类型(值范围);   变量2 类型(值范围);begin   select count(*) into 变量1 from 表A where列名=param1;   if (判断条件) then        select 列名 into
 
数据库存储过程   2125   2020-12-23
admin
小绿叶技术博客 Lv2 超级管理员

数据库-php

<?php$dbhost = 'localhost';  // mysql服务器主机地址$dbuser = 'root';            // mysql用户名$dbpass = '123456';          // mysql用户名密码$conn = mysqli_connect($dbhost, $dbuser, $dbpass);if(! $co
 
数据库存储过程   1938   2020-12-21
admin
小绿叶技术博客 Lv2 超级管理员

linux centos 手动和自动搭建 ftp 创建虚拟用户 并使用 ftp 命令上传和下载文件

l #  手动搭建wget www.eisc.cn/file/shell/centos-yum.sh ; sh centos-yum.sh                                                  &
/精华/置顶
自动化运维linux   4008   2020-12-08
admin
小绿叶技术博客 Lv2 超级管理员

shell for if 循环中判断条件来执行命令

#!/bin/bash#备份所有 .pid 的文件为 .pid.backuppidback=(`find / -name "*.pid"`) # 定义一个小括号数组变量pidback  为 反引号里面的命令执行结果for i in ${pidback[*]} # for循环变量  i  是 数组变量里所有的元素,[*] 所有, [0] 第一个元素,默认从0 开始do 
 
shell   1182   2020-12-06
admin
小绿叶技术博客 Lv2 超级管理员

Linux centos下编译安装lnmp shell脚本 完整版

#!/bin/bashrepo="centos-yum.sh"if [ ! -e $repo ]; then                 # -e 判断文件存在;参考:Shell if 条件判断文件或目录yum install -y wgetwget www.eisc.cn/file/shell/centos-yum.sh ; sh centos-yum.shelseecho "yum已经切换"fi#######
/精华/置顶
自动化运维linux   3546   27  2020-12-03
admin
小绿叶技术博客 Lv2 超级管理员

linux centos mysql-mariadb10.5 shell一键安装脚本

#!/bin/bashrepo="centos-yum.sh"if [ ! -e $repo ]; then                 # -e 判断文件存在;参考:Shell if 条件判断文件或目录yum install -y wgetwget www.eisc.cn/file/shell/centos-yum.sh ; sh centos-yum.shelseecho "yum已经切换"fi#######
 
linux   1035   2020-12-03
admin
小绿叶技术博客 Lv2 超级管理员

yum将软件安装到指定版本到指定目录

######## 指定目录yum -c /etc/yum.conf --installroot=/usr/local --releasever=/  install love# -c /etc/yum.conf                  #表示指定yum配置文件地址# --installroot=/usr/local        #表示指定自定义的安装目录#
 
linux   921   2020-11-16
admin
小绿叶技术博客 Lv2 超级管理员

linux centos lnmp环境配置 添加多网站配置

#!/bin/bash# 此处是lnmp环境的配置教程,搭建 lnmp 请参考:Linux centos下编译安装Lnmp shell脚本 完整版# nginx服务器部署多个网站,共用一个80端口。#首先备份配置文件:#-------------------------------  备份所有 .pid 的文件为 .pid.backup  --------------------------------#pidback=(`find / -name "*.pid"`)  &n
 
自动化运维linux   1403   2020-11-15
头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息