if you using aws for your ubuntu vps instance, just do this step1. check your log on /var/log/2. check your linux kernel header if your linux kernel header is too big, just purge itsudo apt-get autoremove and keep your header i did that and freed up until 2.9GB

Read More

i need to remove file that contains some string but need to do it on terminal this is how to doitfind . | xargs grep -l email@domain.com | awk ‘{print “rm “$1}’ > doit.shvi doit.sh // check for murphy and his lawsource doit.sh find . | xargs grep -l email@domain.com | awk ‘{print “rm “$1}’ […]

Read More

passwordless ssh, this is how I set up for linux to freebsd   a@A:~> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/a/.ssh/id_rsa): Created directory ‘/home/a/.ssh’. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/a/.ssh/id_rsa. Your public key has […]

Read More
my speaker always muted – x201 linux

in this age, believe or not, I’m still using x201 thinkpad laptop, but I modified for little things, I expanded the RAM until 6GB, I change the drive from 250GB RPM to SSD 120GB and I remove windows operating system and change it to LXLE Linux ##### ronny@thinkpad ####### ————– ##O#O## OS: LXLE Linux 18.04.3 […]

Read More

Jails on freenas

  • Jun 24, 2020

this is my log when I’m using freebsd as web server and mysql server using nginx and php-fpm   # iocage console rsyncjail # pkg update && pkg upgrade # echo ‘sshd_enable=”YES”‘ >> /etc/rc.conf # service sshd start # pw useradd -n vivek -G wheel -s /bin/tcsh -m -d /home/vivek # passwd vivek pkg install […]

Read More

How to Disable user to access aws vps on ssh How to Add user to access aws vps on ssh Access to your AWS Console Goto EC2 Click Key Pairs on Network & Security on the left Create Key Pair, for example: support after you click the “create key pair” button, you will shown a […]

Read More

This is tutorial to resizing your linux drive on aws virtual private server Please reconsider that, I will not responsible if something wrong happens to your server First, got to aws console, pick Elastic Block Store > Volume Pick the Volume that you want to resizing Action > Modify Volume, change your Volume Size (sizing […]

Read More

Just wanna give a clue how to rsync between freenas server first, you need atleast 2 freenas server, one as freenas source and other as freenas target to make it simple, use the same user login and password, because we need to access it using ssh this is the example using rsync rsync -arvz –exclude-from=/mnt/vol/itd/itmgr/exclude.txt […]

Read More

this is tutorial how to scale up storage linux vm on windows hyperv check linux vm partition status shutdown the Linux VM Resize the VM Virtual Hard Disk turn on the VM to this script: sudo parted -l to init the partition, run sudo cfdisk choose /dev/sda2 choose resize enter > write > yes > […]

Read More

I just moved my windows laptop to linux laptop problem is, I usually using virtual box to working, and when i moved to linux there was an error “virtualbox error owner not root” this is solution 1. open console / terminal 2. type “sudo chown root:root /usr” 3. enter solved, enter the virtual box

Read More
EnglishIndonesian