{"id":19358,"date":"2016-06-10T07:53:00","date_gmt":"2016-06-10T12:53:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=19358"},"modified":"2022-12-13T13:57:14","modified_gmt":"2022-12-13T19:57:14","slug":"how-to-install-webid-auction-software-on-centos","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-webid-auction-software-on-centos\/","title":{"rendered":"How to install WeBid auction software on CentOS"},"content":{"rendered":"
<\/p>\n
In this tutorial, we will show you how to install WeBid on a CentOS 7 VPS<\/strong> with Apache, PHP and MySQL installed on it. WeBid is an open source auction software written in PHP. It is the best solution to build auction web sites. This tutorial was tested and written for a CentOS VPS<\/a>, but it should work on any RPM based Linux distribution. Let’s start with the installation procedure. Make sure your server OS packages are fully up-to-date:<\/p>\n Install PHP dependencies:<\/p>\n Download the latest version of the WeBid auction software available at http:\/\/www.webidsupport.com\/download.php and extract it to a directory on your server accessible by the web server (e.g. \/var\/www\/html\/your-domain.com\/) using the following commands:<\/p>\n Do not forget to replace your-domain.com with your actual domain name. Do not forget to replace ‘your-password’ with a strong password. Then, create a new Apache configuration file on your virtual server:<\/p>\n Edit the ‘your-domain.com.conf’ configuration file:<\/p>\n and add the following lines to it:<\/p>\n Set proper file permissions for the Apache web server to write to the document root (‘\/var\/www\/html\/your-domain.com’) directory of the WeBid auction web site:<\/p>\n Restart the Apache web server for the changes to take effect:<\/p>\n Open your favorite web browser, navigate to http:\/\/your-domain.com\/ , start the installation process and follow the easy instructions. Enter the WeBid administrator email address, then enter the database connection settings: If the installation process completed successfully, open http:\/\/your-domain.com\/admin and create an administrator user account, then log in to the administration back-end of the WeBid auction web site at http:\/\/your-domain.com\/admin\/login.php using the newly created administrator account.<\/p>\n <\/p>\n That is it. The WeBid installation is now complete.<\/p>\n Of course you don’t have to do any of this if you use one of our Powerful CentOS VPS<\/a> Hosting services, in which case you can simply ask our expert Linux admins to install WeBid auction software<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" In this tutorial, we will show you how to install WeBid on a CentOS 7 VPS with Apache, PHP and … <\/p>\n
\n
\nThis install guide assumes that Apache, MySQL and PHP are already installed and configured on your virtual server. At the time of writing this tutorial, the latest version of WeBid is 1.2 and it requires:<\/p>\n\n
yum clean all \r\nyum update<\/pre>\n
yum install php-bcmath php-pdo php-gd<\/pre>\n
cd \/opt\/ \r\nwget http:\/\/jaist.dl.sourceforge.net\/project\/simpleauction\/simpleauction\/WeBid%20v1.2\/WeBid-1.2.zip -O webid.zip\r\nunzip webid.zip\r\nmv WeBid\/ \/var\/www\/html\/your-domain.com\r\n<\/pre>\n
\nNext, create a new MySQL database for WeBid to use and assign a user to it with full permissions:<\/p>\nmysql -u root -p\r\nmysql> SET GLOBAL sql_mode='';\r\nmysql> CREATE USER webid;\r\nmysql> CREATE DATABASE webiddb;\r\nmysql> GRANT ALL PRIVILEGES ON webiddb.* TO 'webid'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\n
\nCreate a new virtual host directive in Apache. Edit the main Apache configuration file (\/etc\/httpd\/conf\/httpd.conf) and add the following line at the end if it is not already done so:<\/p>\nvi \/etc\/httpd\/conf\/httpd.conf<\/pre>\n
IncludeOptional conf.d\/*.conf<\/pre>\n
touch \/etc\/httpd\/conf.d\/your-domain.com.conf<\/pre>\n
vi vi \/etc\/httpd\/conf.d\/your-domain.com.conf<\/pre>\n
<VirtualHost *:80>\r\nServerAdmin admin@your-domain.com\r\nDocumentRoot \/var\/www\/html\/your-domain.com\/\r\nServerName your-domain.com\r\nServerAlias www.your-domain.com\r\n<Directory \/var\/www\/html\/your-domain.com\/>\r\nDirectoryIndex index.html index.php\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nRequire all granted\r\n<\/Directory>\r\nErrorLog \"\/var\/log\/httpd\/your-domain.com-error_log\"\r\nCustomLog \"\/var\/log\/httpd\/your-domain.com-access_log\" combined\r\n<\/VirtualHost><\/pre>\n
sudo chown -R apache:apache \/var\/www\/html\/your-domain.com\/<\/pre>\n
service apache2 restart<\/pre>\n
\nDatabase Host: localhost
\nDatabase Username: webid
\nDatabase Password: *your-password*
\nDatabase Name: webiddb
\nand click on the ‘install’ button.
\nOn the next page, click on the ‘step2’ hyperlink and make a note of the random code shown.
\nFor security reasons you should delete the install directory:<\/p>\nrm -rf \/var\/www\/html\/your-domain.com\/install\/<\/pre>\n
\n