摘要:
在configure.ac前边添加以下内容: # backwards compat with older pkg-config # - pull in AC_DEFUN from pkg.m4 m4_ifndef([PKG_CHECK_VAR], [ # PKG_CHECK_VAR(VARIABLE 阅读全文
摘要:
一、root用户支持ssh # 修改/etc/ssh/sshd_config配置文件1 #PermitRootLogin prohibit-password 2 PermitRootLogin yes 二、修改用户名密码 # sudo passwd New password: Retype new 阅读全文
摘要:
具体可以操作红帽的官方文档(英文):https://www.jianshu.com/p/96a2075ad784 使rc.local生效的操作如下: chmod a+x /etc/rc.d/rc.local systemctl enable rc-local 参考:https://www.jians 阅读全文
摘要:
参考: https://blog.csdn.net/maomao5945/article/details/79354204 https://www.cnblogs.com/bfhyqy/p/13512241.html https://access.redhat.com/documentation/e 阅读全文
摘要:
参考: https://www.runoob.com/linux/linux-comm-screen.html 阅读全文
摘要:
# timedatectl set-timezone America/Tijuana Failed to set time zone: Access denied 看一下/etc/: # ls /etc -ald drwxr-xr-x 1 named named 4096 9月 30 04:47 / 阅读全文
摘要:
在strongswan中有一个INIT宏,实现方式如下: // Object allocation/initialization macro, using designated initializer.#define INIT(this, ...) { (this) = malloc(sizeof( 阅读全文
摘要:
问题描述 在linux系统中加载模块时,insmod xxx.ko,报以下错误: insmod: ERROR: could not insert module xxx.ko: Invalid module format dmesg信息中提示:[ 194.712626] xxx: disagrees 阅读全文
摘要:
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 阅读全文
摘要:
const在C中修饰指针 比如: const char *a = "a"; char * const b = "b"; const char * const c = "c"; const在类型前,修饰的是内容;在变量名前,修饰的是指向。 例: a = "xxx"; √ *a = 'a'; × b = 阅读全文