Jul
28
Building Web server
Read the rest of this entry »[note]
- Ubuntu 10.04 Desktop
- Apacher 2
- MySQL 5
- PHP 5
- FTP server
- Why is Ubuntu? I tested a few live-CDs with 32- and 64-bit systems, and the only one started and was working smoothly on my laptop was Ubuntu 10.04 32-bit. The problem with 64-bit was, of course, support Adobe Flash and some other desktop features.
- If it’s necessary, set Ubuntu Linux root password:
$sudo passwd root
- Share /var/www directory to have access from another Windows PC. If for Windows computer is not in default WORKGROUP , it will be better to change its name in samba configuration file at
/etc/samba
- Apache mod_rewrite
- Modify configuration file in /etc/apache2/site-available
<Directory /var/www> AllowOverride All </Directory>
- It’s installed as an Apache modules
- Additional modules: gd and curl
- The problem with phpmysqladmin installation is the package is inaccessible through local web server. So, I think the easiest way is to create a link to that folder from the web server’s root directory.
$sudo ln -s /usr/share/phpadmin /var/www
- You do not need to have FTP server installed until your working/playing with WordPress and you would like to use auto update feature.
- Uncomment the line
#local_enable=YES in
/etc/vsftpd.conf
- Now we can try to assign the static IP address to the web server to provide access from anywhere by using DDN service.
- Static IP address is used for wired connection
- PROBLEM: failed to bind mySQL to the static IP address, so it accessible only with phpamin
- PROBLEM: to get access to the Windows computers I have to to use wireless card with DHCP