How to install Chive in Ubuntu
To install Chive in Ubuntu
Chive is a free, fast, user friendly applet for controlling MySQL Database. It is programmed in PHP language and has a graphical front end tool for analyzing the available database. Installation of Chive in Ubuntu is explained in this manual.
To install Chive
Utilize the following command to update the system repositories.
root@linuxhelp:~# apt-get update
Hit http://security.ubuntu.com wily-security InRelease
Hit http://security.ubuntu.com wily-security/main Sources
Hit http://security.ubuntu.com wily-security/restricted Sources
Hit http://security.ubuntu.com wily-security/universe Sources
Hit http://security.ubuntu.com wily-security/multiverse Sources
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Hit http://security.ubuntu.com wily-security/restricted amd64 Packages
.
.
Hit http://in.archive.ubuntu.com wily-backports/main i386 Packages
Hit http://in.archive.ubuntu.com wily-backports/restricted i386 Packages
Hit http://in.archive.ubuntu.com wily-backports/universe i386 Packages
Hit http://in.archive.ubuntu.com wily-backports/multiverse i386 Packages
Hit http://in.archive.ubuntu.com wily-backports/main Translation-en
Hit http://in.archive.ubuntu.com wily-backports/multiverse Translation-en
Hit http://in.archive.ubuntu.com wily-backports/restricted Translation-en
Hit http://in.archive.ubuntu.com wily-backports/universe Translation-en
Reading package lists... Done
Once the update is done, run the following command to install MySQL database packages.
root@linuxhelp:~# apt-get install mysql-server mysql-client mysql-common -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-server-5.6
mysql-server-core-5.6
Suggested packages:
libmldbm-perl libnet-daemon-perl libsql-statement-perl libipc-sharedcache-perl mailx tinyca
The following NEW packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libterm-readkey-perl mysql-client mysql-client-5.6 mysql-client-core-5.6 mysql-common
mysql-server mysql-server-5.6 mysql-server-core-5.6
.
.
.
Setting up libhtml-template-perl (2.95-2) ...
Setting up mysql-client (5.6.31-0ubuntu0.15.10.1) ...
Setting up mysql-server (5.6.31-0ubuntu0.15.10.1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Then install the required packages by utilizing the following command.
root@linuxhelp:~# apt-get install apache2 php5 php5-mysql php5-common libapache2-mod-php5 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 php5-cli php5-json php5-readline
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom php-pear php5-user-cache
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 php5 php5-cli php5-common
php5-json php5-mysql php5-readline
.
.
.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php5
Setting up php5 (5.6.11+dfsg-1ubuntu3.4) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Start and Enable the Apache services.
root@linuxhelp:~# systemctl start apache2
root@linuxhelp:~# systemctl enable apache2
apache2.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install enable apache2
Then download Chive from its official link,
Move the downloaded document into root directory and extract the package.
root@linuxhelp:~/Downloads# cd /var/www/html/ root@linuxhelp:/var/www/html# ls chive-master.zip index.html root@linuxhelp:/var/www/html# unzip chive-master.zip Archive: chive-master.zip 657678412e8f4a80f170c5fd12d277e3fb5302b2 creating: chive-master/ inflating: chive-master/.gitignore inflating: chive-master/.htaccess inflating: chive-master/README.md inflating: chive-master/archiveExport.sh creating: chive-master/assets/ extracting: chive-master/assets/.gitignore . . . inflating: chive-master/yii/zii/widgets/jui/CJuiResizable.php inflating: chive-master/yii/zii/widgets/jui/CJuiSelectable.php inflating: chive-master/yii/zii/widgets/jui/CJuiSlider.php inflating: chive-master/yii/zii/widgets/jui/CJuiSliderInput.php inflating: chive-master/yii/zii/widgets/jui/CJuiSortable.php inflating: chive-master/yii/zii/widgets/jui/CJuiTabs.php inflating: chive-master/yii/zii/widgets/jui/CJuiWidget.php
We need to remove the index.html file in the document root before extracting the package.
Rename the extracted directory and then change the ownership for the directory by running the following command.
root@linuxhelp:/var/www/html# mv chive-master chive
root@linuxhelp:/var/www/html# chown -R www-data:www-data /var/www/html/chive/
Now we have successfully installed Chive. Open the browser and dive into http://< IP_address> /chive
Login to Chive using the login credentials.


Comments ( 0 )
No comments available