Quantcast
Channel: Tutorials — LowEndTalk
Viewing all 1028 articles
Browse latest View live

Windows on OVH VPS SSD

$
0
0

The title of this thread isn't a joke, after many months I have been able to get Windows Server 2012 R2 successfully running on OVH's VPS SSD 1. https://www.ovh.com/us/vps/vps-ssd.xml Since I am unaware of any previous events of this happening I decided to share my findings with anyone who would be interested.

This is NOT violating the Terms of Service or Rules of OVH or these forums.

These steps will also work on any other VPS in the SSD, RAM or Cloud ranges. I am using the VPS SSD 1 as it's the cheapest at $3 and has 2 gigs of ram, 10gb ssd and 100mbps down and up.

The technology OVH uses, all of their VPS ranges use the same or similar spec'd servers. CPU: E5-2687Wv3 Disks: PCIe NVMe SSDs Network: 100mbps down and up with DDoS Mitigation included for free Hypervisor: OpenStack Nova

How I was able to do it: I bought 2 VPSs. I bought a VPS Cloud 1 with the Windows Server option, and a CentOS 6 VPS SSD 1. I shrinked the partition down to 8.5GB in Windows, I then booted both into the recovery mode on both VPSs and used GParted to shrink the size of the Windows Server's VPS vdb2 down to 9 gigs so it would fit on the VPS SSD 1, and used SSHFS on a third VPS and dd to clone the MBR, vdb1 (Windows system) and vdb2 (Windows OS) files over to the SSD 1 VPS and rebooted and there you go.

Here is how you can do it for yourself, I am going to make it easy, and not charge for it, mainly because I would be violating a bunch of rules and terms of service agreements if I did that. For those of you new to OVH they have NEVER had a custom ISO option (unless you pay for IPKVM on their dedicated servers), so that is why this process is a bit more involved than usual, but shouldn't be hard at all as long as you follow the instructions.

Before we begin: Disclaimer about the distribution of Microsoft products.

I have provided a 100% product-key, activation free windows server 2012 R2 DD image of this VPS below, this image has no product keys inputted and is UNACTIVATED and 100% legal to distribute. Windows Server 2012 R2 will run for 30 days before complaining, however if you are a student in high school or College/University or post-secondary education you can get a free 1 year windows server 2012 R2 license through Microsoft DreamSpark which is available in many different countries.

I do plan to offer more versions such as Windows 7, Windows 8, Windows 10, Server 2016, Server 2003 R2, etc but for now this is all that we have and should be good enough as it's pretty much the standard for Windows Server deployments at the time of writing this.

Step 1. Head over to https://www.ovh.com/us/vps/vps-ssd.xml (if you are in a different country change that in the top right hand corner by clicking on the US flag.)

Step 2. Purchase the VPS SSD 1 for $3.49/month, click on order, on the next page pick your location, and then choose CentOS as your distribution and CentOS 6 64bit as your version. Then click on continue and complete the transaction and pay for it.

Step 3. Once the VPS has been activated, installed and set up by OVH and is visible in your manager, go ahead and click on "Rescue mode" and wait for the VPS to reboot into rescue mode. You will need patience, it'll take about 5 minutes to reboot into rescue mode and send you an email with the SSH login details.

Step 4. Install an SSH client like mRemoteNG if you are using windows or if you are on mac/linux open up a terminal and ssh root@(vps ip), this is assuming you've used SSH before.

Step 5. Once you are in the recovery-pro environment do the following commands in this order.

apt-get update

and press Y on any prompts you get, it is okay if you don't get a prompt or get an error, continue to the next step..

apt-get upgrade

and press Y on any prompts that you get, it is okay if you don't get a prompt or get an error, continue to the next step..

once that has finished, now do

apt-get install sshfs tmux

lsblk

and you should see the following

vda 254:0 0 10G 0 disk

└─vda1 254:1 0 10G 0 part /

vdb 254:16 0 10G 0 disk

├─vdb1 254:17 0 10G 0 part /mnt/vdb1

