Software Development, Linux, and Windows

Notes on Software Development, Linux, and Windows


Posts about Apache


Allow Apache/PHP on CentOS to connect to a remote database

The issue for me was that by defualt SELinux was preventing this access from happening. Perform the following steps on the machine running Apache. Login or swith user to root: su – Enter the following command: setsebool -P httpd_can_network_connect_db=1 NOTE: When I ran this command on my system which is a 2.8 GHz Pentium 4 [...]

Posted in Apache, CentOS, Linux, MySQL, PHP | Comments Off

Install Subversion on CentOS

Follow these steps to install Subversion on CentOS Login as, or switch user to root: su – Install packages: yum install mod_dav_svn subversion Edit the subversion.conf file that was just created for you in the previous step: cd /etc/httpd/conf.d vi subversion.conf LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so <Location /svn> DAV svn SVNParentPath /var/www/svn AuthType Basic [...]

Posted in Apache, CentOS, Linux, Subversion | Comments Off

Install WordPress on CentOS

Follow these steps to install WordPress on CentOS. Prerequisites: Install MySQL on CentOS 6.2 Install Apache and PHP on CentOS 6.2 Install WordPress: su – wget http://wordpress.org/latest.tar.gz tar -xvzf latest.tar.gz -C /var/www/html Create MySQL Database for WordPress: mysql -u root -p #create new user create user wordpress@localhost identified by “password”; #create new database create database [...]

Posted in Apache, CentOS, Linux, MySQL, WordPress | Comments Off

Install Apache and PHP on CentOS

Follow these steps to install Apache and PHP on CentOS. Install Apache and PHP components with PHP support for MySQL: yum install httpd php php-common php-mysql Start Apache: service httpd start Configure Apache to start at system startup: chkconfig httpd on

Posted in Apache, CentOS, Linux, MySQL, PHP | Comments Off