Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop

In this Discussion

New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Is this Possible?

Ok i have a VPS i'm playing with serving no real purpose atm.
Its a 1GB gaurenteed ram box which for any purpose i may throw at his is too much.

Now to the question. I'm thinking of installing Arch Linux or Debian 6 on this box for shits and giggles and will prob rotate through distributions so the setup i'd like to try is well not super important when it fails... It will...

I'd like to see if its possible to cut my ram in half, having a 512mb ramdisk for the OS and 512mb ram for the VPS.

Now i could set up something similar locally if i had access to the box. But is this setup possible on a VPS.

If so any direction would be great!

Thanks

Comments

  • skaska Member
    edited August 2013

    Use tmpfs, create a directory in /mnt, chmod 777 it, mount it and give it the desired size, add it to fstab. Install the distro on the tmpfs. Done.

    mkdir /mnt/vmtmpfs
    chmod 777 /mnt/vmtmpfs
    mount -t tmpfs -o size=512M tmpfs /mnt/vmtmpfs
    tmpfs /mnt/vmtmpfs tmpfs defaults,size=512M 0 0
    
Sign In or Register to comment.