摘要:
[oldgirl@module ~]$ more /usr/bin/ssh-copy-id #!/bin/sh # Shell script to install your public key on a remote machine# Takes the remote machine name a 阅读全文
摘要:
这个比较繁琐,谁有更好方法?告诉我 [root@module tmp]# cat oldboy.txt 12s120001ms12000000us13s[root@module tmp]# grep '[0-9]\+s' oldboy.txt |sed 's#s#000000#g'>oldboy1. 阅读全文
摘要:
#include<stdio.h>int main(){ int a[10]; int n = 0, i; char ch=0; while (ch != '\n'){ scanf_s("%d",&a[n]); ch = getchar(); n++; } for (i = 0; i < n; i+ 阅读全文
摘要:
原文链接:http://hoolee.blog.51cto.com/7934938/1413346 讲的非常详细,尽管我只看动静分离,可是看了一下其他的部署,也是非常不错,适合新手 一、LNMMP LNMMP环境是Linux + Nginx + Memcached + MySQL + PhP,即LN 阅读全文
摘要:
MySql中添加用户,新建数据库,用户授权,删除用户,修改密码(注意每行后边都跟个;表示一个命令语句结束): 1.新建用户 1.1 登录MYSQL: @>mysql -u root -p @>密码 1.2 创建用户: mysql> insert into mysql.user(Host,User,P 阅读全文
摘要:
Expect安装 [root@web02 scripts]# yum install expect SSH密钥生成 [root@web02 scripts]# ssh-keygen -t dsa <==生成密钥 Generating public/private dsa key pair. Ente 阅读全文
摘要:
Eclipse windows-preferences-general-workspace选择为UTF-8 Mysql 创建时选择UTF-8 URL = "jdbc:mysql://127.0.0.1:3306/imooc?useUnicode=true&characterEncoding=utf8 阅读全文