안녕하세요? 안드로이드 삼바를 죽인다음, AoL 에서 삼바 서버를 돌리도록 설정하는 게시글입니다.
참고글
https://cafe.naver.com/mk802/22857
참고 스크립트
https://github.com/djjproject/android_over_linux/tree/master/smbfix
1. 설정 영상
2. 스크립트 한방 설치
root@AOL-Debian:~# wget https://github.com/djjproject/android_over_linux/raw/master/smbfix/samba_fix.sh
root@AOL-Debian:~# chmod a+x samba_fix.sh
root@AOL-Debian:~# ./samba_fix.sh
Make backup for android samba service...
mv: cannot stat '/system/bin/smbd': No such file or directory
mv: cannot stat '/system/bin/nmbd': No such file or directory
Update repository index and install samba server...
Ign:1 http://ftp.lanet.kr/debian stretch InRelease
Hit:2 http://ftp.lanet.kr/debian stretch-backports InRelease
Hit:3 http://ftp.lanet.kr/debian stretch-updates InRelease
Ign:4 https://downloads.plex.tv/repo/deb public InRelease
Hit:5 http://ftp.lanet.kr/debian stretch Release
Hit:6 https://downloads.plex.tv/repo/deb public Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
69 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba is already the newest version (2:4.5.16+dfsg-1+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
Make backup for default smb.conf file...
Enable custom smb.conf configuration file...
--2020-03-07 22:44:17-- https://github.com/djjproject/android_over_linux/raw/master/smbfix/smb.conf
Resolving github.com (github.com)... 52.78.231.108
Connecting to github.com (github.com)|52.78.231.108|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/djjproject/android_over_linux/master/smbfix/smb.conf [following]
--2020-03-07 22:44:17-- https://raw.githubusercontent.com/djjproject/android_over_linux/master/smbfix/smb.conf
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10441 (10K) [text/plain]
Saving to: ‘/etc/samba/smb.conf’
/etc/samba/smb.conf 100%[====================================>] 10.20K --.-KB/s in 0.002s
2020-03-07 22:44:19 (5.96 MB/s) - ‘/etc/samba/smb.conf’ saved [10441/10441]
Installation Finished.
You must reboot device.
Do you want reboot? enter y. : y
root@AOL-Debian:~# stty: 'standard input': Input/output error
[info] Using makefile-style concurrent boot in runlevel 0.
[ ok ] Stopping Jellyfin Media Server: jellyfin.
[ ok ] Stopping UPnP devices daemon: MiniSSDPd.
[ ok ] Stopping Music Player Daemon: mpd.
[ ok ] Shutting down ALSA...done.
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Stopping NetBIOS name server: nmbd.
[ ok ] Stopping internet superserver: inetd.
Killing Plex Media Server: done
Stopping ftp server: pure-ftpd.
[ ok ] Stopping Samba AD DC daemon: samba.
[ ok ] Stopping SMB/CIFS daemon: smbd.
[ ok ] Stopping bittorrent daemon: transmission-daemon.
[ ok ] Stopping Tvheadend: tvheadend.
[ ok ] Stopping enhanced syslogd: rsyslogd.
System now Rebooting...
Connection closed.
3. 사용
감사합니다.
'AndroidOverLinux' 카테고리의 다른 글
pure-ftpd FTPS TLS 인증 사용하기 (394) | 2020.04.05 |
---|---|
MiniDLNA 1.2.1 with DSD / Cover Image (AoL) (420) | 2020.03.14 |
Jellyfin 설치하기 (dockerpull / no HW transcoding) (417) | 2020.03.01 |
PlexMediaServer 설치 에러 임시 해결 방법 (435) | 2020.03.01 |
AoL 에 torrssen 설치하기 (435) | 2020.01.05 |
댓글