sudo nano /etc/apache2/mods-available/dav_svn.conf
sudo systemctl restart apache2.service
sudo nano /etc/samba/smb.conf
sudo service smbd restart
sudo nano /etc/fstab
- nano 编辑操作
- Ctrl + V 翻到下一页
- Ctrl + K 删除一行
- Ctrl + O 保存修改
- Ctrl + X 退出
- Ctrl + W 搜索字符
- dpkg 命令
# install .deb file
sudo dpkg -i mysql-connector-j_8.0.33-1ubuntu20.04_all.deb
# check where .deb is installed
dpkg -L mysql-connector-j
# remove .deb
dpkg -P mysql-connector-j
# login mysql with root name and password
sudo mysql -u root -p
# delete database `mydb`
drop database mydb;
# delete user
drop user 'user1'@'localhost'
# check mysql version
select version();