Duck Hwan

1658393520

KALI Linux에 LAMP 스택을 설치하는 방법

LAMP 스택은 웹사이트와 웹 애플리케이션을 만드는 데 사용할 수 있는 오픈 소스 소프트웨어 세트입니다. 이 가이드에서는 KALI Linux에 LAMP Stack을 설치하는 방법을 배웁니다.

KALI Linux에서 LAMP 서버를 생성하려면 다음 단계를 따르세요.

 

  1. 시스템을 업데이트하십시오.

sudo apt-get update

2. Apache2를 설치합니다.

sudo apt-get install apache2

3. Apache2 서버를 시작/재시작/중지하려면:

$ /etc/init.d/apache2 start/stop/restart

4. MySQL을 설치하고 서비스를 시작합니다.

$ sudo /etc/init.d/mysql start

$ sudo mysql_secure_installation

5. PHP를 설치합니다(php7.0은 PHP의 최신 버전입니다).

$ sudo apt-get -y install php7.0 libapache2-mod-php7.0

//서버 재시작

$ systemctl restart apache2

6. 작동 여부를 확인하십시오.

$ cd /var/www/html

$ touch info.php

$ nano info.php

에 아래 코드를 입력하십시오 Info.php.

<?php

phpinfo();

?>

구하다 -CTRL+O+enter

출구 -CTRL+X+enter

7. 이제 브라우저를 열고 http://localhost/info.php 를 방문하십시오 . 

이제 KALI Linux에 LAMP Stack을 성공적으로 설치할 수 있습니다.

What is GEEK

Buddha Community

Duck Hwan

1658393520

KALI Linux에 LAMP 스택을 설치하는 방법

LAMP 스택은 웹사이트와 웹 애플리케이션을 만드는 데 사용할 수 있는 오픈 소스 소프트웨어 세트입니다. 이 가이드에서는 KALI Linux에 LAMP Stack을 설치하는 방법을 배웁니다.

KALI Linux에서 LAMP 서버를 생성하려면 다음 단계를 따르세요.

 

  1. 시스템을 업데이트하십시오.

sudo apt-get update

2. Apache2를 설치합니다.

sudo apt-get install apache2

3. Apache2 서버를 시작/재시작/중지하려면:

$ /etc/init.d/apache2 start/stop/restart

4. MySQL을 설치하고 서비스를 시작합니다.

$ sudo /etc/init.d/mysql start

$ sudo mysql_secure_installation

5. PHP를 설치합니다(php7.0은 PHP의 최신 버전입니다).

$ sudo apt-get -y install php7.0 libapache2-mod-php7.0

//서버 재시작

$ systemctl restart apache2

6. 작동 여부를 확인하십시오.

$ cd /var/www/html

$ touch info.php

$ nano info.php

에 아래 코드를 입력하십시오 Info.php.

<?php

phpinfo();

?>

구하다 -CTRL+O+enter

출구 -CTRL+X+enter

7. 이제 브라우저를 열고 http://localhost/info.php 를 방문하십시오 . 

이제 KALI Linux에 LAMP Stack을 성공적으로 설치할 수 있습니다.

Ethical Hacking: Introducing Kali Linux

Kali Linux is a purpose built security operating system with a large variety of popular penetration testing tools. It is an open source project that is maintained and funded by Offensive Security. In addition to Kali Linux, Offensive Security also maintains the Exploit Database.

I’m going to guide you through a Kali Linux installation using Virtual Box. The first step is to download and install Virtual Box for your operating system.

You will then want to make your way to the Kali Linux download page and download the latest “Kali Linux 64-Bit (Installer)” ISO. Be warned it can take a while as the current version is 3.7G.

Open Virtual Box and click on the New button.

Image for post

On this page you need to supply the following:

  • Name — the name of your virtual machine
  • Machine Folder — the location of where your virtual machine will be created
  • **Type **— Linux
  • Version — Other Linux (64-bit)
  • **Memory **— I used 8192MB but it’s really up to you.

Image for post

