系统:centos 6/7 问题: 为虚拟机添加新网卡后,/etc/sysconfig/network-scripts/下无配置文件ifcfg-eth1 #ip addr //显示存在eth1 解决: ...
分类:
系统相关 时间:
2016-05-13 09:03:32
阅读次数:
201
1、使用mysql通用二进制格式包进行安装,执行scripts/mysql_install_db--user=mysql--datadir=/data/mysql/出现如下报错scripts/mysql_install_db:line249:./bin/my_print_defaults:cannotexecutebinaryfileNeitherhost‘a.com‘nor‘localhost‘couldbelookedupwith./bin/resolvei..
分类:
数据库 时间:
2016-05-13 04:45:59
阅读次数:
2488
cd /etc/sysconfig/network-scripts/
[root@rgdefmdb1 network-scripts]# cat ifcfg-bond0
DEVICE=bond0
NM_CONTROLLED=no #yes的话是不需要network restart,直接生效。
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.225....
分类:
其他好文 时间:
2016-05-13 03:11:40
阅读次数:
939
1 开发环境
宿主机:Ubuntu14.04(32bit)
开发板:Mini2440
BusyBox:1.24.2
2 配置
到BusyBox官网下源码并解压,然后执行下面的命令进行默认配置:
make defconfig 输出结果如下:
scripts/kconfig/conf -d Config.in
*
* Busybox Configu...
分类:
系统相关 时间:
2016-05-13 01:21:29
阅读次数:
1594
很多人都会想在使用PowerDesigner设计完数据库时自动将name列值在输出时自动复制到comment列
运行脚本 Tools->Execute Commands->Edit/Run Scripts(快捷键:Ctrl+Shift+X)
1
2
3
4
5
6
7
8
9
10
11
12...
分类:
数据库 时间:
2016-05-12 23:22:48
阅读次数:
369
环境操作系统:CentOS 6.7 64-bit 图形界面配置vi /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0"
TYPE="Bridge"
ONBOOT="yes"
NM_CONTROLLED="no"
BOOTPROTO="static"
IPADDR="192.168.1.2" # 请根据自己的实际情况修改此项。
NETMASK="...
分类:
其他好文 时间:
2016-05-12 14:04:57
阅读次数:
390
1 vim的project插件简介
project 插件的作用就是帮助用户以项目的形式管理源码。
2 下载project插件
a)官网:http://www.vim.org/scripts/script.php?script_id=69。
b)本次安装csdn下载:。
3 安装
解压:
# mkdir -p /usr/local/src/vim/pl...
分类:
系统相关 时间:
2016-05-12 13:00:48
阅读次数:
207
在/server/scripts/目录中创建备份脚本mysql_backup.sh#!/bin/bash
#---------------------------
#Filename:mysql_backup.sh
#Revision:1.4
#Date:2016/05/09
#Author:ywliyq
#Email:ywliyq@163.com
#Website:http://ywliyq.blog.51cto.com/
#Description:mysqlbackupeveryday..
分类:
数据库 时间:
2016-05-09 11:12:23
阅读次数:
242
1. Groovy : Groovy Console The Groovy Swing Console allows a user to enter and run Groovy scripts. This page documents the features of this user inter ...
在编写shell scripts时,经常会用到括号,各种括号,各种用法。 一、括号、圆括号() 1、单小括号。 ①命令组。括号中的命令将会新开一个子shell顺序执行,所以括号中的变量不能够被脚本余下的部分使用。括号中多个命令之间用分号隔开,最后一个命令可以没有分号,各命令和括号之间不必有空格。 ② ...
分类:
系统相关 时间:
2016-05-08 11:48:09
阅读次数:
259