online和OVH服务器上手的常用操作

作者: 流星过雁 分类: 知识宝藏 发布时间: 2015-10-19 12:09 ė 6没有评论

一、装win

wget -O- windows.gz ‘http://mirror.joodle.nl/KS2008R2-Joodle-Template.gz’ | gunzip | dd of=/dev/sda
wget -O- windows.gz ‘http://mirror.joodle.nl/KS2012R2-Joodle-Template.gz’ | gunzip | dd of=/dev/sda

administrator Password147

附赠微软2008R2语言包

http://download.microsoft.com/download/9/D/6/9D63BD1F-B7A1-4D3D-9767-671A02956EDF/7601.17514.101119-1850_x64fre_server_langpacks_1-GRMSXLP1_DVD.iso

二、装锐速

win的
http://my.serverspeeder.com/
http://my.serverspeeder.com/d/lw/serverSpeeder_1.8.4.0.exe

linux的

wget http://my.serverspeeder.com/d/ls/serverSpeederInstaller.tar.gz
tar xzvf serverSpeederInstaller.tar.gz
bash serverSpeederInstaller.sh

三、端口转发


iptables -t nat -A POSTROUTING -j MASQUERADE
iptables -t nat -A PREROUTING -d 本机IP -p tcp --dport 3389 -j DNAT --to-destination 目的端口IP:3389
service iptables save
service iptables restart

四、配置IPv6

kimsufi其实是个/64,标明的/128只有一个IP,可以无视

online不要看官方教程浪费时间,直接用一键包

2欧debian7x64和centos7x64亲测通过

Script Usage:

This script is designed to be run on an Online.net Dedicated Server, it has been tested on:

  • Debian 7
  • Ubuntu 14.04
  • CentOS 7
  • Proxmox VE w/ OVZ (see Issue #1)
wget www.sonicboxes.com/scripts/ipv6_dhclient_online_net.sh
chmod 755 ipv6_dhclient_online_net.sh
bash ipv6_dhclient_online_net.sh <interface> <address block> <subnet> <duid>

举例说明:

All of the required information can be found on your Online.net Network configuration page (console.online.net >> Server >> Network configuration). It should look like this:

Online.net IPv6 Example Settings

真枪演练:

bash ipv6-dhclient-script.sh eth0 2001:0bc7:5555:101:: 64 00:04:01:07:c7:b8:2f:13:d5:a8

输入Y后,继续,成功!

ping6 ipv6.google.com

测试通过

Source: GitHub LowEndTalk Thread

本文出自 海外去!,转载时请注明出处及相应链接。

本文永久链接: http://hw7.net/?p=202

0

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*

Ɣ回顶部