Phpmyadmin установка kali linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

installing phpmyadmin on kali linux

License

mehdifilban/phpmyadmin

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

Читайте также:  Veeam agent linux настройка

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

installing phpmyadmin on kali linux

so guys if you have any issue to install phpMyAdmin on kali linux do the following things:

sudo apt-get install -y php php-tcpdf php-cgi php-mysqli php-pear php-mbstring php-gettext libapache2-mod-php php-common php- phpseclib php-mysql

Step 2: Install MariaDB Database Server

The next step is to install MariaDB database server. We already have comprehensive guides on this subject.

Step 3: Install Apache Web Server

sudo apt-get -y install apache2

Step 4: Download and Install latest phpMyAdmin on Ubuntu 18.04 / Debian 9

export VER=»4.8.5″ sudo apt-get install -y wget cd /tmp wget https://files.phpmyadmin.net/phpMyAdmin/$/phpMyAdmin-$-all-languages.tar.gz

cd /tmp wget https://files.phpmyadmin.net/phpMyAdmin/$/phpMyAdmin-$-english.tar.gz

tar xvf phpMyAdmin-$-english.tar.gz

OR tar xvf phpMyAdmin-$-all-languages.tar.gz

rm *.tar.gz sudo mv phpMyAdmin-* /usr/share/phpmyadmin

sudo mkdir -p /var/lib/phpmyadmin/tmp sudo chown -R www-data:www-data /var/lib/phpmyadmin

sudo cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php $cfg[‘blowfish_secret’] = ‘H2OxcGXxflSd8JwrwVlh6KW6s2rER63i’; $cfg[‘TempDir’] = ‘/var/lib/phpmyadmin/tmp’;

Step 5: Configure Apache web Server

sudo vim /etc/apache2/conf-enabled/phpmyadmin.conf

# phpMyAdmin default Apache configuration Alias /phpmyadmin /usr/share/phpmyadmin Options SymLinksIfOwnerMatch DirectoryIndex index.php AddType application/x-httpd-php .php SetHandler application/x-httpd-php php_value include_path . php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/ php_admin_value mbstring.func_overload 0 AddType application/x-httpd-php .php SetHandler application/x-httpd-php php_value include_path . php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/ php_admin_value mbstring.func_overload 0 # Authorize for setup AuthType Basic AuthName "phpMyAdmin Setup" AuthUserFile /etc/phpmyadmin/htpasswd.setup Require valid-user # Disallow web access to directories that don't need it Require all denied Require all denied Require all denied

You can restrict access from specific IP by adding line like below Require ip 127.0.0.1 192.168.18.0/24

Step 6: Visit phpMyAdmin Web interface

if have trouble to login with you mysql user and password create another one and that user will grant all privileges:

Читайте также:  Cripto pro csp linux

CREATE USER «mehdi»@»localhost» IDENTIDIED BY «Your password»;

GRANT ALL PRIVILEGES ON *.* TO ‘mehdi’@’localhost;

Источник

How To Install phpmyadmin on Kali Linux

In this tutorial we learn how to install phpmyadmin on Kali Linux.

What is phpmyadmin

This package allows administering of MySQL or MariaDB with a web interface.

It allows administrators to:

  • browse through databases and tables;
  • create, copy, rename, alter and drop databases;
  • create, copy, rename, alter and drop tables;
  • perform table maintenance;
  • add, edit and drop fields;
  • execute any SQL-statement, even multiple queries;
  • create, alter and drop indexes;
  • load text files into tables;
  • create and read dumps of tables or databases;
  • export data to SQL, CSV, XML, Word, Excel, PDF and LaTeX formats;
  • administer multiple servers;
  • manage MySQL users and privileges;
  • check server settings and runtime information with configuration hints;
  • check referential integrity in MyISAM tables;
  • create complex queries using Query-by-example (QBE), automatically connecting required tables;
  • create PDF graphics of database layout;
  • search globally in a database or a subset of it;
  • transform stored data into any format using a set of predefined functions, such as displaying BLOB-data as image or download-link;
  • manage InnoDB tables and foreign keys; and is fully internationalized and localized in dozens of languages.

There are three ways to install phpmyadmin on Kali Linux . We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.

Install phpmyadmin Using apt-get

Update apt database with apt-get using the following command.

After updating apt database, We can install phpmyadmin using apt-get by running the following command:

sudo apt-get -y install phpmyadmin 

Install phpmyadmin Using apt

Update apt database with apt using the following command.

Читайте также:  Linux one step back

After updating apt database, We can install phpmyadmin using apt by running the following command:

sudo apt -y install phpmyadmin 

Install phpmyadmin Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

After updating apt database, We can install phpmyadmin using aptitude by running the following command:

sudo aptitude -y install phpmyadmin 

How To Uninstall phpmyadmin on Kali Linux

To uninstall only the phpmyadmin package we can use the following command:

sudo apt-get remove phpmyadmin 

Uninstall phpmyadmin And Its Dependencies

To uninstall phpmyadmin and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove phpmyadmin 

Remove phpmyadmin Configurations and Data

To remove phpmyadmin configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge phpmyadmin 

Remove phpmyadmin configuration, data, and all of its dependencies

We can use the following command to remove phpmyadmin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge phpmyadmin 

References

Summary

In this tutorial we learn how to install phpmyadmin using different package management tools like apt, apt-get and aptitude.

Источник

Оцените статью
Adblock
detector