vda and vda1 that are 10 gigs in size is the temporary filesystem mounted for the use of the recovery mode, we aren't going to touch these, this has nothing to do with the VPS or it's filesystem. (This will vary depending on the VPS you're doing this on.)

vdb and vdb1 are the VPS's 10GB (or larger depending on your selected VPS) SSD, these are where we will be installing our image of Windows.

Basically what you want to do at this point is restore the dd file containing the windows image onto the VPS. To do this we'll do the following, first run these commands to make sure we have full access to everything on the disk.

umount /mnt/vdb1

rm -rf /mnt/vdb1

tmux

now we can restore the image. Keep in mind this will take well over an hour, so leave this running and go to something else until it finishes. The command to start this is

wget -O- 'http://192.99.235.192/FinalOVHServer2012R2VPSimage.img.gz' | gunzip -c | dd of=/dev/vdb

It will take around an hour or 2 for this to complete, so just relax and go and do something else whilst that happens, don't press or touch anything, you'll know when it's done when you see

root@rescue-pro:~#

and you are able to type stuff again, if you think it's frozen give it at least 2 hours, if it still hasn't completed by then reconnect and type "tmux attach-session" and you'll most likely find it's completed.

Once it's done go back to your OVH manager and press the "Reboot my VPS" button, the VPS will take a bit to reboot, and once it's done click on the KVM button and then "Open in a new window".

You should see before you the Windows Server 2012 login screen. Press the control alt delete button and type in TempPass123#* as the password, then you will be prompted to enter a new Administrator password for obvious security reasons, so enter yours and then press enter and if everything went well you should be booted to the desktop, and we are done!. Additional IPs, an additional disk, etc will all work, you can set those up by following OVH's own documentation under the Windows section.

Remote desktop connection is enabled by default and your VPS will obtain it's dedicated IP via DHCP as that is how OVH has their system set up.

I plan on making different images for different Windows installs, but for now this should be good enough.

Now what about other operating systems like FreeBSD, Solaris, etc? Well Solaris is out of the question as it has no VirtIO support which OVH's hypervisor requires, and I haven't tried FreeBSD using this method but I don't see why it wouldn't work.

Credits: https://wiki.archlinux.org/index.php/disk_cloning#Using_dd https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh https://kb.iu.edu/d/abbe https://www.vultr.com/docs/correcting-time-on-windows-server


Scrambled OpenVPN Auto Installer Script

$
0
0

This script is used to setup a scrambled(OpenVPN+Xor patch) VPN on any centos box with user interaction.Standard OpenVPN setup won't work in countries like China and Pakistan due to intensive censorship.

Source : http://lowendtalk.com/discussion/21539/tutorial-build-your-ultimate-scrambled-vpn

I wish to thank @halczy for posting the tutorial to setup the vpn and i used his tutorial as a source to create the bash script that i am going to share with you today.

Download link

https://drive.google.com/file/d/0B_s7n4-sdChARnpNeTJTTkVmQmM/edit?usp=sharing

Run the script on a fresh Centos 6 minimal Install

Requires root access

Setup Time : 2-5 mins

Tested with : Centos 6.x (Both 32 bit and 64 bit)

Script is fully opensource

How to install

Upload setup_vpn.sh to root directory.

Login to your server via ssh as root and type the following command

bash setup_vpn.sh

Wait for setup to complete

Once setup has completed login to SFTP via FileZilla to /root/client-files/

Download scrambled-client.ovpn on your computer and place the scrambled-client.ovpn in the config folder of your OpenVPN installation

Do NOT forget to patch the OpenVPN installation on your computer to be able to connect to your VPN. See the following post for more details: http://scramblevpn.wordpress.com/2013/09/28/build-patched-windows-openvpn-client/

After you patch your openvpn installation you should be able to connect

Njoy your VPN

Censorship bypass methods for OpenVPN

$
0
0
  1. OpenVPN with TCP 443 port.

  2. OpenVPN over SSH tunneling.

  3. OpenVPN over Shadowsocks.

  4. OpenVPN over HTTP Proxy.

  5. OpenVPN over SOCKS Proxy.

  6. OpenVPN over TOR network.

  7. OpenVPN over V2Ray.

  8. OpenVPN over Stunnel.

These are the methods I know. What are the methods you know?

SSH Command to test server speed

$
0
0

You are able to use this tool to view system information and test the network, disk of your Linux server by using the command as follows

wget -qO- bench.sh | bash

or

curl -Lso- bench.sh | bash

Nginx TLS configuration for maximum security

$
0
0

Almost every site that matters is now secured with TLS/SSL, but most of these site use weak ciphers. As i was configuring my own cloud storage site (well the backend is based on seafile) i decided to research TLS, Nginx and how they should be configured. I decided to target maximum security since i would upload important personal files. So heres my configuration

First reqruiments: Nginx built with Openssl 1.1.0g or Libressl 2.6.4 Use build script: Libressl or Openssl

For nginx conf use this (place your site specific conf to /etc/nginx/conf)

in your site specific .conf file add (copy paste) the following

(sources: https://raymii.org, https://scotthelme.co.uk

Woothosting does not reply ticket

$
0
0

Hi:

I bought a VPS from woothosting.com

But it's offline,can not boot.

About a week ago I open a ticket, until now they had no reply for my ticket.

Have everybody ever met this situation?

What should I do now?

Redirection

$
0
0

Redirect all pages of a domain to another domain

sample1.com and all its sub-pages to

sample2.com

======

RewriteEngine On RewriteRule ^(.*)$ http://www.sample2.com/ [R=301] ~     

======

Z-push for MX Route

$
0
0

@jarland please remove if not appropriate!

So I have a service with MXRoute, unfortunately due to it being quite unreliable MXRoute doesn't currently offer Active Sync. I decided to see if it was possible to setup Z-push on a standalone VPS to connect to the MXRoute servers... Turns out it is! :)

I have put together a small document to explain how I did it. Note Z-push is not the most reliable and there are a couple of annoying issues that I haven't managed to fix yet.

Using Z-PUSH (2.3.5) to connect to MX Route

Known Issues:

Z-push syncs the shared address book, I haven’t worked out how to stop this, it’s a minor issue, but you do need to be aware of it.

Z-push fails to get the name of the calendar, so on an activesync device the calendar name shows up as unknown, but it works.

Z-push pulls the tasks through as a calendar, I have turned off syncing tasks.

Z-push itself isn’t the most reliable platform. This isn’t an issue per se, but it is something you need to be aware of.

Pre-Reqs

A VPS or server, I am running Ubuntu 16.04 LTS A MXRoute account Apache installed with an SSL cert (I’m using letencrypt) PHP7 with php-cli and php-soap Instructions

Add the z-push repo by creating /etc/apt/sources.list.d/z-push.list with the content

deb http://repo.z-hub.io/z-push:/final/Ubuntu_16.04/ /

Download and add the repo key to the keychain

wget -qO - http://repo.z-hub.io/z-push:/final/Debian_8.0/Release.key | sudo apt-key add –

Run apt-get update

We then need to install the z-push packages that we need

apt-get install z-push-common z-push-config-apache z-push-backend-caldav z-push-backend-carddav z-push-backend-combined z-push-backup-imap z-push-ipc-sharedmemory

This will install and configure z-push ready to go, we now need to edit the config files to tell it where to get the contacts, calendar and email from.

Start by editing /usr/share/z-push/config.php

Change the section “Default Settings” to match your timezone and ensure that the define(‘USE_FULLEMAIL_FOR_LOGIN’,true); is set to true.

Under the logging settings there is a specialLogUsers value, this is really useful to put a user in here when you need to troubleshoot, this generates debug logs for the named user and which can be found in the /var/log/z-push directory, but remember to remove them when you have done your testing as they can generate massive log files.

The only other setting we need to change is the Backend settings.

Change the backend provider setting to:

define(‘BACKEND_PROVIDER’,’BackendCombined’);

Save and exit the file

Next edit the /usr/share/z-push/backend/combined/config.php

Update it to match the following values

'backends' => array(

            'i' => array(

                'name' => 'BackendIMAP',

            ),

            'd' => array(

                'name' => 'BackendCardDAV',

            ),

            'c' => array(

                'name' => 'BackendCalDAV',

            ),

        ),

        'delimiter' => '/',

        //force one type of folder to one backend

        //it must match one of the above defined backends

        'folderbackend' => array(

            SYNC_FOLDER_TYPE_INBOX => 'i',

            SYNC_FOLDER_TYPE_DRAFTS => 'i',

            SYNC_FOLDER_TYPE_WASTEBASKET => 'i',

            SYNC_FOLDER_TYPE_SENTMAIL => 'i',

            SYNC_FOLDER_TYPE_OUTBOX => 'i',

// SYNC_FOLDER_TYPE_TASK => 'c',

           SYNC_FOLDER_TYPE_APPOINTMENT => 'c',

            SYNC_FOLDER_TYPE_CONTACT => 'd',

           SYNC_FOLDER_TYPE_NOTE => 'c',

           SYNC_FOLDER_TYPE_JOURNAL => 'c',

            SYNC_FOLDER_TYPE_OTHER => 'i',

            SYNC_FOLDER_TYPE_USER_MAIL => 'i',

           SYNC_FOLDER_TYPE_USER_APPOINTMENT => 'c',

            SYNC_FOLDER_TYPE_USER_CONTACT => 'd',

           SYNC_FOLDER_TYPE_USER_TASK => 'c',

           SYNC_FOLDER_TYPE_USER_JOURNAL => 'c',

           SYNC_FOLDER_TYPE_USER_NOTE => 'c',

            SYNC_FOLDER_TYPE_UNKNOWN => 'i',

        ),

        //creating a new folder in the root folder should create a folder in one backend

        'rootcreatefolderbackend' => 'i',

    );

}

}

