Jan D.

Jan D.

"The only real security that a man will have in this world is a reserve of knowledge, experience, and ability."

Motion service check / stop

[jandra@drash ~]$ ps -ef | grep motionmotion 553 1 2 20:51 ? 00:00:02 /usr/bin/motion -njandra 3536 3312 0 20:53 pts/1 00:00:00 grep –color=auto motion [root@drash ~]# service motion stopRedirecting to /bin/systemctl stop motion.service [root@drash ~]# ps -ef | grep motion

VMware Kernel headers FC20

[root@drash 3.11.9-300.fc20.i686+PAE]# cp [root@drash 3.11.9-300.fc20.i686+PAE]# uname -a Linux drash 3.11.9-300.fc20.i686+PAE #1 SMP Wed Nov 20 22:37:38 UTC 2013 i686 i686 i386 GNU/Linux [root@drash 3.11.9-300.fc20.i686+PAE]#

FC20 upgrade, skip broken packages

—> Package vlc-core.i686 0:2.1.4-2.fc21 will be an update –> Processing Dependency: libgcrypt.so.20 for package: vlc-core-2.1.4-2.fc21.i686 –> Processing Dependency: libgcrypt.so.20(GCRYPT_1.6) for package: vlc-core-2.1.4-2.fc21.i686 –> Finished Dependency Resolution Error: Package: vlc-core-2.1.4-2.fc21.i686 (rpmfusion-free-rawhide) Requires: libgcrypt.so.20(GCRYPT_1.6) Error: Package: gstreamer-plugins-ugly-0.10.19-16.fc21.i686 (rpmfusion-free-rawhide) Requires: libcdio.so.15 Error: Package:…

VMware validate kernel headers Fedora 20

[root@drash 3.11.9-300.fc20.i686+PAE]# vmware-modconfig –console –validate-kernel-headers -k 3.11.9-300.fc20.i686+PAE [root@drash 3.11.9-300.fc20.i686+PAE]# vmware-modconfig –console –validate-kernel-headers -k 3.11.9-300.fc20.i686+PAE [root@drash 3.11.9-300.fc20.i686+PAE]# vmware-modconfig –console –install-status vmmon: unknown vmnet: unknown vmblock: unknown vmci: other vsock: other

Identify kernel version

[root@drash ~]# uname -a Linux drash 3.11.9-300.fc20.i686+PAE #1 SMP Wed Nov 20 22:37:38 UTC 2013 i686 i686 i386 GNU/Linux   [root@drash 3.11.9-300.fc20.i686+PAE]# rpm -qa|grep kernel kernel-3.11.9-300.fc20.i686 libreport-plugin-kerneloops-2.1.9-1.fc20.i686 kernel-PAE-3.11.8-300.fc20.i686 kernel-devel-3.13.6-200.fc20.i686 kernel-3.12.6-300.fc20.i686 kernel-PAE-3.11.9-300.fc20.i686 kernel-3.13.6-200.fc20.i686 kernel-devel-3.11.9-300.fc20.i686 kernel-devel-3.12.6-300.fc20.i686 kernel-modules-extra-3.11.9-300.fc20.i686 kernel-headers-3.12.6-300.fc20.i686 abrt-addon-kerneloops-2.1.9-1.fc20.i686 kernel-PAE-3.11.7-300.fc20.i686 kernel-PAE-devel-3.13.6-200.fc20.i686 [root@drash…

Create user with assigned DB script

#!/bin/bash echo-n „Enter the MySQL root password: “ read-s rootpw echo-n „Enter database name: “ readdbname echo-n „Enter database username: “ readdbuser echo-n „Enter database user password: “ readdbpw db=“create database $dbname;GRANT ALL PRIVILEGES ON $dbname.* TO $dbuser@localhost IDENTIFIED BY…

VMware soft kill VM process

/var/log # esxcli vm process list Win7 World ID: 54873 Process ID: 0 VMX Cartel ID: 54870 UUID: 56 4d f9 f5 2e 21 53 f2-5f 54 7a 4b 30 cc 28 f6 Display Name: Win7 Config File: CentOS…

Add USB to Virtual Machine in VMWare

I did struggle a bit when connecting USB to VMWare so here you find guide to save you some time. After VMWare 5.5 installation my USB was grey and could not mount it at all You need to select your…