上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
摘要: 1.null mysql> create table worker(id int not null,name varchar(8) not null,pass varchar(20) not null); mysql> insert into worker values(1,'HA','123456 阅读全文
posted @ 2016-10-19 17:28 于光远 阅读(3626) 评论(0) 推荐(0)
摘要: mysql> show databases; mysql> show databases \G #以行的方式显示 -e 常用与shell脚本。 [root@server01 ~]# mysql -e 'show databases' -usystem -p123456 mysql> create d 阅读全文
posted @ 2016-10-19 17:28 于光远 阅读(225) 评论(0) 推荐(0)
摘要: 使用xftp传到虚拟机。解压[root@ygy130 ~]# unzip -o -d ./Ucenter_1.6 UCenter_1.6.0_SC_UTF8.zip [root@ygy130 ~]# cd Ucenter_1.6/[root@ygy130 Ucenter_1.6]# cp uploa 阅读全文
posted @ 2016-10-18 00:21 于光远 阅读(703) 评论(0) 推荐(0)
摘要: [root@yu ~]# yum install httpd php php-mysql mysql-server mysql -y 安装php [root@yu ~]# service httpd start [root@yu ~]# chkconfig httpd on [root@yu ~]# 阅读全文
posted @ 2016-10-17 17:52 于光远 阅读(462) 评论(0) 推荐(0)
摘要: [root@yu ~]# tar -xf mysql-5.5.32.tar.gz 添加用户 [root@yu mysql-5.5.32]# useradd -u 8001 -s /sbin/nologin mysql [root@yu mysql-5.5.32]# mkdir /data 安装依赖包 阅读全文
posted @ 2016-10-17 17:40 于光远 阅读(231) 评论(2) 推荐(0)
摘要: http://shushanyegui.duapp.com/?p=731 在描述内存映射文件之前 我们先来写一个系统通过I/O来读写磁盘文件的小程序 #include "stdafx.h" #include <stdlib.h> #include <windows.h> char* Read(LPC 阅读全文
posted @ 2016-10-13 15:01 于光远 阅读(1264) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/ahjxly/article/details/8494217 http://blog.csdn.net/b_h_l/article/details/7581519 http://blog.chinaunix.net/uid-339069-id-3402668 阅读全文
posted @ 2016-10-13 11:51 于光远 阅读(12934) 评论(0) 推荐(0)
摘要: 题目描述 在一个排序的链表中,存在重复的结点,请删除该链表中重复的结点,重复的结点不保留,返回链表头指针。 例如,链表1->2->3->3->4->4->5 处理后为 1->2->5 /* struct ListNode { int val; struct ListNode *next; ListN 阅读全文
posted @ 2016-10-13 09:58 于光远 阅读(228) 评论(0) 推荐(0)
摘要: prerouting用来修改目的地址,用来做DNAT 。如:把内网中的80端口映射到路由器外网端口上 postrouting用来修改源地址用来做SNAT。 如:内网通过路由器NAT转换功能实现内网PC机通过 Iptables过滤封包流程 总结: 整体数据包分两类: 1、发给防火墙本身的数据包 ;2、 阅读全文
posted @ 2016-10-11 23:34 于光远 阅读(126) 评论(0) 推荐(0)
摘要: 输入两个链表,找出它们的第一个公共结点。 一定是Y型的结构 从末尾开始遍历,如果有不同的,那么前一个节点就是第一个公共节点。 思路,把节点放到栈结构里面,然后进行比较节点。 #include <iostream> #include <string> #include<vector> #include 阅读全文
posted @ 2016-10-10 14:38 于光远 阅读(183) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页