This tells z-push which backend is responsible for which function.

Next we need to edit the individual service files we will start with email.

Edit the file /usr/share/z-push/backend/imap/config.php

Update the following values, this is assuming you are using MXRoute’s London servers.

// Defines the server to which we want to connect

define('IMAP_SERVER', 'london.mxroute.com');

// connecting to default port (143)

define('IMAP_PORT', 993);

// best cross-platform compatibility (see http://php.net/imap_open for options)

define('IMAP_OPTIONS', '/ssl/norsh');

// Mark messages as read when moving to Trash.

// BE AWARE that you will lose the unread flag, but some mail clients do this so the Trash folder doesn't get boldened

define('IMAP_AUTOSEEN_ON_DELETE', false);

// Since I know you won't configure this, I will raise an error unless you do.

// When configured set this to true to remove the error

define('IMAP_FOLDER_CONFIGURED', true);

// Folder prefix is the common part in your names (3, 4)

define('IMAP_FOLDER_PREFIX', '');

// Inbox will have the preffix preppend (3 & 4 to true)

define('IMAP_FOLDER_PREFIX_IN_INBOX', false);

// Inbox folder name (case doesn't matter) - (empty in 4)

define('IMAP_FOLDER_INBOX', 'INBOX');

// Sent folder name (case doesn't matter)

