Apache can be used to create a WEB server on Ubuntu7.10, mysql can be used in the database management system, and postfix can be used in the email system. The installation is very simple and free of charge. When a streaming media system can use helix, it will be charged and expensive. However, there is a cracked version everywhere on the Internet, which is available for personal testing and not for formal use. The following are some of my personal experiences during installation. 1. Add phpapachegdmys to ubuntu7.10
Apache can be used to create a WEB server on Ubuntu 7.10, mysql can be used in the database management system, and postfix can be used in the email system. The installation is very simple and free of charge. When a streaming media system can use helix, it will be charged and expensive. However, there is a cracked version everywhere on the Internet, which is available for personal testing and not for formal use. The following are some of my personal experiences during installation.
1. Add php apache gd mysql to ubuntu 7.10
Sudo apt-get install apache2 libapache2-mod-php5 php5 php5-gd mysql-server php5-mysql
After a while, ubuntu 7.10 will automatically install apache2, php5, and mysqlserver for you. From this point, ubuntu is very easy to install and easy to install.
2. Important files
Sudo/etc/init. d/apache2 restart (restart apache)
Sudo vim/etc/php5/apache2/php. ini (configure php. ini)
Sudo vim/etc/apache2/apache2.conf (configure apache2.conf)
/Var/www/(put The apache2 webpage file here)
/Var/lib/mysql/(put the mysql database here)
3. Modify php. ini and search for these items by yourself.
# Maximum size of a File Uploaded through post
Post_max_size = 800 M
# Change to the memory size you need
Memory_limit = 160 M
# Modifying the maximum file upload size
Upload_max_filesize = 800 M
Upload_tmp_dir =/tmp
Session. save_path =/tmp
# Add mysql and gd support
Extension = mysql. so
Extension = gd. so
4. Modify apache2.conf to set the VM.
Because I only have one IP address, set a port-based VM
Sudo vim/etc/apache2/apache2.conf
Input
# Listen 80 already exists. You do not need to enter
Listen 8080.
# Set virtual hosts Based on ports 80 and 8080
NameVirtualHost *: 80
Namevirtualhost*: 8080
ServerName www.yourdomain.org
DocumentRoot/var/www/domain-80
ServerName www.yourdomain.org
DocumentRoot/var/www/domain-8080