Posts

How to resize and extend centos 7 disk manually

 How to resize and extend centos 7 disk manually Resizing The Partition You need to modify the   Linux   partition table within the   virtual machine   to recognize that the disk size has changed. This can be done using the   fdisk   utility, which is a partition editor. For the   virtual machine   provided by Nagios Enterprises: sda1   is used for the   boot   partition sda2   is the device for all logical volumes, this is the partition you need to edit Start   fdisk   by executing the following command: fdisk /dev/sda   You should print the current partition table so you can keep track of your changes as you go: Command (m for help): p Take a screenshot or copy the screen contents into a text file in case you want to reference it later. To resize a partition, you actually "delete" it and then add a new one with the new size, making sure to place the beginning of the new partition at the same sector/cylinder as the old one started. This process is NOT destructive, your data

Use Space from Extended Physical (or Virtual) Disk

Image
  Use Space from Extended Physical (or Virtual) Disk First you need to increase the size of the disk being presented to the Linux OS. This is most likely done by expanding the virtual disk in KVM/VMWare/Hyper-V or by adjusting your RAID controller / storage system to increase the volume size. You can often do this while Linux is running; without shutting down or restarting. I’ve extended my  100GB  disk to  200GB  for my example machine. Once that is done, you may need to get Linux to rescan the disk for the new free space. Check for free space by running  cfdisk  and see if there is free space listed, use “q” to exit once you’re done. If you don’t see free space listed, then initiate a rescan of  /dev/sda   with  echo 1>/sys/class/block/sda/device/rescan . Once done, rerun  cfdisk  and you should see the free space listed. Select your  /dev/sda3  partition from the list and then select “ Resize ” from the bottom menu. Hit  ENTER  and it will prompt you to confirm the new size. Hit 

Extend free space on ubuntu 20.04 disk

Extend free space on ubuntu 20.04 disk I also used the default Ubuntu 20.04 install from ISO w/ lvm option selected. I had the same problem with the OS disk not occupying what I had allocated.   Step as below: user@util:~ # sudo vgdisplay <snip> user@util:~ # sudo lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv <snip> user@util:~ # sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv <snip> Before user@util:~ # sudo df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 795M 1.1M 793M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 98G 6.5G 86G 8% / tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/xvda2 976M 105M 805M 12% /boot /dev/loop2
How to secure your SSH.   1. Permanently stop and disable ssh services (ubuntu) command: sudo systemctl stop ssh                 sudo systemctl disable ssh                 sudo systemctl status ssh To check if ports 22 still open after disable ssh command : sudo lsof -i:22 * Please run this command from server terminal in nutanix web reference -:  https://www.cyberciti.biz/ faq/howto-start-stop-ssh- server/   2. Reject all IP & accept ssh connection only by allow IP Address reference-:  https://docs. rackspace.com/support/how-to/ restrict-ssh-login-to-a- specific-ip-or-host/ 3. Using knockd filter ssh connection by knock port reference-:  https://www. linuxbabe.com/security/secure- ssh-service-port-knocking- debian-ubuntu 4. Using passwordless SSH login reference-:  https://www. linuxbabe.com/linux-server/ setup-passwordless-ssh-login

failed to save all the components for the file system32?? Ni la kerja Trojan Rogue..Jom kita sttlekan..

You have a rogue virus Trojan Horse which is self protective, thus it will prevent any antivirus from fonctionning. You must kill the evil processes which the virus is presently running amd preventing you from running any antivirus. If you don't it will keep reproducing the files for ever. To kill the processes: 1. Download to your desktop and run Rogue Kill: http://download.bleepingcomputer.com/grinler/rkill.com 2. You should now see a window that shows all of your desktop icons, including the rkill.com program. 3. Double-click on the rkill.com in order to automatically attempt to stop any processes associated with the Rogue programs. Please be patient while the program looks for various malware programs and ends them. When it has finished, the black window will automatically close and you can continue with the next step. If you get a message that rkill is an infection, do not be concerned. This message is just a fake warning given by the Horse when it terminates programs that m

Program Ukhwah Fillah Bersama Anak Yatim

Image
PROGRAM UKHWAH FILLAH BERSAMA ANAK2 YATIM Pada 15 OKTOBER 2011 yang lalu pelajar Jabatan Teknologi Kejuruteraan Komputer JMTI telah menjalankan satu ProgramUkhwah Fillah Bersama Anak-Anak Yatim di Rumah Permata Kasih,Permatang Pauh Pulau Pinang.Seramai 35 orang adik-adik diantara umur 6-12 tahun mengikuti program ini bersama ahli jawatankuasa Program seramai 36 orang. Program berjalan dengan lancarnya bermula pada seawal 8.00 pagi dengan aktiviti sukaneka.Pada jam 11.00 pagi latihan dalam kumpulan(LDK 1)diadakan bersama adik2 disamping itu AJK yang lain bergotong royong memasak untuk makan tengahari di rumah itu.Setelah selasai makan tengahari semua muslimin ke surau untuk solat zohor berjemaah manakala muslimat solat di rumah tersebut. Pada sebelah petang pula diadakan sambungan LDK 2 yang bertajuk "Abang/Kakak Ku Kasih Adik Ku Sayang".Selama 30 jam masa diambil untuk aktiviti ini yang melibatkan AJK dan adik2 bermain pelbagai permainan di rumah itu.Gotong-Royong diadaka

PRINTER BERMASALAH?? JOM SETTLE SENDIRI

How to Reset MP145 Printer Error 27 (E27) There was someone who sent the message via email to me and asking how to reset error 27 (E27) on the Canon MP145 printer, his intention I will reply to e-mail but when I reply, e-mail reply from I was not sent and an error occurs like this "Delivery to the Following recipient failed permanently." Maybe you were wrong to enter your e-mail. Okay, for you who had sent messages via e-mail because I could not reply, I'll post here just hopefully you can have time to read it and try practiced on your Canon MP145 Printer. How to Reset MP145 Printer Error 27 (E27) : 1Turn the printer off (using the power button, not revoked powernya) 2Press the stop / reset (not released) 3Press the power button (until the power led is lit) 4Remove the stop / reset, press the stop / reset 2 times and release the power button. 5Wait until the LED seven segment (not led indicator) designate the number 0 (PART OF IMPORTANT) 6Press the stop / reset 4 times 7P