会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一颗大白鲸
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2021年3月4日
centeros 安装mongodb httpd
摘要: yum install -y httpd https://www.cnblogs.com/eczhou/p/5534043.html Apache 2.4.6 多域名多网站配置 在/etc/httpd/conf 下 编辑 vim httpd.conf 添加:ServerName 外网IP 并注释 #
阅读全文
posted @ 2021-03-04 10:56 一颗大白鲸
阅读(219)
评论(0)
推荐(0)
2021年2月26日
怎么查看so库文件中的函数 C++与C调用so文件
摘要: 在shell命令行: 1、nm -D xxx.so /netcore/publish/* 2>/dev/null | grep "T addC" 查找相关目录下的包含addC函数的 文件 View Code 2、readelf -s xxx.so 3、objump -tT xxx.so linux之
阅读全文
posted @ 2021-02-26 15:26 一颗大白鲸
阅读(5722)
评论(0)
推荐(0)
2021年2月25日
linux下 python 版本查看和修改
摘要: 1.linux的软连接存放位置 cd /usr/bin 2.查看现有python的软连接指向的版本 ls -al *python* 3.删除旧的软连接 rm python 4.建立新的软连接 ln -s python3.6 python 5.查看软连接版本 python -V 全部操作都在root用
阅读全文
posted @ 2021-02-25 15:32 一颗大白鲸
阅读(4021)
评论(0)
推荐(0)
2021年2月23日
C++ string 转 char*
摘要: char * strc = new char[strlen(str.c_str())+1]; strcpy(strc, str.c_str())这样转是返回一个串 而不是指针,如果直接 char *p = const_cast<char*>(a.c_str());则返回的不正确。 string pa
阅读全文
posted @ 2021-02-23 13:58 一颗大白鲸
阅读(15721)
评论(0)
推荐(0)
2021年2月19日
linux 常用
摘要: netstat -ntpl netstat -nupl 当前目录文本内容grep -rn '' 本地查找 数据库检索 更新本地数据库updatedb locate test.file 指定目录查找find /var -name test.file当前目录find -name test.file ./
阅读全文
posted @ 2021-02-19 10:05 一颗大白鲸
阅读(55)
评论(0)
推荐(0)
2021年2月10日
apache2 多网站部署
摘要: #DocumentRoot /var/www/html/m Alias /admin /var/www/html/admin #Alias /m /var/www/html/m 这个办法 的路径是有点问题的。所以多端口 再用ngnix #DocumentRoot /var/www/html/m Al
阅读全文
posted @ 2021-02-10 16:33 一颗大白鲸
阅读(300)
评论(0)
推荐(0)
.netcore web应用在linux上如何自动重启
摘要: 创建一个启动脚本命名为netcore.servic,放到/etc/systemd/system目录下,修改对应的app目录和 启动命令即可 Type=simple # app的目录 WorkingDirectory=/www/publish # 启动命令 ExecStart=/usr/bin/dot
阅读全文
posted @ 2021-02-10 10:02 一颗大白鲸
阅读(801)
评论(0)
推荐(0)
2021年2月9日
ubuntu 安装Slurm
摘要: 建立相关用户和用户名 systemctl stop firewalld systemctl disable firewalld systemctl unmask firewalld.service systemctl stop iptables systemctl disable iptables
阅读全文
posted @ 2021-02-09 14:24 一颗大白鲸
阅读(605)
评论(0)
推荐(0)
ubuntu 安装指南
摘要: 替换默认的 http://archive.ubuntu.com/ 为 mirrors.aliyun.com 2. 开启 root sudo passwd root 设置密码 vim /etc/ssh/sshd_config # $OpenBSD: sshd_config,v 1.101 2017/0
阅读全文
posted @ 2021-02-09 11:40 一颗大白鲸
阅读(149)
评论(0)
推荐(0)
2021年2月7日
aptitude 更新Ubntu 操作
摘要: aptitude与apt-get 源 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.
阅读全文
posted @ 2021-02-07 11:24 一颗大白鲸
阅读(467)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告