• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Chive in Ubuntu

{{postValue.id}}

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,

http://www.chive-project.com/

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
open_browser

Login to Chive using the login credentials.
chive_login
welcome_root

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

IS it like Phpmyadmin?

A

At some point they both serves for similar purpose

Q

Why should I update repo?

A

Inorder to keep all the system packages upto date

Q

Do I need to install both server and client mysql?

A

Yes you have to follow the same procedure

Q

Does it require anyother PHP modules?

A

For thr version shown in this tutorial it serves good

Q

The site is not active!.is it right ?

A

Yes it is no more in the active development

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.