Monday, December 8, 2008

Linux commnads , rpm ,search

linux apache basics
http://www.alwanza.com/howto/linux/apache.html

Search command

find / -type f -name httpd

Apache installed on:

/usr/local/apache

http://hostlibrary.com/installing_apache_mysql_php_on_linux

apache2 and php5 (Mod_) :Installation:

http://dan.drydog.com/apache2php.html



"chcon libphp5.so -t shlib_t" changed to "chcon -t texrel_shlib_t libphp5.so" works

Installation Procedure:
http://www.php.net/manual/en/install.unix.php

which arhitecture belongs to your linux:i386 or x86_64
rpm -qa --qf "%{n}-%{arch}\n"


package details:
rpm -qi mysql

which package install with its details...
rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n" | less


mysql runnig or not:
ps aux | grep [m]ysqld.

::::::::::::::::::::::::::
file transfer from window to linux
pscp ./php-5.2.5.tar.gz root@172.16.3.22:/usr/local/

from linux to linux

No comments: