- 博客(19)
- 收藏
- 关注
转载 scp传输大文件stalled问题
scp stalled through firewall, ssh no problemsomeone says:I have seen similar effects by several reasons:- disallow icmp and mtu mismatch between networks (e.g.differentnetworks...
2017-04-10 16:45:00
2953
转载 Linux进程KILL不掉的原因
做过Linux开发的人通常遇到过一个进程不能kill掉的情况,即使使用的是kill -9方式,而一般的教课书都只说kill -9能杀死任何进程,遇到这种情况时就会感觉到很矛盾,其它这也是正常的,通常有两种情况是不能kill掉的:一是进程已经成为僵死进程,当它的父进程将它回收或将它的父进程kill掉即可在ps输出看不到了;二是进程正处在内核状态中,Linux进程运行时分内核和用户两...
2017-04-10 16:44:00
1611
转载 如何强制umount
1、查看挂载时[root@server1 ~]# mount/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)proc on /proc type proc (rw)sysfs on /sys type sysfs (rw)devpts on /dev/pts type devpts (rw,gid=5,mode...
2017-04-10 16:42:00
424
转载 sed 操作
[root@localhost sysbench]# sysbench --help | sed -n '/mysql options:/,/^$/p'mysql options: --mysql-host=[LIST,...] MySQL server host [localhost] --mysql-port=[LIST,...] ...
2017-04-07 22:07:00
140
转载 增加新硬盘
原来硬盘是80G,现在新增加80G步骤:1.查看当前硬盘分区情况:linux-7q8i:~/Desktop # fdisk -lDisk /dev/sda: 80.0 GB, 80026361856 bytes255 heads, 63 sectors/track, 9729 cylindersUnits = cylinders of 16065 * 512 = ...
2017-03-27 20:38:00
202
转载 Mysql常用命令
alter user 'root'@'localhost' identified by 'root';mysql> flush privileges;show variables like 'version%'; #使用grant方式创建一个新帐户fred,并设定密码grant usage on *.* to 'fred'@'localhost' identifi...
2017-03-27 20:37:00
92
转载 python:strip()函数和split()函数
strip()默认删除空白字符(\n,\r,\t,' ')split()函数有split()和os.path.split()两种形式,默认分隔符为空格,但是不能为空("")转载于:https://www.cnblogs.com/RaymondBlog/p/6615963.html...
2017-03-25 09:23:00
126
转载 Linux中Oracle 11g Proc*C开发环境搭建
使proc预编译命令可用:[karihou@bogon ~]$ cat ~/.bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and ...
2017-03-13 17:23:00
279
转载 遍历List
遍历方法一:ll = [1, 2, 3, 4]for i in ll: print i转载于:https://www.cnblogs.com/RaymondBlog/p/6543706.html
2017-03-13 16:52:00
88
转载 make: pg_config: Command not found
报错:[root@localhost c]# makemake: pg_config: Command not foundmake: *** No targets. Stop.[root@localhost c]# 解决[root@localhost c]# yum install postgresql-develLoaded plugins: ...
2017-03-09 21:08:00
3418
转载 在Linux环境下安装postgresql
进入到安装目录[root@localhost postgresql-9.4.0]# pwd/root/postgresql-9.4.0[root@localhost postgresql-9.4.0]# ls -ltrtotal 620-rw-r--r--. 1 1107 1107 1209 Dec 15 2014 README-rw-r--r--. ...
2017-03-09 20:59:00
187
转载 ImportError: No module named _sqlite3
报错如下:>>> import rpy2.robjectsTraceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/python27/lib/python2.7/site-packages/rpy2-2.8...
2017-03-09 18:56:00
260
转载 No local packages or download links found for six
报如下错:Searching for sixReading http://pypi.python.org/simple/six/Download error: unknown url type: https -- Some packages may not be found!Couldn't find index page for 'six' (maybe missp...
2017-03-09 16:33:00
1227
转载 Couldn't find index page for 'singledispatch' (maybe misspelled?)
报如下错:Installed /usr/local/python27/lib/python2.7/site-packages/rpy2-2.8.5-py2.7-linux-x86_64.eggProcessing dependencies for rpy2==2.8.5Searching for singledispatchReading http://pypi.py...
2017-03-09 16:30:00
3973
转载 error: readline/readline.h: No such file or directory
报如下错:[root@localhost rpy2-2.8.5]# python setup.py installR version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"/usr/lib64/R/bin/R CMD config --ldflags/usr/lib64/R/bin/R CMD config --cp...
2017-03-09 16:25:00
454
转载 ImportError: No module named setuptools
报错:[root@localhost rpy2-2.8.5]# python setup.py installTraceback (most recent call last): File "setup.py", line 7, in <module> from setuptools import setup, ExtensionImportE...
2017-03-09 10:05:00
133
转载 ImportError: No module named argparse
安装rpy2时报如下错:[root@localhost ~]# pip install rpy2You are using pip version 7.1.0, however version 9.0.1 is available.You should consider upgrading via the 'pip install --upgrade pip' comma...
2017-03-08 23:56:00
681
转载 为python安装pip
配置好yum源之后,执行yum install python-pip即可[root@localhost yum.repos.d]# yum install python-pipLoaded plugins: product-id, refresh-packagekit, security, subscription-managerUpdating certificate...
2017-03-08 16:09:00
118
转载 yum源安装配置
Fedora 是一个 Linux 发行版,Fedora基于Red Hat Linux,在Red Hat Linux终止发行后,红帽公司计划以Fedora来取代Red Hat Linux在个人领域的应用;而另外发行的Red Hat Enterprise Linux(Red Hat企业版Linux,RHEL)则取代Red Hat Linux在商业应用的领域。Fedora 被红帽公司定位为新技...
2017-03-08 15:41:00
130
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人