首页 » Archive by category 'Linux'

通过在恢复模式下建立虚拟KVM以在SoYouStart机器上安装软RAID0系统

vForce | Linux | 2020-02-18
1、进入Rescue Mode 2、下载Ubuntu网络安装ISO:wget -P /tmp http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot/mini.iso 3、下载虚拟KVM包:wget -qO- /tmp http://cdn.trick77.com/vkvm-latest.tar.gz | tar xvz -C /tmp 4、挂载本地sda、sdb、sdc三个硬盘、启动虚机... [阅读全文]

通过iptables转发提速TunnelBroker IPv6访问速率

vForce | Linux | 2019-01-10
众所周知,TunnelBroker目前提供基于6in4隧道的IPv6接入服务。然而由于种种原因,从国内到达HE TunnelBroker服务器的线路延迟很高、带宽也不稳定。为了解决这个问题,可以使用向两端都链路良好的第三方中转服务器来起到加速的效果。 使用的方案即NAT方案,使网络从local -> tunnelbroker转变为了local -> proxy server -> tunnelbroker。... [阅读全文]

Linux系统dd安装Windows

vForce | Linux | 2017-11-13
ref:http://blog.iplayloli.com/linux-dd-windows.html 在KVM虚拟机里,可以通过Linux系统自带的dd指令直接将Windows镜像写入到磁盘里,达到突破商家限制不能安装Windows的效果。以下是目前可用的镜像及对应dd指令和用户名密码。 # Windows Server 2008 R2 wget -O- http://down.80host.com/iso/dd/WS2008R2Enterprise-Joodle-Template.gz |gunzi... [阅读全文]
ė 6没有评论 0

解决fdisk与df命令显示的磁盘空间不一样

vForce | Linux | 2017-08-07
之前通过df -h检查一台云服务器的时候发现,磁盘只有10G: Filesystem Size Used Avail Use% Mounted on /dev/vda2 9.3G 6.1G 2.8G 69% / tmpfs 499M 0 499M 0% /dev/shm /dev/vda1 477M 184M 268M 41% /boot 但是实际上我分配了50G,并且从fdisk里也能看到是50G Disk /dev/vda: 53.7 GB, 53687091200 bytes 16 heads, 63 sectors/trac... [阅读全文]
ė 61条评论 0

解决SSH的证书登录不识别证书问题

vForce | Linux | 2017-04-05
相信很多朋友都碰到过配置好~/.ssh/authorized_keys后,使用私钥登录死活不认,说没在远端注册的问题。 今天最后发现是SELinux引起的问题,具体问题没有深究,使用以下命令可以解决此问题 restorecon -R -v ~/.ssh/ 执行完毕后立即生效 [阅读全文]
ė 6没有评论 0

Ubuntu 16.04+CUDA8+CUDNN+Anaconda3+Tensorflow+Keras+Theano的安装

vForce | Linux | 2017-04-05
1、下载Ubuntu 16.04的ISO,用UltraISO等工具写入到U盘里 2、插入U盘并从U盘启动 3、在选择界面,选中Install Ubuntu,按e进入编辑界面,将其中的“—”修改为“nomodeset”后按F10启动进入安装界面(不改会卡死黑屏)。安装完后执行以下命令开启SSH服务及其他常用组件 apt -y install vim openssh-server echo " # 默认注释了源码镜像以提高... [阅读全文]
ė 6没有评论 0

Linux下测试磁盘性能(IO、吞吐量)

vForce | Linux | 2017-04-04
使用软件:fio,可以从yum或apt-get安装 1、随机读 fio -filename=testFile -direct=1 -iodepth 1 -thread -rw=randread -ioengine=psync -bs=16k -size=5G -numjobs=30 -runtime=1000 -group_reporting -name=mytest 2、顺序写 fio -filename=testFile -direct=1 -iodepth 1 -thread -rw=write -ioengine=psync -bs=16k -size=5G -numjobs=30 -runtime... [阅读全文]
ė 6没有评论 0

CentOS一键升级git至2.5

vForce | Linux | 2017-03-17
wget -qO- https://raw.githubusercontent.com/vForce825/serverUtils/master/git.sh | bash [阅读全文]
ė 6没有评论 0

CentOS一键升级安装Python2.7

vForce | Linux | 2017-02-21
一键命令: wget -O- https://raw.githubusercontent.com/vForce825/serverUtils/master/python2.7.sh | bash 此脚本会修改/usr/bin/python的链接,升级后yum良好 [阅读全文]
ė 61条评论 0

CentOS6下安装使用VNCServer

vForce | Linux | 2017-02-20
yum -y groupinstall "General Purpose Desktop" "X Window System" "Desktop" yum -y groupinstall "chinese support" yum -y install tigervnc tigervnc-server 然后在/etc/sysconfig/vncserver下写入: VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 1920x10... [阅读全文]
ė 6没有评论 0
Ɣ回顶部