Ref
# apt install samba
# edit /etc/samba/smb.conf
create folder
# mkdir /var/samba
# chmod 777 /var/samba
Add this:
[public]
comment = public anonymous access
path = /var/samba/
browsable =yes
create mask = 0666
directory mask = 0777
writable = yes
guest ok = yes
# systemctl restart smbd
個人在學習Linux過程當中的個人筆記,提供個人及有需要的人查閱,若有錯誤歡迎提供指正,謝謝。 This Blog recorded notes about my learning Linux and provides myself and others reference. If there are any incorrect information, welcome to leave a message to correct me, Thanks.
2018年7月12日 星期四
2018年7月10日 星期二
HTTPS on Ubuntu 1804 (use default-ssl.conf)
# sudo -i
# apt install apache2
# a2enmod ssl
# a2ensite default-ssl.conf
# systemctl restart apache2
config files in /etc/apache2/sites-available
log files in /var/log/apache2/
use browser to browse https://
# apt install apache2
# a2enmod ssl
# a2ensite default-ssl.conf
# systemctl restart apache2
config files in /etc/apache2/sites-available
log files in /var/log/apache2/
use browser to browse https://
訂閱:
文章 (Atom)