Search

Total Pageviews

Categories

Linux (8) Windows (5) Container (4) Development (4) Database (3) Docker (3) Mac OS (3) QuickStart (3) Ubuntu (3) AWS (1) Fedora (1) FreeBSD (1) Git (1) Java (1) MyBatis (1) Oracle Linux (1) Spring Boot (1) Unix (1) VMware (1) Virtualization (1) kdevtmpfsi (1) kinsing (1)

Featured Post

Your container's CPU usage is more than 100%, "kdevtmpfsi" the cryptomining malware is running | So how to resolve

How to resolve when "kdevtmpfsi" the crypto-mining malware is running and taking all CPU load of your server (container). One d...

Friday, October 28, 2011

Fix grub boot loader

- Boot to Rescue from Linux installation CD
- Enter command: grub

# grub

grub> find /boot/grub/stage1 #OR /boot/grub/grub.conf OR /grub/grub.conf -> It show: (hdx,y) with x,y from 0 to n.
grub> root(hdx,y)
grub> setup(hdx)
grub> quit

=> done

Monday, May 30, 2011

Before you can run vmware several modules must be compiled and loaded into the running kernel

I have just installed VMware-Workstation 7.1.4 on fedora 15 x86_64 and when I was starting VMware, I get a message window with content similar "before you can run vmware several modules must be compiled and loaded into the running kernel" ...

=>FIX:
Find your kernel:
[dthoan@dthoan ~]$ sudo find / -name kernel
[sudo] password for dthoan:
/selinux/initial_contexts/kernel
/proc/sys/kernel
find: `/home/dthoan/.gvfs': Permission denied
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel/arch/x86/kernel
/lib/modules/2.6.38.6-27.fc15.x86_64/kernel/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel/arch/x86/kernel
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/kernel/kernel
/sys/kernel
/sys/module/kernel
/usr/lib64/pm-utils/module.d/kernel
/usr/share/selinux/devel/include/kernel

-> So: Browse to "/lib/modules/2.6.38.6-27.fc15.x86_64/build/include/linux/" the VMware-Workstation will loaded correctly kernel-headers if you have installed...
Please replace "2.6.38.6-27.fc15.x86_64" with your "$uname -r"
It's done, good luck to u :) fun

Sunday, May 1, 2011

How to browse smb on windows 7 ?

1. Press Windows + R keys to open the Run command and type "secpol.msc".


2. Press "continue" when prompted.

3. Click on "Local Policies" --> "Security Options"


4. Navigate to the policy "Network Security: LAN Manager authentication level" and open it.

5. Change this to "LM and NTLM – use NTLMV2 session security if negotiated".


Once you’ve done this Windows 7 will be able to view network drives based on Samba servers and should fix any issues around using Samba as a Primary Domain Controller.

References: www.builderau.com.au

Thursday, April 21, 2011

How to enable a script auto startup with system on ubuntu server ?

  1. Create a script in the /etc/init.d/ directory
  2. Make the script executable
    $ sudo chmod +x /etc/init.d/myscript.sh
  3. Make the script start at bootup
    $ sudo update-rc.d myscript.sh defaults
Note: the option “defaults” puts a link to start your script in runlevels 2, 3, 4 and 5, and puts a link to stop in runlevels 0, 1 and 6.

Referenced from: