会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
成强
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
22
下一页
2022年11月3日
# Ubuntu开启所有端口永久保存规则
摘要: 暂时性开放:重启失效 iptables -I INPUT -p tcp –dport 8080 -j ACCEPT 永久生效 apt-get install iptables-persistent 永久保存规则 netfilter-persistent save netfilter-persiste
阅读全文
posted @ 2022-11-03 12:12 成强
阅读(677)
评论(0)
推荐(0)
2022年10月29日
typeScript基础语法
摘要: 1.变量定义 变量名:变量的类型(首字母小写) let dan:string='蛋' let numArr:number[]=[4,2,0]; 2、核心 定义任何东西的时候要注明类型 调用任何东西的时候要检查类型 3、interface 接口 规定属性名和属性值类型:多个对象去复用这个接口 inte
阅读全文
posted @ 2022-10-29 15:46 成强
阅读(49)
评论(0)
推荐(0)
2022年10月6日
# github报错:The requested URL returned error:
摘要: 一、重新绑定密匙 ssh-keygen -t rsa -C '454905970@qq.com' 按下enter记录下生成的路径:C:\Users\Administrator.ssh 从提示的路径找到对应的.ssh文件,打开id_rsa.pub文件,复制里面的数据 在github中添加 SSH ke
阅读全文
posted @ 2022-10-06 14:02 成强
阅读(119)
评论(0)
推荐(0)
2022年10月5日
# springboot 2.6.5引入swagger3 相关配置
摘要: 一 、maven中引入 <!--swagger 3--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </d
阅读全文
posted @ 2022-10-05 21:41 成强
阅读(447)
评论(1)
推荐(1)
2022年9月21日
# Ubuntu22.04 pip list报错 No module named ‘distutils.cmd
摘要: 我们只需要安装 这个即可 sudo apt-get install python3.9-distutils 3.7 是对应你的版本
阅读全文
posted @ 2022-09-21 10:04 成强
阅读(278)
评论(0)
推荐(0)
# Ubuntu22.04开机自动挂载共享文件夹
摘要: sudo apt-get install vim vim /etc/fstab .host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0 esc wq!
阅读全文
posted @ 2022-09-21 09:53 成强
阅读(447)
评论(0)
推荐(0)
# Ubuntu22.04安装Python3.9设置软链接
摘要: sudo apt install python3.9 测试,命令行中输入 python3.9 删除原有的外链 sudo rm /usr/bin/python3 创建新的外链 sudo ln -s /usr/bin/python3.9 /usr/bin/python3、
阅读全文
posted @ 2022-09-21 09:46 成强
阅读(676)
评论(0)
推荐(0)
2022年8月24日
# Ubuntu22.04网卡丢失
摘要: 1、首先确保网卡设备名称能看到,看不到,以下步骤无意义; sudo lshw -c network 结果 *-network DISABLED description: Ethernet interface product: 82545EM Gigabit Ethernet Controller (
阅读全文
posted @ 2022-08-24 17:39 成强
阅读(1689)
评论(0)
推荐(0)
# ubuntu22.04,VMwareTools及共享文件夹问题
摘要: 安装VMware tool sudo apt install open-vm-tools-desktop open-vm-tools 使用下面的指令可查看共享文件夹是否设置,如果确实设置好了,会输出目录名 vmware-hgfsclient #输出 VmShareFile 设置开机自动挂载 sudo
阅读全文
posted @ 2022-08-24 16:55 成强
阅读(699)
评论(0)
推荐(0)
无法安装或删除任何软件。请先使用新立得软件包管理器或在终端运行 “sudo apt-get install -f” 来修正这个问题。
摘要: sudo rm /var/lib/dpkg/lock sudo apt-get install -f
阅读全文
posted @ 2022-08-24 16:21 成强
阅读(442)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
22
下一页