TCP/IP协议栈

TCP/IP协议栈是一组由不同协议构成的协议组合。其模型实现了OSI网络模型的功能。TCP/IP网络协议栈分为应用层(Application)、传输层(Transport)、网络层(Network)和链路层(Link)四层

TCP/IP字面上代表了两个协议:TCP传输控制协议和IP互联网协议。
ISO的OSI网络模型
面向数据传输-->物理层、数据链路层、网络层、传输层
面向用户应用-->会话层、表示层、应用层
 
 
应用层协议
 
smtp/简单邮件传输协议
http
pop3
soap
ftp
dhcp
 [......]

Read more

Posted in server | Tagged , , , | Leave a comment

html5+css3+js库收集

1、impress.js

impress.js is a presentation tool based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com.

2、http://www.blueprintcss.org/

3、

http://documentcloud.github.com/backbone/
http://documentcloud.github.com/underscore/#find
http[......]

Read more

Posted in javascript, soft | Tagged , , , , | Leave a comment

ubuntu安装mysqlserver

sudo apt-get install mysql-server
 

配置

sudo gedit /etc/mysql/my.cnf

[mysqld]增加

default-character-set=utf8
collation_server = utf8_general_ci
character_set_server = utf8

重启mysql

sudo /etc/init.d/mysql restart;
mysql --default-character-set=utf8 -u root -p
SHOW VARIABLES LIKE '[......]

Read more

Posted in server | Tagged | Leave a comment

ubuntu下使用wine登录qq

ubuntu11.10

1、
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine 1.3
2、wine中文乱码

http://blog.csdn.net/happyycm/article/details/5927320

http://www.linuxde.net/2011/10/1503.html

3、从腾讯官网下载qq
执行 wine QQIntl1.2.exe

4、
wget http://www.kegel.com/wine/[......]

Read more

Posted in soft | Tagged , , , | Leave a comment

ubuntu11.10桌面新机安装软件列表

1、
sudo apt-get install gnome-shell;
sudo apt-get install network-manager-vpnc;
sudo apt-get install putty;
sudo apt-get install aria2;
sudo apt-get install remmina;
sudo apt-get install smbfs;
sudo apt-get install nfs-common;
sudo apt-get install rar;
sudo apt-get install p7zip;
sudo apt-[......]

Read more

Posted in server, soft | Tagged , , | Leave a comment

ubuntu挂载网络共享文件夹

1、ubuntu挂载ubuntu网络共享文件夹
假设ubuntu机器A访问ubuntu机器B(192.168.1.1)
1)机器A安装
安装共享服务器
sudo apt-get install nfs-kernel-server;

配置
sudo gedit /etc/exports
增加一行记录
/home/share    *(rw,sync,no_subtree_check)

重启服务
sudo /etc/init.d/nfs-kernel-server restart

2)机器B安装
安装共享客户端
sudo apt-get install[......]

Read more

Posted in server | Tagged , | Leave a comment

ubuntu下chroot的ssh帐户登录

参考http://blog.tianya.cn/blogger/post_show.asp?BlogID=19235&PostID=17196941这个文章
sudo apt-get install libpam-chroot;
发现后边的步骤很繁琐,就放弃了安装,结果导致重新使用root ssh登录也不能正常登录了
直接返回Connection closed by ....
后来把文章中的步骤全部回滚也不灵,最后发现是/etc/ssh/sshd_config文件中的UsePAM yes导致
把配置改成UsePAM no 重启ssh就可以正常登录了

下边是重新又找到其他办法[......]

Read more

Posted in server | Leave a comment

ubuntu安装redmine

redmine是一个bug跟踪系统
1、sudo apt-get install ruby1.8 ruby1.8-dev
安装完查看版本
sudo ruby -version
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]

2、sudo apt-get install libmysqlclient-dev

3、sudo apt-get install libopenssl-ruby1.8

4、手工下载RubyGems安装特定版本
如果已经安装了,需要先卸载
sudo apt-get autoremove ru[......]

Read more

Posted in server, soft | Tagged , , , | Leave a comment

ubuntu使用SQuirreL SQL客户端乱码

1、ubuntu的本地local语言是英文

2、设置SQuirreL界面中文

File--->Global Preferences--->General--->Locale设置为

zh_CN

并确保squirrel-sql/lib中存在squirrel-sql_zh_CN.jar

3、连接mysql查询结果部分乱码

确保设置链接的JDBC driver中用UTF-8

jdbc:mysql://127.0.0.1:3307/demo?useUnicode=true&characterEncoding=UTF-8&[......]

Read more

Posted in javaee, soft | Tagged , , | Leave a comment

ubuntu安装vsftpd服务器

1、安装软件

sudo apt-get install vsftp;
sudo apt-get install mysql-server
sudo apt-get install mysql-client;
sudo apt-get install libpam-mysql;
2、创建系统用户
sudo useradd -d /home/vsftpd -s /bin/false vsftpd;
sudo passwd vsftpd;

sudo mkdir /home/vsftpd;
sudo chown vsftpd:vsftpd /home/vsftpd;
sud[......]

Read more

Posted in server, soft | Tagged , , , | Leave a comment
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 Next