码迷,mamicode.com
首页 >  
搜索关键字:useradd script    ( 25397个结果
第十三章、学习 Shell Scripts 简单的 shell script 练习
简单的 shell script 练习简单范例 对谈式脚本:变量内容由使用者决定[root@www scripts]# vi sh02.sh#!/bin/bash# Program:# User inputs his first name and last name. Program shows.....
分类:其他好文   时间:2014-09-20 08:49:06    阅读次数:239
第十三章、学习 Shell Scripts
什么是 Shell scriptsshell script (程序化脚本) :shell script 是针对 shell 所写的『脚本!』shell script 是利用 shell 的功能所写的一个『程序 (program)』,这个程序是使用纯文字档,将一些 shell 的语法与命令(含外部命....
分类:其他好文   时间:2014-09-20 08:48:36    阅读次数:239
keepalived实现高可用nginx反向代理的简单案例
写在前面:如果此文有幸被某位朋友看见并发现有错的地方,希望批评指正。如有不明白的地方,愿可一起探讨。案例拓扑图安装keepalived和nginx安装keepalived#yum-yinstallkeepalived创建nginx用户组及nginx用户#groupadd-rnginx #useradd-gnginx-rnginx编译安装nginx-1.4.7#tarx..
分类:其他好文   时间:2014-09-19 19:42:26    阅读次数:503
检测MYSQL不同步发邮件通知的脚本
脚本代码如下:#!/bin/bash # Info : check mysql slave # Author : dingtm # CTime : 2011.03.21 # This script run by root DBDir=/elain/apps/mysql/bin/ DBSock=/el...
分类:数据库   时间:2014-09-19 19:15:56    阅读次数:236
创建HTML5/CSS3单页Web布局
1.[图片]第1步:PhotoShop?2. [代码]第2步:index.html Coding A CSS3 & HTML5 Page Template | Script tutorials demo Yo...
分类:Web程序   时间:2014-09-19 16:57:35    阅读次数:1073
Passing arguments to a shell script
Any shell script you run has access to (inherits) the environment variables accessible to its parent shell. In addition, any arguments you type after the script name on the shell command line are p...
分类:其他好文   时间:2014-09-19 15:49:26    阅读次数:282
前端模块管理器简介
前端模块管理器简介作者: 阮一峰模块化结构已经成为网站开发的主流。制作网站的主要工作,不再是自己编写各种功能,而是如何将各种不同的模块组合在一起。浏览器本身并不提供模块管理的机制,为了调用各个模块,有时不得不在网页中,加入一大堆script标签。这样就使得网页体积臃肿,难以维护,还产生大量的HTTP...
分类:其他好文   时间:2014-09-19 13:46:25    阅读次数:214
Bash的几个知识点
1. 区别 builtin command, external command,bash script。用builtin command(hash、type、command),而不是which命令(external command)查看某个命令是安装了(跟PATH变量相关):hash foo >/d...
分类:其他好文   时间:2014-09-19 13:39:35    阅读次数:220
jquery easyui datebox 时间控件默认显示当前日期的实现方法
添加如下代码,其中startTime为<input >中id值 ?<script>//得到当前日期 formatterDate?=?function(date)?{ var?day?=?date.getDate()?>?9???date.getDate()?:?"0"?+?date.getDate(); var?month...
分类:Web程序   时间:2014-09-19 12:18:55    阅读次数:241
雅虎WEB前端网站优化 -- 34条军规
雅虎给出了优化网站加载速度的34条法则(包括Yslow规则22条) 详细说明,下载转发 ponytail 的译文(来自帕兰映像)。1.Minimize HTTP Requests减少HTTP请求图片、css、script、flash等等这些都会增加http请求数,减少这些元素的数量就能减少响应时间。...
分类:Web程序   时间:2014-09-19 11:46:45    阅读次数:229
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!