How To Install WeBid Auction on CentOS
How To Install WeBid Auction on CentOS
WeBid is an open source and cross platform auction software written in PHP. WeBid is released under the terms of the GNU General Public License (GPL). WeBid can be used for creating auction websites. The installation of WeBid is simple and is covered in this article.
To Install WeBid
Before installing WeBid you need to have LAMP server installed in your system. Once the LAMP server is installed, continue your installation of WeBid.
It is essential to download the WeBid installation package, so use the following command for the same purpose.
[root@linuxhelp1 Desktop]# wget http://jaist.dl.sourceforge.net/project/simpleauction/simpleauction/WeBid%20v1.2/WeBid-1.2.zip -O webid.zip
--2016-12-18 13:21:59-- http://jaist.dl.sourceforge.net/project/simpleauction/simpleauction/WeBid%20v1.2/WeBid-1.2.zip
Resolving jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting to jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)|150.65.7.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11121338 (11M) [application/octet-stream]
Saving to: ‘ webid.zip’
100%[======================================================================> ] 11,121,338 74.3KB/s in 88s
2016-12-18 13:23:27 (124 KB/s) - ‘ webid.zip’ saved [11121338/11121338]
Now,extract the downloaded package with the help of the following command.
[root@linuxhelp1 Desktop]# unzip webid.zip
Archive: webid.zip
6ba88283ce90e4f634b5dac234ee32f9e2d4bb52
creating: WeBid/
inflating: WeBid/.gitignore
&hellip
&hellip
&hellip
inflating: WeBid/yourbids.php
inflating: WeBid/yourfeedback.php
inflating: WeBid/yourmessages.php
Once the package is extracted move it to the document root directory on your server as follows.
[root@linuxhelp1 Desktop]# mv WeBid/ /var/www/html/linuxhelp1.com/
Now change the ownership for the directory
[root@linuxhelp1 Desktop]# chown -R apache:apache /var/www/html/linuxhelp1.com
Next Configure MariaDB server as follows.
[root@linuxhelp1 Desktop]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with or g. Your MariaDB connection id is 2 Server version: 5.5.50-MariaDB MariaDB Server Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. Type ' help ' or ' h' for help. Type ' c' to clear the current input statement. MariaDB [(none)]> SET GLOBAL sql_mode=' ' Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> CREATE USER webid Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> CREATE DATABASE webiddb Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> GRANT ALL PRIVILEGES ON webiddb.* TO ' webid' @' localhost' IDENTIFIED BY ' password' WITH GRANT OPTION Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> FLUSH PRIVILEGES Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> exit Bye
Create Apache VirtualHost for your WeBid Auction website.
create ‘ /etc/httpd/conf.d/vhosts.conf’ file
[root@linuxhelp1 Desktop]# nano /etc/httpd/conf.d/vhosts.conf
Add the following line to the file
IncludeOptional vhosts.d/*.conf
Now save the file and exit.
Next create the virtual host configuration file
[root@linuxhelp1 Desktop]# mkdir /etc/httpd/vhosts.d
[root@linuxhelp1 Desktop]# nano /etc/httpd/vhosts.d/linuxhelp1.com.conf
Once the file is created, configure it as follows.
< VirtualHost 192.168.5.108:80> ServerAdmin linuxhelp1.com DocumentRoot " /var/www/html/linuxhelp1.com/" ServerName yourdomain.com ServerAlias www.yourdomain.com ErrorLog " /var/log/httpd/yourdomain.com-error_log" CustomLog " /var/log/httpd/yourdomain.com-access_log" combined < Directory " /var/www/html/linuxhelp1.com/" > DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted < /Directory> < /VirtualHost>
Restart the apache web server with the help of following command.
[root@linuxhelp1 linuxhelp1.com]# systemctl restart httpd.service
Open the web browser and navigate to http://192.168.5.108/ The Installer page appears, Enter the Database information
The Installation is now complete.
Once the installation is complete, delete the install directory.
[root@linuxhelp1 linuxhelp1.com]#rm -rf install
Create admin account as follows.
Login with your username and password.
The Home page displays all the information related to the site.
You can view the settings page from the WeBid.
Click on the Interface tab to manage themes and to clear cache. You can also upload your site Logo here.
WeBid Auctions tab lets you to view all the auction details.
Comments ( 0 )
No comments available