'Linux & Windows'에 해당되는 글 28건

MariaDB10.04 mysql-workbench 연동 설치
sudo apt -y install software-properties-common gnupg2
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
echo "deb [arch=amd64] http://mariadb.mirror.liquidtelecom.com/repo/10.4/debian buster main" | sudo tee /etc/apt/sources.list.d/mariadb.list
sudo apt update
sudo apt install mariadb-server mariadb-client
sudo mysql_secure_installation 비밀번호 설정
mysql -u root -p
sudo systemctl enable mariadb
워크벤치 설정
apt-get install mysql-workbench-community

plasma5 snap 설치 
sudo snap install mysql-workbench-community
외부접속
mysql -u root -p
grant all privileges on*.* to 'root'@'%' identified by 'DB 비밀번호';
use mysql
select host,user, password  from user;
% root 추가됨
flush privileges; 저장
Mysql-Workbench 실행
localhost 127.0.0.1로 접속 테스트
mysql workbench 접속 안될경우 확인
gedit /usr/bin/mysql-workbench
WB_NO_GNOME_KEYRING=1 //주석 삭제 
systemctl restart mysql

apt install gnome-keyring 안될경우 설치

'Linux & Windows' 카테고리의 다른 글

Plank 환경설정  (0) 2020.09.19
ubuntu kali 단축키 설정  (0) 2020.09.19
Nginx kali php-fpm 설치  (0) 2020.09.18
Kali 2020 Plasma5 설치  (0) 2020.09.17
Samba 공유 설정  (0) 2020.09.17
블로그 이미지

AutoLoop

컴퓨터 하드웨어 소프트웨어 정보 각종 유틸리티 해외정보 가상화폐 코인 주식 차트 마케팅 컨설팅 자료모음 및 설명

,
Nginx + php7.4-fpm kali 설치
sudo apt-get update
sudo apt-get install nginx
nginx 시작 명령어
service nginx reload;
sudo /etc/init.d/nginx start
systemctl start nginx
상태확인
service nginx status
service php7.4-fpm status
netstat -lntp
journalctl -xe
  
방화벽 
sudo ufw allow 'Nginx HTTP'
시작
service nginx start
재시작 관련
service nginx restart
service php7.4-fpm restart
/etc/init.d/nginx restart
/etc/init.d/nginx reload
nginx -s reload
systemctl reload nginx
자동시작
systemctl enable nginx
php 설치 리스트
sudo apt install php7.4-fpm php7.4-common php7.4-mysql \
php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd \
php7.4-imagick php7.4-cli php7.4-dev php7.4-imap \
php7.4-mbstring php7.4-opcache php7.4-redis \
php7.4-soap php7.4-zip -y
테스트
nginx -t
php7.0-fpm -t
php.ini 수정
php.ini 위치찾기
php -i | grep "Loaded Configuration File"
locate php.ini
gedit /var/www/html/info.php

<?php phpinfo(); ?>

브라우저에서 localhost/info.php 
에러나 빈 블랙스크린일 경우 에는 설정파일 수정한다.
nginx 설정파일 수정
/etc/ngix/site-available/default

server {
   listen 80 default_server;
   listen [::]:80 default_server;

   root /var/www/html;
   # Add index.php to the list if you are using PHP
   index index.html index.htm index.nginx-debian.html;
   server_name my.example.com;
   location / {
       try_files $uri $uri/ =404;
    }
   location ~ \.php$ {
       include snippets/fastcgi-php.conf;
       fastcgi_pass unix:/run/php/php7.0-fpm.sock;
   }
}
default 수정후 안될경우
gedit /etc/nginx/fastcgi_params  
추가 
fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;

'Linux & Windows' 카테고리의 다른 글

ubuntu kali 단축키 설정  (0) 2020.09.19
MariaDB Mysql-WorkBench kali 설치  (0) 2020.09.18
Kali 2020 Plasma5 설치  (0) 2020.09.17
Samba 공유 설정  (0) 2020.09.17
Kali Plasma5 Ghost 테마 Dual 모니터 설정  (0) 2020.09.16
블로그 이미지

AutoLoop

컴퓨터 하드웨어 소프트웨어 정보 각종 유틸리티 해외정보 가상화폐 코인 주식 차트 마케팅 컨설팅 자료모음 및 설명

