Entradas

how to compile VLC on CENTOS

how to compile VLC on CENTOS yum install compat-gcc-34 compat-gcc-34-c++ cd /usr/src wget http://download.videolan.org/pub/videolan/vls/0.5.6/vls-0.5.6.tar.gz wget http://download.videolan.org/pub/videolan/vls/0.5.6/contrib/libdvb-0.2.2.tar.gz wget http://download.videolan.org/pub/videolan/vls/0.5.6/contrib/libdvbpsi3-0.1.4.tar.gz wget http://download.videolan.org/pub/videolan/vls/0.5.6/contrib/libdvdcss-1.2.8.tar.gz wget http://download.videolan.org/pub/videolan/vls/0.5.6/contrib/libdvdread-0.9.4.tar.gz tar -zxf vls-0.5.6.tar.gz tar -zxf libdvb-0.2.2.tar.gz tar -zxf libdvbpsi3-0.1.4.tar.gz tar -zxf libdvdcss-1.2.8.tar.gz tar -zxf libdvdread-0.9.4.tar.gz cd /usr/src/libdvb-0.2.2 make make install cd /usr/src/libdvbpsi3-0.1.4 ./configure --prefix=/usr make make install cd /usr/src/libdvdcss-1.2.8 ./configure --prefix=/usr make make install cd /usr/src/libdvdread-0.9.4 ./configure --prefix=/usr make make install cd /usr/src/vls-0.5.6 ## Now you shoul

centos how to remove apache

centos how to remove apache yum erase httpd

Accounting Utilities Linux

Connect Accounting Utilities Here is a list of commands you can use to get data about user logins: who         Shows a listing of currently logged-in users. w           Shows who is logged on and what they are doing. last        Shows a list of last logged-in users, including login time, logout time, login IP address, etc. lastb       Same as last, except that by default it shows a log of the file /var/log/btmp , which contains all the bad login attempts. lastlog      This command reports data maintained in /var/log/lastlog , which is a record of the last time a user logged in. ac          Prints out the connect time in hours on a per-user basis or daily basis etc. This command reads /var/log/wtmp . dump-utmp   Converts raw data from /var/run/utmp or /var/log/wtmp into ASCII-parsable format.

httpd_sys_content_t apache linux

Permission denied: access to /index.html denied chmod 777 /home/websites **warning with 777 chcon -R -h -t httpd_sys_content_t /home/websites

Creating a ssh key no password

Creating a ssh key no password SSH login without password Password -less logins with OpenSSH How to set up ssh so you aren't asked for a password showcase: pc1: your pc pc2: remote server     1. In the local pc1 run  ssh-keygen then.. in the same local pc1 run the next following commando cat ~/.ssh/id_rsa.pub | ssh [email protected] "cat >> ~/.ssh/authorized_keys"

INSTALLING HADOOP,HIVE,DERBY ON CENTOS

Please subscribe to my site www.jamesjara.com to get more tutorials. INSTALLING HADOOP IN centos 6 INSTALLING HIVE IN centos 6 INSTALLING DERBY IN centos 6 hadoop-0.20.203.0rc1 this is the guide for the installation of Hadoop ecosystem, is very extended so please follow step by step ====INSTALLATION===== 1. Installing java     yum  install sun-java6-jdk 2.Adding a dedicated user for hadoop This will add the user hdoopuser and the group hdoopgroup to your local machine.     /usr/sbin/useradd hdoopuser     groupadd hdoopgroup     usermod -a -G hdoopgroup hdoopuser 3.Configuring SSH     su - hdoopuser        #login as hdoopuser     ssh-keygen -t rsa -P ""    #generate key without password     cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys    #enable the new key     chmod 0600 $HOME/.ssh/authorized_keys    #enable empty password 4.Disabling IPv6     sed -i 's/^\(NETWORKING\s*=\s*\).*$/\NETWORKING=NO/' /etc/sysconfig/network 5.Installation/Conf/startup

copiar un archivo por medio de ssh

copiar un archivo por medio de ssh copiar un archivo por medio de ssh scp [email protected] current/ new/