. 准备工作
(1)安装svn、ssh
sudo apt-get install ssh subversion
(2)安装texinfo(为了编译man包)
sudo apt-get install texinfo
(3)安装编译所需的支持包,依环境而定
sudo apt-get build-dep emacs21 libgtk2.0-dev xserver-xorg-...
分类:
其他好文 时间:
2014-06-24 21:56:52
阅读次数:
353
1、首先在本机安装openssh-server和openssh-client.
命令:sudo apt-get install openssh-server openssh-client
2、在检查当前的目录下有没有.ssh这个文件,没有的话就mkdir下。
3、生成公钥与私钥。命令:ssh-keygen -t rsa
4、将.ssh文件中的id_isa_pub复制到其他机器的author...
分类:
其他好文 时间:
2014-06-24 21:27:27
阅读次数:
210
我们来看Interfaces ofport: OpenFlow port number for this interface. type: system: An ordinary network device, e.g. eth0 on Linux. internal: A simulated ne...
分类:
其他好文 时间:
2014-06-24 12:23:51
阅读次数:
316
一个菜鸟朋友,突然问了我这个问题...现在稍稍有点时间,就写了一个简单的例子给他,顺便贴上来
服务器端:
<?php
/**
* @author 邹颢 zouhao619@gmail.com
*/
class SocketServer{
private $_port='9000';
private $_address='127.0.0.1';
private $_client_soc...
分类:
Web程序 时间:
2014-06-22 19:54:29
阅读次数:
297
下载安装
下载地址
修改默认端口:
home\conf\nexus.properties
# Sonatype Nexus
# ==============
# This is the most basic configuration of Nexus.
# Jetty section
application-port=9080
applica...
分类:
其他好文 时间:
2014-06-22 19:28:44
阅读次数:
275
en
conf t
vlan id
end
conf t
inter rang gi 0/0/1-x
switchport access vlan id
no shutdown
exit
(config)#interface range gigabitEthernet 1/0/23-24
(config-if-range)#switchport mode trunk
(con...
分类:
其他好文 时间:
2014-06-22 14:12:59
阅读次数:
421
随时修改: 1 [mysqld] 2 #basedir= 3 datadir=/var/lib/mysql 4 #mysql.default_port=3306 5 #mysql.default_socket=/tmp/mysql.sock 6 socket=/var/lib/mysql/mysql...
分类:
数据库 时间:
2014-06-22 10:53:32
阅读次数:
277
LINUX平时工作中用到的常用命令:scp是有Security的文件copy,基于ssh登录。操作起来比较方便,比如要把当前一个文件copy到远程另外一台主机上,可以如下命令。scp/home/1.gifroot@172.19.2.75:/home/root然后会提示你输入另外那台172.19.2.75主机的root用户的登录密码,接着就..
分类:
系统相关 时间:
2014-06-22 10:23:46
阅读次数:
211
需求:
使用可以上网的外网pc(win7操作系统),远程访问公网tp-link下的的mac电脑
环境:
mac os -----tp-link-----------pc
工具:
putty TightVNC 或者 TeamViewer
方法一
方法一:
使用TeamViewer 9,傻瓜式的访问,需要注意的是版本需要尽量保持最新的,否则会导致连接不上。这也是比较简单的...
分类:
其他好文 时间:
2014-06-22 08:41:20
阅读次数:
353
#在下载好的django路径下执行django的安装#https://pypi.python.org/pypi/Django/1.6.4python3setup.pyinstall##新建django项目django-admin.pystartprojectmysite##运行django项目python3manage.pyrunserver[port]##创建一个apppython3manage.pystartappappname##模型定义特殊..
分类:
其他好文 时间:
2014-06-21 19:05:23
阅读次数:
348