Parrot OS是一款基于Debian的Linux发行版,专注于保险、隐私跟浸透测试。它供给了一个富强的平台,可能用于数据库管理任务。本文将介绍如何在Parrot OS上轻松上手数据库管理,包含安装、设置跟利用罕见数据库体系的步调。
以下将介绍在Parrot OS上安装MySQL跟PostgreSQL的步调。
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
,按照提示设置root密码、删除匿名用户、禁止root远程登录等。sudo systemctl start mysql
,sudo systemctl enable mysql
sudo apt update
sudo apt install postgresql postgresql-contrib
sudo su - postgres
,运转psql
,然后创建数据库用户跟数据库。sudo systemctl start postgresql
,sudo systemctl enable postgresql
在Parrot OS上,你可能利用以下东西停止数据库管理:
phpMyAdmin是一个基于Web的MySQL数据库管理东西。
sudo apt install phpmyadmin
http://localhost/phpmyadmin/
,按照提示停止设置。pgAdmin是一个基于Web的PostgreSQL数据库管理东西。
sudo apt install pgadmin3
http://localhost/pgadmin3/
,按照提示停止设置。经由过程在Parrot OS上安装跟设置数据库管理体系,你可能轻松上手数据库管理。控制这些东西跟技能将有助于你在保险情况中停止数据库管理跟保护。