All you have to do here is specify how large your virtual machine should be. I used 30 GB. You could allocate less but I wouldn’t really want to go lower than 10 GB.

Image for post

You will arrive back at the main Virtual Box page. Right-click on your Kali virtual machine and go to Settings.

Image for post

This step is optional but under “General”, then “Advanced” I usually set the “Shared Clipboard” and the “Drag’n’Drop” to “Bidirectional”.

Image for post

The next step is under “Storage”, select your DVD drive, and next to “Optical Drive” click on the blue disc. Then “Choose a disk file” and select your new Kali ISO.

Image for post

This step is optional but I find sometimes on my Mac enabling audio in Virtual Box causes the virtual machine not to boot. I don’t use the audio in my virtual machines so I disable it.

Image for post

I recommend changing your “Attached to:” from “NAT” to “Bridged Adapter”. If all connections would be outbound then “NAT” would be fine. I want to be able to serve external services like “DVWA” so allowing the virtual machine to assign its own IP address is preferable. You would do the same with NAT by opening up mappings but it is a pain so I wouldn’t recommend it.

Image for post

#ethical-hacking #kali-linux #virtualbox #kali #linux

Duck Hwan

1658396364

Ubuntu에 LAMP 스택을 설치하는 방법

LAMP 스택은 웹 애플리케이션을 구축 및 제공하기 위해 오픈 소스 구성 요소를 사용하는 인기 있는 소프트웨어 번들입니다.

LAMP는 1990년대 후반부터 웹 개발의 기반이 되었기 때문에 개발자들은 LAMP를 알고 있습니다. 운영 체제(Linux), 웹 서버(Apache), 데이터베이스 서버(MySQL) 및 프로그래밍 언어(PHP)를 위한 오픈 소스 도구를 갖춘 LAMP 스택은 상용 소프트웨어 개발자와 경쟁할 수 있는 효율적이고 유연한 방법입니다. 오늘날 인터넷의 최대 80%가 오픈 소스 프로그래밍과 소프트웨어를 사용하는 것으로 추정됩니다. 

이 튜토리얼에서는 Ubuntu에 LAMP 스택을 설치하는 방법을 배웁니다.

컴퓨터에 LAMP를 설치하려면 다음 단계를 따르십시오.

1단계: 시스템 업데이트

sudo apt-get update

2단계: MySQL 설치

sudo apt-get install mysql-server mysql-client libmysqlclient-dev

3단계: Apache 서버 설치

sudo apt-get install apache2 apache2-doc apache2-npm-prefork apache2-utils libexpat1 ssl-cert

4단계: PHP 설치(php7.0 최신 버전의 PHP)

sudo apt-get install libapache2-mod-php7.0 php7.0 php7.0-common php7.0-curl php7.0-dev php7.0-gd php-pear php-imagick php7.0-mcrypt php7.0-mysql php7.0-ps php7.0-xsl

5단계: Phpmyadmin 설치(데이터베이스용)

sudo apt-get install phpmyadmin

Duck Hwan

1658752740

Linux에 Python을 설치하는 방법

오늘의 기사에서는 Python을 설치하는 방법과 초보자를 위한 가상 환경을 만드는 방법을 보여줍니다. python --version 터미널 명령을 사용하여 Python이 이미 설치되어 있는지 여부와 설치된 경우 어떤 버전이 있는지 확인합니다. Linux 시스템에 Python이 설치되어 있지 않거나 업데이트된 버전을 설치하려면 아래 단계를 따르세요.

1단계: 먼저 Python 빌드에 필요한 개발 패키지를 설치합니다.

데비안:

$ sudo apt update
$ sudo apt install build-essential zlib1g-dev \
libncurses5-dev libgdbm-dev libnss3-dev \
libssl-dev libreadline-dev libffi-dev curl

페도라:

$ sudo dnf groupinstall development

2단계: 안정적인 최신 Python 3 릴리스 다운로드

