Tags » CentOS

Mount a shared drive in virtualbox

This is mainly because I keep forgetting the commands for this…

sharename="whatever.you.want.to.call.it"; 
sudo mkdir /mnt/$sharename
sudo chmod 777 /mnt/$sharename
sudo mount -t vboxsf -o uid=1000,gid=1000 $sharename /mnt/$sharename
ln -s /mnt/$sharename $HOME/Desktop/$sharename… 21 more words
Centos

Data privacy ( LUKS )

cryptsetup luksFormat /dev/vdb1 ( insert password )
cryptsetup luksOpen /dev/vdb1 crypdisk

now you can format the device pointing the dev mapper :

mkfs -t ext4 /dev/mapper/vdb1… 35 more words

Fedora

How to Enable STARTTLS-Auth Method Roundcube on Postfix

# Configure on Postfix
# TLS parameters: nano /etc/postfix/main.cf
[ . . . ]
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes… 107 more words

Linux

How to receive email alerts on Selinux denials on RHEL and CentOS

Firts of all install a few packages to get started:

yum install setroubleshoot{-server,-plugins,-doc}

Assuming that the system has been configured to use an smpt relay do:

128 more words
Open Source

Linux shell script file for Start/Stop Weblogic Services

This time we are sharing a shell script for starting/stopping Weblogic services. This shell script can

  1. Start Weblogic Admin Server (after starting Node Manager)
  2. Once the Admin server started, you can start the forms and reports services using the Admin Console…
  3. 287 more words
Oracle Related

Install MySql from source on CentOS

Ở bài này sử dụng mysql-5.6.14.tar.gz trên CentOS 6.4 (64bit).
Các gói cần thiết để cài mysql-5.6.14:

  • cmake 2.8.12
  • gcc-c++
  • ncurses-devel
  • bison-devel

Cài hết các gói trên thì đến bước cài mysql: 104 more words

Centos