02 2021 档案
摘要:在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之
阅读全文
摘要:1.linux的软连接存放位置 cd /usr/bin 2.查看现有python的软连接指向的版本 ls -al *python* 3.删除旧的软连接 rm python 4.建立新的软连接 ln -s python3.6 python 5.查看软连接版本 python -V 全部操作都在root用
阅读全文
摘要:char * strc = new char[strlen(str.c_str())+1]; strcpy(strc, str.c_str())这样转是返回一个串 而不是指针,如果直接 char *p = const_cast<char*>(a.c_str());则返回的不正确。 string pa
阅读全文
摘要:netstat -ntpl netstat -nupl 当前目录文本内容grep -rn '' 本地查找 数据库检索 更新本地数据库updatedb locate test.file 指定目录查找find /var -name test.file当前目录find -name test.file ./
阅读全文
摘要:#DocumentRoot /var/www/html/m Alias /admin /var/www/html/admin #Alias /m /var/www/html/m 这个办法 的路径是有点问题的。所以多端口 再用ngnix #DocumentRoot /var/www/html/m Al
阅读全文
摘要:创建一个启动脚本命名为netcore.servic,放到/etc/systemd/system目录下,修改对应的app目录和 启动命令即可 Type=simple # app的目录 WorkingDirectory=/www/publish # 启动命令 ExecStart=/usr/bin/dot
阅读全文
摘要:建立相关用户和用户名 systemctl stop firewalld systemctl disable firewalld systemctl unmask firewalld.service systemctl stop iptables systemctl disable iptables
阅读全文
摘要:替换默认的 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
阅读全文
摘要:aptitude与apt-get 源 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.
阅读全文

浙公网安备 33010602011771号