define('IMAP_FOLDER_SENT', 'inbox.SENT');

// Draft folder name (case doesn't matter)

define('IMAP_FOLDER_DRAFT', 'inbox.DRAFTS');

// Trash folder name (case doesn't matter)

define('IMAP_FOLDER_TRASH', 'inbox.TRASH');

// Spam folder name (case doesn't matter). Only showed as special by iOS devices

define('IMAP_FOLDER_SPAM', 'inbox.junk');

// Archive folder name (case doesn't matter). Only showed as special by iOS devices

define('IMAP_FOLDER_ARCHIVE', 'ARCHIVE');

You also want to update the method used for sending emails (I am using an SSL connection to MXRoute)

define('IMAP_SMTP_METHOD', 'smtp');

global $imap_smtp_params;

$imap_smtp_params = array('host' => 'ssl://london.mxroute.com', 'port' => 465, 'auth' => true, 'username' => 'imap_username', 'password' => 'imap_password' );

The above ‘imap_username’ and ‘imap_password’ are variables and do not need changing to the actual username and password.

Save and close the file.

Next we will setup syncing contacts

Edit /usr/share/z-push/backend/carddav/config.php update the following

// Server protocol: http or https

define('CARDDAV_PROTOCOL', 'https');

// Server name

define('CARDDAV_SERVER', 'london.mxroute.com');

