CentOS and Oracle

https://wiki.centos.org/HowTos/Oracle12onCentos7 # rsync -cEhikLmrtz –progress –delete-after KIT/Oracle/linuxamd64_12102_databasese2 root@172.16.148.136:/root/KIT # scp KIT/Oracle/linuxamd64_12102_databasese2 root@172.16.148.137:/root/KIT # run as root … groupadd oinstall groupadd dba useradd -g oinstall -G dba oracle passwd oracle # For Intel N3150 CPU I changed the original “kernel.shmmax […]

Mount DAV directory

see http://linux.die.net/man/5/davfs2.conf # see http://www.freebsd.org/cgi/man.cgi?query=mandoc_char&sektion=7&apropos=0&manpath=NetBSD%2B6.0 -> for cq character # see http://passwordsgenerator.net/ # edit /etc/updatedb.conf: # PRUNEFS=”… davfs davfs2″ adrhcbImpl() { # sudo mkdir -p /mnt/adrhc # sudo chmod g+rw /mnt/adrhc # sudo chmod u+s /sbin/mount.davfs # sudo usermod […]

Compiling anything sync daemon

Environment variables NEW_BUILD_NAME=anything-sync-daemon NEW_BUILD_VER=5.76 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ubuntu_packages//$NEW_BUILD_NAME-* NEW_BUILD_NR=0 # rm -r $HOME/temp/$NEW_BUILD_NAME_AND_VER Download and unpack cd $HOME/compile wget http://repo-ck.com/source/anything-sync-daemon/anything-sync-daemon-5.76.tar.xz tar xpvf anything-sync-daemon-5.76.tar.xz Compilation cd $HOME/compile/anything-sync-daemon-5.76 with systemd use export DESTDIR=$HOME/temp/$NEW_BUILD_NAME_AND_VER;make V=1 install-systemd-all with upstart use export […]

Ubuntu 16.04 XRDP (remote desktop)

installation Consider ubuntu xrdp error problem connecting 5910 solution: tightvncserver MUST be installed before xrdp!!! sudo apt-get install xubuntu-desktop sudo apt-get install tightvncserver sudo apt-get install xrdp sudo usermod -aG xrdp adr configure XRDP (option 1) cat ~/.xsession echo ‘xfce4-session’ […]

Handling video in Linux

video exif tool sudo apt-get install libimage-exiftool-perl display video’s rotation exif exiftool -Rotation 20151024_132350.mp4 rotate the exif metadata only ffmpeg -i 20151024_132350.mp4 -metadata:s:v rotate=”0″ -vf “hflip,vflip” -c:v libx264 -crf 23 -acodec copy 20151024_132350b.mp4 resize to 720p ffmpeg -i IMG_0001.MOV -vf […]

/var/mail && thunderbird

See http://askubuntu.com/questions/1916/how-can-i-access-system-mail-in-var-mail-via-thunderbird. Create the account Thunderbird -> Edit -> Account settings -> Account Action -> Add Another Account -> Unix Mailspool (Movemail) Your Name: adr (mailspool) Email Address: adr@localhost Browse your mails Open Thunderbird then press Get Messages button; you […]

Linux errors/problems, tips & tricks

error # adr@adr-desktop:~$ su-to-root -X -c zenmap (gksu:24352): Gtk-WARNING **: cannot open display: adr@adr-desktop:~$ echo $DISPLAY … showing nothing … adr@adr-desktop:~$ export DISPLAY=:0.0 -> add this in .bashrc adr@adr-desktop:~$ su-to-root -X -c zenmap … now is working … # […]