{"id":17304,"date":"2015-06-09T15:16:53","date_gmt":"2015-06-09T20:16:53","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17304"},"modified":"2022-12-15T06:42:00","modified_gmt":"2022-12-15T12:42:00","slug":"install-adminer-on-a-centos-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-adminer-on-a-centos-vps\/","title":{"rendered":"Install Adminer on CentOS"},"content":{"rendered":"
Adminer is written in PHP and it requires PHP 5 to be installed on your VPS. It works with MySQL, PostgreSQL, SQLite, Oracle, MS SQL, MongoDB, and other database systems. Some of the Adminer features are connecting to a database server with a username and password, selecting existing databases or creating new ones, export databases to SQL or CSV and many more. The full list of features can be found at http:\/\/www.adminer.org\/<\/a> which is the official Adminer website. The first thing you need to do is to create a directory for Adminer and download the Adminer installation. For this purpose you can use the following command:<\/p>\n Once Adminer is downloaded in your \/usr\/share\/adminer directory, next step is to configure your Apache web server. Create and edit the \/etc\/httpd\/conf.d\/adminer.conf file with the following command:<\/p>\n Add the following content to that file:<\/p>\n Please do not forget to replace 111.111.111.111 with your local IP address because you will not be able to access Adminer using a web browser. To find your IP address you can use this helpful tool.<\/p>\n After you enter your local IP address, save the file and close it.<\/p>\n The last step is to restart your Apache web server. To restart your Apache web server you can use the following command:<\/p>\n Congratulation, you are ready to use Adminer now. or<\/p>\n Please do not forget to replace yourdomain.com with one of your domain names hosted on the same server, or IP-address with the IP address of your server.<\/p>\n To log in, you can use your MySQL root user and password, or any other database user and its password.<\/p>\n For additional help or useful information, we recommend you to check the official Adminer web site.<\/p>\n PS. If you liked this post please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" Today we will show you how to install\u00a0Adminer on CentOS. Adminer is a database management tool written in PHP. It … <\/p>\nToday we will show you how to install\u00a0Adminer on CentOS<\/strong>. Adminer is a database management tool written in PHP. It is similar to phpMyAdmin and it is developed to improve security, user experience, performance etc. It is very lightweight and at the same time, it is very powerful. Today we are going to show you how to install Adminer on a Linux VPS<\/a>. Installing Adminer on CentOS is an easy task and it should take less than 10 minutes to complete. Let’s get started!
\n<\/p>\n
\nTo install Adminer on your CentOS VPS<\/a>, you need to log in to your server via SSH and execute several commands. If you do not know how to log in to your server via SSH<\/a>, we recommend you to check our guide about this topic. Otherwise, you are ready to go.<\/p>\nmkdir \/usr\/share\/adminer && cd \/usr\/share\/adminer && wget http:\/\/downloads.sourceforge.net\/adminer\/adminer-4.2.1.php -O index.php\r\n<\/pre>\n
nano \/etc\/httpd\/conf.d\/adminer.conf<\/pre>\n
Alias \/adminer \"\/usr\/share\/adminer\"\r\n<Directory \"\/usr\/share\/adminer\">\r\n AllowOverride All\r\n Options FollowSymlinks\r\n Order deny,allow\r\n Deny from all\r\n Allow from 111.111.111.111\r\n<\/Directory>\r\n<\/pre>\n
https:\/\/www.whatismyip.com\/<\/a><\/pre>\n
\/etc\/init.d\/httpd restart<\/pre>\n
\nTo access the web interface, you need to open your favorite web browser and navigate to:<\/p>\nhttp:\/\/yourdomain.com\/adminer<\/pre>\n
http:\/\/IP-address\/adminer<\/pre>\n
\nOf course, you don\u2019t have to do any of this if you use one of our Linux VPS hosting services<\/a>, in which case you can simply ask our expert Linux admins to install Adminer for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n