setup php ext dir and enable mysqli extension.
and then
* important
copy libmysql.dll to windows/system
30 Tuesday Jun 2015
Posted server
insetup php ext dir and enable mysqli extension.
and then
* important
copy libmysql.dll to windows/system
17 Monday Nov 2014
Posted server
inThis problem is simply due to the /sbin path directive missing from the .bash_profile of your user. To correct this issue we simply add this directive by editing the users profile:
$ nano ~/.bash_profile
Here we are adding “PATH=$PATH:/sbin” under the existing PATH declaration as follows:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi# User specific environment and startup programs
PATH=$PATH:$HOME/bin
PATH=$PATH:/sbinexport PATH
export EDITOR=/usr/bin/nano
Now save, exit and restart your session and all should work as expected.
19 Tuesday Aug 2014
Posted server
inanonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
listen=YES
# no space allowed before and after ‘ = ‘
18 Monday Aug 2014
Posted server
insudo php5enmod mcrypt
18 Monday Aug 2014
Posted server
insudo vim /etc/apache2/apache2.conf
<Directory />
#Options FollowSymLinks
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Allow from all
</Directory>
vim /etc/apache2/sites-available/000-default.conf
11 Friday Jul 2014
Posted server
inapache2 설치
$sudo su
#apt-get install apache2
—————————————————————————
mysql 설치
#apt-get install mysql-server mysql-client
중간에 mysql root 암호 물어보는 페이지 나옴.
#apt-get install libapache2-mod-auth-mysql
—————————————————————————
php 설치
#apt-get install php5-mysql php5-gd php-pear php5-curl php5
#apt-get update
#apt-get install php5-mysql php5-gd php-pear php5-curl php5 (다시)
ftp 설치
$sudo apt-get install vsftpd
$sudo vi /etc/vsftpd.conf : 다음과 같이 수정한다.
anonymous_enable=NO
local_enable=YES //주석 제거
write_enable=YES //주석 제거
재시작
$sudo /etc/init.d/vsftpd restart
—————————————————————————————–
톰캣 설치
#apt-get install tomcat7 tomcat7-docs tomcat7-admin tomcat7-examples
03 Thursday Apr 2014
Posted server
inNameVirtualHost *:80
DocumentRoot /home/abc
ServerName http://www.abc.com
ServerAlias abc.com http://www.abc.com
Options FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
04 Tuesday Mar 2014