:: Install MySQL 5.5 from source

35 sec read

:: What is MySQL
MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. – wikipedia
 
:: How to install MySQL 5.5 on Linux OpenSUSE
+ install dependency

zypper in cmake gcc gcc-c++ gcc33-c++ bison libaio-devel ncurses-devel  wget

+ create user and group

groupadd mysql
useradd -r -g mysql mysql 

+ download MySQL

wget //dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.17.tar.gz/from///mysql.mirrors.pair.com/

+ extract and compile MySQL

tar -xzf mysql-5.5.17.tar.gz
cd mysql-5.5.17
cmake .
make

+ installing MySQL

make install DESTDIR="/usr/local/mysql"
make install && make install scripts

+ setup mysql

chown -R mysql.mysql /usr/local/mysql/
cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf
/usr/local/mysql/scripts/mysql_install_db --user=mysql --ldata=/usr/local/mysql/data --basedir=/usr/local/mysql

+ starting mysql

/usr/local/mysql/bin/mysqld_safe --user=mysql &

+ testing

/usr/local/mysql/bin/mysql

 
:: links
+ Google
+ ServerFlux

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
sysadmin.id
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
sysadmin.id
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
sysadmin.id
15 sec read