This is for my working space. So I would not concern about security on it. Just want to make it easy to do test on it.
---------------------------------------------------
[root@charlie ~]# yum install -y httpd php* mysql-server mod_ssl telnet
[root@charlie ~]# yum groupinstall "MySQL Database server"
[root@charlie ~]# yum groupinstall "MySQL Database client"
[root@charlie ~]# vim /etc/selinux/config
SELINUX=disabled
[root@charlie ~]# service iptables stop && chkconfig iptables off
[root@charlie ~]# vim /etc/httpd/conf/httpd.conf
ServerName charlie:80
#UserDir disabled
UserDir htdocs
<Directory /home/*/htdocs>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order allow,deny
Allow from all
Deny from all
</LimitExcept>
</Directory>
DirectoryIndex index.html index.html.var index.php
[root@charlie ~]# vim /etc/login.defs
UMASK 022
[root@charlie ~]# mkdir /etc/skel/htdocs/
[root@charlie ~]# vim /etc/bashrc
if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then
umask 002
else
umask 022
fi
Thursday, July 26, 2012
Tuesday, July 24, 2012
Where Should I Put My Blog....
At first I'd been looking for a VPS, WebHosting Space like (BlueHost, HostMonster,iPage....)
Then I found that I can just use Blogger belongs to Google. And it's quite convenient and easy to use !
I'm Gonna start to be a blogger now!
Then I found that I can just use Blogger belongs to Google. And it's quite convenient and easy to use !
I'm Gonna start to be a blogger now!
Meaningful To me!
This is my First Article.
Subscribe to:
Comments (Atom)