11 2015 档案

摘要:#wget "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os" 建立起了index.html?release=6&arch=x86_64&repo=os库url1.为DVD建立挂载目录#mkdir /media/Centos 2 阅读全文
posted @ 2015-11-22 22:13 PKICA 阅读(586) 评论(0) 推荐(0) 编辑
摘要:http://mirrors.aliyun.com/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-bin-DVD1.iso http://cdn.mysql.com//Downloads/MySQL-5.5/MySQL-server-5.5.46-1.linux2 阅读全文
posted @ 2015-11-21 17:27 PKICA 阅读(21) 评论(0) 推荐(0) 编辑
摘要:本文多选自鸟哥的私房菜,非常感谢鸟哥^_ _^ 查看yum仓库中,软件包有哪些版本 --showduplicates可以用在list、search命令中 yum --showduplicates list openssl 查看已安装软件 yum list installed 下载"Downloado 阅读全文
posted @ 2015-11-21 16:53 PKICA 阅读(299) 评论(1) 推荐(0) 编辑
摘要:1:使用date命令查看时区[root@db-server ~]# date -RSun, 11 Jan 2015 07:10:28 -0800[root@db-server ~]# tzselect2:查看clock系统配置文件[root@db-server ~]# more /etc/sysco... 阅读全文
posted @ 2015-11-21 11:02 PKICA 阅读(451) 评论(0) 推荐(0) 编辑
摘要:1. update-rc.d 使用命令“ update-rc.d -f mysql remove “可移除mysql的自启动服务。 linux系统重启之后发现mysql服务没有随机启动。 使用”update-rc.d mysql defaults“可以将mysql添加到随机启动项里。 2. chkc 阅读全文
posted @ 2015-11-20 21:53 PKICA 阅读(205) 评论(0) 推荐(0) 编辑
摘要:http://my.oschina.net/u/219482/blog/341452 感谢作者ubuntu 14.04从Qt官网下载的最新版qt,安装过程很顺利,但却发现没办法输入中文(我用的是 fcitx), 即使下载了fcitx-frontend-qt5和fcitx-frontend-qt4也还... 阅读全文
posted @ 2015-11-08 21:14 PKICA 阅读(537) 评论(0) 推荐(0) 编辑
摘要:mysql> create database if not exists xdb default character set utf8;Query OK, 1 row affected (0.00 sec)1 先介绍一个ubuntu下mysql的可视化工具利用命令:sudo apt-get inst... 阅读全文
posted @ 2015-11-08 12:02 PKICA 阅读(265) 评论(0) 推荐(0) 编辑
摘要:日期查询:mysql> select * from member where birthday > '1962-01-01';mysql> select * from member order by lastname desc,birthday asc;+----+----------+------... 阅读全文
posted @ 2015-11-07 23:27 PKICA 阅读(297) 评论(0) 推荐(0) 编辑
摘要:1.mysql> select NOW();等效于select user()\g+---------------------+| NOW() |+---------------------+| 2015-11-07 10:29:04 |+---------------------+1 row in ... 阅读全文
posted @ 2015-11-07 11:40 PKICA 阅读(195) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>using namespace std;int main() { union endian { int data; char ch; }test; test.data=0x12345678; if(test.ch == 0x78) cout << "little 阅读全文
posted @ 2015-11-05 22:14 PKICA 阅读(482) 评论(0) 推荐(0) 编辑
摘要:一.通过系统仓库安装 $ sudo apt-get install mysql-server 1、使用SHOW语句找出在服务器上当前存在什么数据库:mysql> SHOW DATABASES; 2、创建一个数据库abccs mysql> CREATE DATABASE abccs; 3、选择你所创建 阅读全文
posted @ 2015-11-05 21:13 PKICA 阅读(551) 评论(0) 推荐(0) 编辑
摘要:code的时候eclipse背景色。。。。。。 RGB(红,绿,蓝):204,232,207 CSS,16进制:#CCE8CF opera浏览器设置护眼色: 获取扩展, 输入"ESI",编辑填写: 阅读全文
posted @ 2015-11-02 21:39 PKICA 阅读(339) 评论(0) 推荐(0) 编辑
摘要:『正规表示法与通配符是完全不一样的东西!』这很重要喔!因为『通配符 (wildcard) 代表癿是 bash 操作接口癿一个功能』,但正觃表示法则是一种字符串处理癿表示方式  . (小数点):代表『一定有一个任意字符』癿意思; * (星星号):代表『重复前一个 0 到无穷多次』癿意思,为组合形态 阅读全文
posted @ 2015-11-01 22:01 PKICA 阅读(299) 评论(0) 推荐(0) 编辑
摘要:[root@www ~]# cut -d'分隑字符' -f fields <==用亍有特定分隑字符[root@www ~]# cut -c 字符区间<==用亍排列整齐癿讯息选项不参数:-d :后面接分隑字符。与 -f 一起使用;-f :依据 -d 癿分隑字符将一段讯息分割成为数段,用 -f 叏出第几... 阅读全文
posted @ 2015-11-01 20:50 PKICA 阅读(251) 评论(0) 推荐(0) 编辑
摘要:Be careful!./andsourcearenot quite the same../scriptruns the script as an executable file, launching anew shellto run itsource scriptreads and execute... 阅读全文
posted @ 2015-11-01 19:05 PKICA 阅读(192) 评论(0) 推荐(0) 编辑
摘要:$ 本shell 的PID,这个变量只读 $echo $$ PPID存储子shell父进程的ID(也就是主shell)。UID存储了执行这个脚本的当前用户ID echo "PPID of this script: $PPID"echo "UID of this script: $UID" # ech 阅读全文
posted @ 2015-11-01 16:53 PKICA 阅读(161) 评论(0) 推荐(0) 编辑