// Server port

define('CARDDAV_PORT', '2080');

// Address book path

define('CARDDAV_PATH', '/rpc/addressbooks/%u/');

// Server path to the default address book

define('CARDDAV_DEFAULT_PATH', 'contacts/');

// Support sync-collection

define('CARDDAV_SUPPORTS_SYNC', false);

Save and close the file

Finally the calendar sync

Edit /usr/share/z-push/backend/caldav/config.php

// Server protocol: http or https

define('CALDAV_PROTOCOL', 'https');

// Server name

define('CALDAV_SERVER', 'london.mxroute.com');

// Server port

define('CALDAV_PORT', '2080');

// Path

define('CALDAV_PATH', '/rpc/calendars/%u/');

// Default CalDAV folder (calendar folder/principal). This will be marked as the default calendar in the mobile

define('CALDAV_PERSONAL', 'calendar');

// If the CalDAV server supports the sync-collection operation

// DAViCal, SOGo and SabreDav support it

// SabreDav version must be at least 1.9.0, otherwise set this to false

// Setting this to false will work with most servers, but it will be slower

define('CALDAV_SUPPORTS_SYNC', false);

// Maximum period to sync.

// Some servers don't support more than 10 years so you will need to change this

define('CALDAV_MAX_SYNC_PERIOD', 2147483647);

Save and close the file

Although not necessarily I restart apache at this point.

service apache2 restart

Client Device

On your client device (iOS / Android / Outlook 2013+)

As there is no autodiscovery function you will need to enter the settings manually.

Username: Full email address

Password: Users MXRoute Password

Server: Your VPS address (i.e. z-push.yourdomain.com)

Basic Troubleshooting

Check the apache and z-push logs, both of which can be found in /usr/var/log/ Turn on debugging for a single user (see above for details) Check you can access activesync on your server https://z-push.yourdomain.com/Microsoft-Server-ActiveSync, you should be promoted for a username and password use the email address and the users mxroute password, you should see a page that gives you the activesync information and tell you that “GET is not supported”. You should now be good to go!


making proxies

$
0
0

Hi there

I am looking for someone who can make proxies on providers like quadhost and myserverplanet if someone would be willing to help me I would be able to pay them for there time thank you

How to: Windows on SoYouStart 4790k

$
0
0

This is something I've had people ask me before and message me about, how do you get Windows on an MC-32. The Kimsufi templates don't appear to have the ethernet driver in them, and I have tried to do this over KVM IP on a MC-32 as well and Windows by default doesn't have this.

There is an easy way to get Windows 8.1 Pro on one of these machines for free. First, visit https://technet.microsoft.com/en-us/library/jj612867(v=ws.11).aspx and find the Windows 8.1 Pro KMS product key, it's at the top of the "Windows Server 2012 R2 and Windows 8.1" table. This is 100% legal and that is a Microsoft website, keep in mind Windows will remain unactivated and put a watermark in the corner of your screen.

Copy the KMS activation key for 8.1 Pro, then log into your SoYouStart Manager and click on Licenses

Then in the left hand side of the screen click on "Add an SPLA license" and select your server from the dropdown list, then for version type select "OS Windows SPLA license" from the bottom of the list, then paste the KMS product key for 8.1 Pro you got from the microsoft technet website listed above, then click on "Confirm", and then "Back to the dashboard", it has been added to the list.