공식 Python 웹 사이트 를 방문하여 최신 버전의 Python 3을 다운로드하십시오. 다운로드가 완료되면 Python 소스 코드가 포함된 .tar.xz 아카이브 파일("tarball")이 생성됩니다.

3단계: 타르볼 추출

다운로드가 완료되면 선택한 추출기 응용 프로그램이나 Linux tar 명령 을 사용하여 tarball을 추출합니다 . 예를 들면 다음과 같습니다.

$ tar -xf Python-3.?.?.tar.xz

4단계: 스크립트 구성

Python tarball이 추출되면 구성 스크립트로 이동하여 다음을 사용하여 Linux 터미널에서 실행합니다.

$ cd Python-3.*
./configure

구성에 다소 시간이 걸릴 수 있습니다. 계속하기 전에 성공적으로 완료될 때까지 기다리십시오.

5단계: 빌드 프로세스 시작

시스템에 이미 Python 버전이 설치되어 있고 함께 새 버전을 설치하려면 다음 명령을 사용하십시오.

$ sudo make altinstall

빌드 프로세스에는 시간이 걸릴 수 있습니다.

현재 버전의 Python을 이 새 버전으로 바꾸려면 패키지 관리자(예: apt 또는 dnf )를 사용하여 현재 Python 패키지를 제거한 다음 다음을 설치해야 합니다.

$ sudo make install

6단계: 설치 확인

오류가 발생하지 않았다면 이제 최신 Python이 Linux 시스템에 설치된 것입니다. 이를 확인하려면 터미널에 다음 명령 중 하나를 작성하십시오.

python3 --version

또는

python --version

출력에 Python 3.x 가 표시 되면 Python 3이 성공적으로 설치된 것입니다.

가상 환경 만들기(선택 사항)

Python은 venv (가상 환경)라는 패키지를 제공하며, 이는 프로그램 디렉토리나 패키지를 다른 디렉토리에서 분리하는 데 도움이 됩니다.

가상 환경을 생성하려면 Python 터미널에 다음을 입력합니다(이 예에서는 설치한 Python 버전이 3.8 시리즈라고 가정).

python3.8 -m venv example

이 명령은 일부 하위 디렉터리가 있는 새 디렉터리( 예제 이름을 지정함)를 만듭니다.

가상 환경을 활성화하려면 다음을 입력하십시오.

$ source example/bin/activate
(example) $

이제 터미널 프롬프트( $ ) 앞에 환경 이름이 옵니다.

가상 환경을 비활성화하려면 deactivate 명령을 사용합니다.

(example) $ deactivate

Yoav Reisler

1576053797

Kali Linux WiFi

Need to get a WiFi connection working with Kali Linux? This video shows you how. I explain which network cards will work with Kali Linux and why. I show you how to fix multiple issues with Kali Linux and Wi-Fi adapters to get monitoring and injection working. In this video I am using Kali Linux 2019.4 running as a virtual machine (VM) within VirtualBox. I also demonstrate the process to get Wireless working with Kali and VMware Workstation Pro.

It’s important that you as a network professional know how to protect networks. Even the new Cisco CCNA 200-301 exam covers some of these network security topics. Don’t just learn the theory penetration testing, learn how to pentest practically.

Menu:
Overview: 0:01
Why specific Network Cards: 0:20
RTL8812AU Chipset: 0:42
Recommended Wireless NICs to use with Kali: 1:00
Kali 2019.4 and topics: 1:20
Download Kali Linux 2019.4 2:28
Import Kali Linux into VirtualBox: 4:00
Fix USB Issues with VirtualBox Extension Pack: 5:10
Start Kali Linux: 7:43
Connect USB NIC To Kali: 9:15
Install RTL8812AU Chipset Kali Linux Drivers: 10:15
Troubleshoot Issues with USB Drivers: 12:20
Install github drivers to solve issues: 13:39
WiFi is working on Kali! 16:25
Use Kali Linux WiFi Tooks: 16:50
VMware Workstation Kali Linux Wifi: 20:30
Kali 2019.4 Undercover Mode: 21:54

#kali #kalilinux #wifi