,
칼리 리눅스 2020 Plasma5 설치 인스톨 화면은 구글에 넘치도록 많으니 생략.
칼리 초기 설치시  xfce 기본 설정 해제
KDE Plasma 선택후 설치
설치 완료후 한글 설정
Ctrl + Alt + T  터미날 실행
한글입력 설정
apt-get install fcitx-hangul fcitx-lib* fonts-nanum*
안될경우 
apt --fix-broken install 설치후 재설치
reboot
apt-get update
apt-get upgrade
시스템 설정에 언어추가 설정 
지역설정 한국어언어 설치
사운드 체크 
*사운드 드라이버 검색중 Kali라는 스피커가 있는듯^^
lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller (rev 12)
04:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
06:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
07:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
사운드 장치가 있는지 확인
lspci -H1 | grep Audio
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
사운드장치만 보기
사운드 장치가 설정되어 있고 소리가 나오지 않는경우

Nvidia 드라이버를 재설치해본다
sudo apt -y full-upgrade -y
sudo apt install -y nvidia-driver nvidia-cuda-toolkit 개인설정으로 쿠다 드라이버 까지 설치해봄
sudo reboot
재설치후 확인
lspci | grep -i vga
nvidia-smi
apt-get install plank 
plank 시작프로그램 등록
apt-get install terminator
apt-get install gedit
apt-get install Wget && apt-get install curl
apt update 
apt upgrade
기본 개인설정 프로그램 설치
tor
git
docker
ohmyzsh 
google
go
dotnet core
nodejs
npm
yarn
nginx
php
mariadb
workbench 
vscode
atom
android-studio
qt5
Gimp
Blender

'Linux & Windows' 카테고리의 다른 글

MariaDB Mysql-WorkBench kali 설치  (0) 2020.09.18
Nginx kali php-fpm 설치  (0) 2020.09.18
Samba 공유 설정  (0) 2020.09.17
Kali Plasma5 Ghost 테마 Dual 모니터 설정  (0) 2020.09.16
주식 정보 서식 만들기  (0) 2020.09.14
블로그 이미지

AutoLoop

컴퓨터 하드웨어 소프트웨어 정보 각종 유틸리티 해외정보 가상화폐 코인 주식 차트 마케팅 컨설팅 자료모음 및 설명

,
Samba Kali Linux 2020 설정
설치 
apt-get update 
apt-get install  samba
systemctl sstart smbd
service smbd start
방화벽 설정 확인
ufw allow 'Samba'
작동확인
netstat -antp | grep smbd
or
systemctl status smbd
설정파일 수정
gedit /etc/samba/smb.conf
마지막 추가
[kali] <- 공유폴더 표시이름
comment = Document directory
path = /home/brian/kali
guest ok = yes
writeable = yes
read only = no
create mode = 0777
directory mode = 0777
사용자 패스워드설정 추가
smbpasswd -a 사용자 이름 -> smbpasswd -a prada 로그인계정 이름으로 설정해도 된다
공유폴더 생성
mkdir /home/brian/Kali
재시작
systemctl restart smbd
접속
접속하고자하는 ip
윈도우 \\192.000.000.000
리눅스 smb://192.000.000.000

'Linux & Windows' 카테고리의 다른 글

Nginx kali php-fpm 설치  (0) 2020.09.18
Kali 2020 Plasma5 설치  (0) 2020.09.17
Kali Plasma5 Ghost 테마 Dual 모니터 설정  (0) 2020.09.16
주식 정보 서식 만들기  (0) 2020.09.14
Node JS 설치  (0) 2020.09.12
블로그 이미지

AutoLoop

컴퓨터 하드웨어 소프트웨어 정보 각종 유틸리티 해외정보 가상화폐 코인 주식 차트 마케팅 컨설팅 자료모음 및 설명

,

칼리 리눅스 KDE Plasma5 테마 환경 설정  

 

테스트 서브컴3 사양

전체화면

모니터 설정

모니터 설정 60hz 설정 크기조정 2배

모니터 스피커 사용

 

'Linux & Windows' 카테고리의 다른 글

Kali 2020 Plasma5 설치  (0) 2020.09.17
Samba 공유 설정  (0) 2020.09.17
주식 정보 서식 만들기  (0) 2020.09.14
Node JS 설치  (0) 2020.09.12
Mysql WorkBench 설치  (0) 2020.09.12
블로그 이미지

AutoLoop

컴퓨터 하드웨어 소프트웨어 정보 각종 유틸리티 해외정보 가상화폐 코인 주식 차트 마케팅 컨설팅 자료모음 및 설명

,