Now go back to the server page and click on "reinstall", in the OS list under "Select your template" scroll all the way down to the bottom and select "Windows Client 8.1 PRO 64bits (InstallV2) (64bits)", then press next, on the next screen at the bottom you will see a checkbox that says "Use your windows SPLA license", tick the check box and click on "Confirm". Note that if you do not click the checkbox the install will fail as windows needs a product key to continue, and the KMS technet product key will get the windows install finished, it won't activate it however.

Now wait for around an hour or 2, you then will recieve an email from OVH with the user account details to login to. I would recommend uninstalling CopSSH when you login as that been linked to some vulnerabilities in the past with people being able to login with a "default password", then changing your Windows password.

Windows on OVH VPS SSD

$
0
0

The title of this thread isn't a joke, after many months I have been able to get Windows Server 2012 R2 successfully running on OVH's VPS SSD 1. https://www.ovh.com/us/vps/vps-ssd.xml Since I am unaware of any previous events of this happening I decided to share my findings with anyone who would be interested.

This is NOT violating the Terms of Service or Rules of OVH or these forums.

These steps will also work on any other VPS in the SSD, RAM or Cloud ranges. I am using the VPS SSD 1 as it's the cheapest at $3 and has 2 gigs of ram, 10gb ssd and 100mbps down and up.

The technology OVH uses, all of their VPS ranges use the same or similar spec'd servers. CPU: E5-2687Wv3 Disks: PCIe NVMe SSDs Network: 100mbps down and up with DDoS Mitigation included for free Hypervisor: OpenStack Nova

How I was able to do it: I bought 2 VPSs. I bought a VPS Cloud 1 with the Windows Server option, and a CentOS 6 VPS SSD 1. I shrinked the partition down to 8.5GB in Windows, I then booted both into the recovery mode on both VPSs and used GParted to shrink the size of the Windows Server's VPS vdb2 down to 9 gigs so it would fit on the VPS SSD 1, and used SSHFS on a third VPS and dd to clone the MBR, vdb1 (Windows system) and vdb2 (Windows OS) files over to the SSD 1 VPS and rebooted and there you go.

Here is how you can do it for yourself, I am going to make it easy, and not charge for it, mainly because I would be violating a bunch of rules and terms of service agreements if I did that. For those of you new to OVH they have NEVER had a custom ISO option (unless you pay for IPKVM on their dedicated servers), so that is why this process is a bit more involved than usual, but shouldn't be hard at all as long as you follow the instructions.

Before we begin: Disclaimer about the distribution of Microsoft products.

I have provided a 100% product-key, activation free windows server 2012 R2 DD image of this VPS below, this image has no product keys inputted and is UNACTIVATED and 100% legal to distribute. Windows Server 2012 R2 will run for 30 days before complaining, however if you are a student in high school or College/University or post-secondary education you can get a free 1 year windows server 2012 R2 license through Microsoft DreamSpark which is available in many different countries.

I do plan to offer more versions such as Windows 7, Windows 8, Windows 10, Server 2016, Server 2003 R2, etc but for now this is all that we have and should be good enough as it's pretty much the standard for Windows Server deployments at the time of writing this.

Step 1. Head over to https://www.ovh.com/us/vps/vps-ssd.xml (if you are in a different country change that in the top right hand corner by clicking on the US flag.)

Step 2. Purchase the VPS SSD 1 for $3.49/month, click on order, on the next page pick your location, and then choose CentOS as your distribution and CentOS 6 64bit as your version. Then click on continue and complete the transaction and pay for it.

Step 3. Once the VPS has been activated, installed and set up by OVH and is visible in your manager, go ahead and click on "Rescue mode" and wait for the VPS to reboot into rescue mode. You will need patience, it'll take about 5 minutes to reboot into rescue mode and send you an email with the SSH login details.

Step 4. Install an SSH client like mRemoteNG if you are using windows or if you are on mac/linux open up a terminal and ssh root@(vps ip), this is assuming you've used SSH before.

Step 5. Once you are in the recovery-pro environment do the following commands in this order.

apt-get update

and press Y on any prompts you get, it is okay if you don't get a prompt or get an error, continue to the next step..

apt-get upgrade

