myPCcfg-ATOM


Install build tools in CentOS
# yum groupinstall "Development Tools"
# yum install kernel-devel kernel-headers

Install LAMP Stack

yum -y update
->Apache
#yum install httpd httpd-devel
#/etc/init.d/httpd start
#chkconfig httpd on 
->Mysql
#yum install mysql mysql-server mysql-devel
#/etc/init.d/mysqld start
#chkconfig mysqld on
>>Set mysql password
#/usr/bin/mysqladmin -u root password 'abc123!'
#/usr/bin/mysql_secure_installation
>>Set mysql remote access
# mysql -u root -p 
# >GRANT ALL PRIVILEGES ON *.* TO 'user1'@'%' IDENTIFIED BY 'test123' WITH GRANT OPTION;
->Php
#yum install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml
#/etc/init.d/httpd restart 
->Php-Test
# vi /var/www/html/info.php


Setup Router
http://linux.vbird.org/linux_server/0230router.php

#vi /etc/sysctl.conf
  net.ipv4.ip_forward = 1
# sysctl -p 
-> setup shareBB script.
#

/etc/ssh
/etc/sudo
/etc/passwd, shadow
/etc/hosts.allow
/etc/http

autofs
haldaemon
kudzu
lm-sensors
netplugd (X)

download www.no-ip.com
compile no-ip2
#make
#make install (to configure)
/usr/local/bin/noip2
/usr/local/etc/no-ip2.conf
echo /usr/local/bin/noip2 >> /etc/rc.local
||
timyou.myftp.org
www.no-ip.com   timothyyou@yahoo.com.hk timothy

Labels: my.