Installation without swap and also partition

navi

Verified User
Joined
Feb 3, 2011
Messages
6
Hi, i have a fresh installation of direct admin, but i see that is not memory swap.
I'm very newby so my host (kindly) install for me direct admin, but he forgot to make a partition and to create a swap. Now i read installation rule form directadmin site and i read that you advise to prepare system before installation :(

I'm little crazy, so i try with this

dd if=/dev/zero of=/swap-file bs=1024k count=8000

and linux (debian 5.0 64 bit) create a swap, sync, and mkswap /fileswap
but when i try to swapon /fileswap nothing happens!
So, if i understan, i have -don't know where, a swap.

I know tha an UNexpert like me would not to manage merrily, but i thought that is not an hard work.

How can i solve? It is possible to create and activate a file swap or partition - that must be recognize by direct admin - after direct admin installation?
Can you help me?

Thank's
 
If you are on a VPS, you may not have direct access to your swap partition. If you have a dedicated server, then it should have one and what you did should have enabled it.
 
If you have a dedicated server, then it should have one and what you did should have enabled it.

The file swap is active (sorry i don't writed)
but if i try free -m swap is 0
Also in directadmin swap is 0

If is usefull, I don't touch any directory, was a debian fresh installation and a directadmin installation...
 
If you are on a VPS, you may not have direct access to your swap partition. If you have a dedicated server, then it should have one and what you did should have enabled it.

I'm on a cloud. I don't think is private server but i don't think is a vps too. As i writed, i create this swap (if i look at th hard disk it has not 8 giga), but i don't know where. I'm speaking about which folder. I think in the root. Have i delete and created other in other folder?

Sorry for my inability!
 
Back
Top