and press Y on any prompts that you get, it is okay if you don't get a prompt or get an error, continue to the next step..

once that has finished, now do

apt-get install sshfs tmux

lsblk

and you should see the following

vda 254:0 0 10G 0 disk

└─vda1 254:1 0 10G 0 part /

vdb 254:16 0 10G 0 disk

├─vdb1 254:17 0 10G 0 part /mnt/vdb1

vda and vda1 that are 10 gigs in size is the temporary filesystem mounted for the use of the recovery mode, we aren't going to touch these, this has nothing to do with the VPS or it's filesystem. (This will vary depending on the VPS you're doing this on.)

vdb and vdb1 are the VPS's 10GB (or larger depending on your selected VPS) SSD, these are where we will be installing our image of Windows.

Basically what you want to do at this point is restore the dd file containing the windows image onto the VPS. To do this we'll do the following, first run these commands to make sure we have full access to everything on the disk.

umount /mnt/vdb1

rm -rf /mnt/vdb1

tmux

now we can restore the image. Keep in mind this will take well over an hour, so leave this running and go to something else until it finishes. The command to start this is

wget -O- 'http://192.99.235.192/FinalOVHServer2012R2VPSimage.img.gz' | gunzip -c | dd of=/dev/vdb

It will take around an hour or 2 for this to complete, so just relax and go and do something else whilst that happens, don't press or touch anything, you'll know when it's done when you see

root@rescue-pro:~#

and you are able to type stuff again, if you think it's frozen give it at least 2 hours, if it still hasn't completed by then reconnect and type "tmux attach-session" and you'll most likely find it's completed.

Once it's done go back to your OVH manager and press the "Reboot my VPS" button, the VPS will take a bit to reboot, and once it's done click on the KVM button and then "Open in a new window".

You should see before you the Windows Server 2012 login screen. Press the control alt delete button and type in TempPass123#* as the password, then you will be prompted to enter a new Administrator password for obvious security reasons, so enter yours and then press enter and if everything went well you should be booted to the desktop, and we are done!. Additional IPs, an additional disk, etc will all work, you can set those up by following OVH's own documentation under the Windows section.

Remote desktop connection is enabled by default and your VPS will obtain it's dedicated IP via DHCP as that is how OVH has their system set up.

I plan on making different images for different Windows installs, but for now this should be good enough.

Now what about other operating systems like FreeBSD, Solaris, etc? Well Solaris is out of the question as it has no VirtIO support which OVH's hypervisor requires, and I haven't tried FreeBSD using this method but I don't see why it wouldn't work.

Credits: https://wiki.archlinux.org/index.php/disk_cloning#Using_dd https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh https://kb.iu.edu/d/abbe https://www.vultr.com/docs/correcting-time-on-windows-server

Scrambled OpenVPN Auto Installer Script

$
0
0

This script is used to setup a scrambled(OpenVPN+Xor patch) VPN on any centos box with user interaction.Standard OpenVPN setup won't work in countries like China and Pakistan due to intensive censorship.

Source : http://lowendtalk.com/discussion/21539/tutorial-build-your-ultimate-scrambled-vpn

I wish to thank @halczy for posting the tutorial to setup the vpn and i used his tutorial as a source to create the bash script that i am going to share with you today.

Download link

https://drive.google.com/file/d/0B_s7n4-sdChARnpNeTJTTkVmQmM/edit?usp=sharing

Run the script on a fresh Centos 6 minimal Install

Requires root access

Setup Time : 2-5 mins

Tested with : Centos 6.x (Both 32 bit and 64 bit)

Script is fully opensource

How to install

Upload setup_vpn.sh to root directory.

Login to your server via ssh as root and type the following command

bash setup_vpn.sh

Wait for setup to complete

Once setup has completed login to SFTP via FileZilla to /root/client-files/

Download scrambled-client.ovpn on your computer and place the scrambled-client.ovpn in the config folder of your OpenVPN installation

Do NOT forget to patch the OpenVPN installation on your computer to be able to connect to your VPN. See the following post for more details: http://scramblevpn.wordpress.com/2013/09/28/build-patched-windows-openvpn-client/

After you patch your openvpn installation you should be able to connect

Njoy your VPN

Censorship bypass methods for OpenVPN

$
0
0
  1. OpenVPN with TCP 443 port.

  2. OpenVPN over SSH tunneling.

  3. OpenVPN over Shadowsocks.

  4. OpenVPN over HTTP Proxy.

  5. OpenVPN over SOCKS Proxy.

  6. OpenVPN over TOR network.

  7. OpenVPN over V2Ray.

  8. OpenVPN over Stunnel.

These are the methods I know. What are the methods you know?

SSH Command to test server speed

$
0
0

You are able to use this tool to view system information and test the network, disk of your Linux server by using the command as follows

wget -qO- bench.sh | bash

or

curl -Lso- bench.sh | bash

OVH no longer supporting Windows Server R2 2008

$
0
0

hi, im used templates for install OS in new ovh dedicated 2017. im install template, but later when try to join with RDP not possible, maybe this templates not have drivers network? im need windows 2008 r data center or enterprise, im try with this 2, but same problem with RDP, help me?


How to install MEmu Android Emulator on a dedicated server?

$
0
0

Hi, I want to know what I need to install this program MEmu on an server? Do I must have a dedicated server to be able to install it? or just an VPS.

Thanks in advance..

Setting up /24

$
0
0

Hi!

I am looking for a tutorial to setting up a /24 manually. I tried searching and I can't find. If you know where I can find please help via centos 6 or 7

cpanle server - symlink scan

$
0
0

For symlink scan :

==>  \ls -A1 /var/cpanel/users | while read CPUSER; do find /home/$CPUSER -type l -not ( -lname "/home/$CPUSER/" -o -lname "/var/cpanel/rvglobalsoft" -o -lname "[^/.]" -o -lname "/usr/local/apache/domlogs/" -o -lname "/usr/local/urchin/*" ); done > /root/full_sym4 ==>

making proxies

$
0
0

Hi there

I am looking for someone who can make proxies on providers like quadhost and myserverplanet if someone would be willing to help me I would be able to pay them for there time thank you

How to: Windows on SoYouStart 4790k

$
0
0

This is something I've had people ask me before and message me about, how do you get Windows on an MC-32. The Kimsufi templates don't appear to have the ethernet driver in them, and I have tried to do this over KVM IP on a MC-32 as well and Windows by default doesn't have this.

There is an easy way to get Windows 8.1 Pro on one of these machines for free. First, visit https://technet.microsoft.com/en-us/library/jj612867(v=ws.11).aspx and find the Windows 8.1 Pro KMS product key, it's at the top of the "Windows Server 2012 R2 and Windows 8.1" table. This is 100% legal and that is a Microsoft website, keep in mind Windows will remain unactivated and put a watermark in the corner of your screen.

Copy the KMS activation key for 8.1 Pro, then log into your SoYouStart Manager and click on Licenses

Then in the left hand side of the screen click on "Add an SPLA license" and select your server from the dropdown list, then for version type select "OS Windows SPLA license" from the bottom of the list, then paste the KMS product key for 8.1 Pro you got from the microsoft technet website listed above, then click on "Confirm", and then "Back to the dashboard", it has been added to the list.

Now go back to the server page and click on "reinstall", in the OS list under "Select your template" scroll all the way down to the bottom and select "Windows Client 8.1 PRO 64bits (InstallV2) (64bits)", then press next, on the next screen at the bottom you will see a checkbox that says "Use your windows SPLA license", tick the check box and click on "Confirm". Note that if you do not click the checkbox the install will fail as windows needs a product key to continue, and the KMS technet product key will get the windows install finished, it won't activate it however.

Now wait for around an hour or 2, you then will recieve an email from OVH with the user account details to login to. I would recommend uninstalling CopSSH when you login as that been linked to some vulnerabilities in the past with people being able to login with a "default password", then changing your Windows password.

Viewing all 1028 articles
Browse latest View live