history log를 보고 작성한 내용이라 정확하지 않을 수 있음.
vi는 현대사회의 키보드를 무시하는 편집기 이다. 그러므로 vim 먼저
sudo apt install vim -y
net-tools
sudo apt install net-tools -y
samba
sudo apt install samba -y
sudo ufw enable
sudo ufw allow samba
sudo ufw --list-all
sudo ufw status
sudo vim /etc/samba/smb.conf
sudo smbpasswd -a geagolas
home directory를 공유 폴더로 설정 위에서 패스워드 설정 및 유저 추가를 했기 때문에 Valid users에 포함된다.
[homes]
comment = Home Directories
browseable = no
read only = no
valid users = %S
세부사항은 아래 링크 참조
smb.conf
Name smb.conf — The configuration file for the Samba suite SYNOPSIS The smb.conf file is a configuration file for the Samba suite. smb.conf contains runtime configuration information for the Samba programs. The complete description of the file format and
www.samba.org
MySQL
sudo apt-get install mysql-server -y
sudo ufw allow mysql
sudo ufw allow mysql
sudo systemctl start mysql
sudo systemctl enable mysql
sudo apt-get install mysql-server -y
MySQL 설정
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
bind-ipaddress 수정
MyCLI (pip로 설치해야 delimiter 관련 에러가 발생하지 않는다)
sudo apt install python3-pip -y
sudo pip3 install mycli
'Linux_ubuntu' 카테고리의 다른 글
파이썬 코드 우분투 시작 프로그램 등록 (0) | 2022.05.14 |
---|---|
라즈베리파이에 우분투 서버 설치 (0) | 2022.05.14 |
MyCli Error (0) | 2022.04.21 |