Newbie Spellweaver
- Joined
- Jan 3, 2017
- Messages
- 70
- Reaction score
- 12
Hi , I back again :w00t:
Yaps simple tips for you who may run a server with little ram, this is possible, I try to run the 1.5.1 server with 1.5GB ram, but for the offline version, but perhaps to the online version with 2gb ram can only play 1-5 player * possiblett1:
Okay straight to the point only
because I use the virtual box so first install the ssh server, so it can be controlled via putty
if you have root access, just login with root
but if not, please login with your account user but need SUDO access
First, in order to ram fewer please you disable GUI
* Attention: this is only for those who are already proficient OR pw server you've finished and only controlled via iweb, putty, or WinSCP.
Although the GUI is disabled you can upload, edit, and others
but if you want to return to the position of the GUI you just edit the files grub * tutorial below
* Delish non-active GUI that the user does not run other applications *
#Disabling GUI :
*if it fails to boot to a terminal to do well on : GRUB_CMDLINE_LINUX="quiet splash" could be just "quiet" change it to "text"
Result : ->
#Create cleaner script :
Open terminal "type" gedit amonganteng.c
*OR , if you using putty you can type like this : nano amonganteng.c*
Copy this script to amonganteng.c:
2. type "sudo swapoff -a" on terminal OR putty,
3. Cek free ram by type it : free -m
4. Type it : gcc amonganteng.c -o freeram
and if you want to use only live typing: "./freeram" on the terminal or putty
* Actual putty terminal also: v
* in the cleaning process please be patient, just a minute
Result freeram ++ disable gui *This will remain stable * :
#Reactive GUI :
Note : don't forget to update :w00t:
*yaps up here alone may be useful
*Try before any bad comments*:closedeyes:
Yaps simple tips for you who may run a server with little ram, this is possible, I try to run the 1.5.1 server with 1.5GB ram, but for the offline version, but perhaps to the online version with 2gb ram can only play 1-5 player * possiblett1:
This makes it possible for you to run the server in ram slightly
Okay straight to the point only
because I use the virtual box so first install the ssh server, so it can be controlled via putty
if you have root access, just login with root
but if not, please login with your account user but need SUDO access
First, in order to ram fewer please you disable GUI
* Attention: this is only for those who are already proficient OR pw server you've finished and only controlled via iweb, putty, or WinSCP.
Although the GUI is disabled you can upload, edit, and others
but if you want to return to the position of the GUI you just edit the files grub * tutorial below
* Delish non-active GUI that the user does not run other applications *
#Disabling GUI :
Code:
1.Open terminal
2.sudo nano /etc/default/grub OR sudo gedit /etc/default/grub
3.Find this Line : [COLOR=#111111]GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" [/COLOR]could be just "quiet"[COLOR=#111111]
[/COLOR]4.Change it to : [COLOR=#111111]GRUB_CMDLINE_LINUX_DEFAULT="text"[/COLOR]
5.Update the Grub : [COLOR=#111111]sudo update-grub[/COLOR]
6.Reebot or Just type "reboot" on terminal
Result : ->
You must be registered to see links
*Disabled GUI#Create cleaner script :
Open terminal "type" gedit amonganteng.c
*OR , if you using putty you can type like this : nano amonganteng.c*
Copy this script to amonganteng.c:
Code:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main(int argc, char** argv) {
int max = -1;
int mb = 0;
char* buffer;
if(argc > 1)
max = atoi(argv[1]);
while((buffer=malloc(1024*1024)) != NULL && mb != max) {
memset(buffer, 0, 1024*1024);
mb++;
printf("Allocated %d MB\n", mb);
}
return 0;
}
2. type "sudo swapoff -a" on terminal OR putty,
3. Cek free ram by type it : free -m
4. Type it : gcc amonganteng.c -o freeram
and if you want to use only live typing: "./freeram" on the terminal or putty
* Actual putty terminal also: v
* in the cleaning process please be patient, just a minute
Result freeram ++ disable gui *This will remain stable * :
You must be registered to see links
#Reactive GUI :
Code:
1.Open terminal
2.sudo nano /etc/default/grub OR sudo gedit /etc/default/grub
3. Change :[COLOR=#111111]GRUB_CMDLINE_LINUX_DEFAULT="text" TO [/COLOR][COLOR=#111111]GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
[/COLOR]3. Change :[COLOR=#111111]GRUB_CMDLINE_LINUX="text" TO [/COLOR][COLOR=#111111]GRUB_CMDLINE_LINUX_DEFAULT="" /Leave blank[/COLOR]
6.Update the Grub : [COLOR=#111111]sudo update-grub[/COLOR]
7.Reebot or Just type "reboot" on terminal
Note : don't forget to update :w00t:
*yaps up here alone may be useful
*Try before any bad comments*:closedeyes: