随笔分类 -  linux

摘要:GitLab 汉化 - jtlgb - 博客园 (cnblogs.com) 今天给公司搭建了GitLab服务器,准备在公司推广使用,这个是汉化的链接; 其实,我个人挺希望同事们使用英文版的,但碍于学习成本,还是给大家汉化算了。:) 阅读全文
posted @ 2021-07-06 17:59 lishidefengchen 编辑
摘要:Ctrl + Alt + F6 进入 Terminal 界面; Ctrl + Alt + F2 返回 GUI 界面; 每次开机启动都进入 Terminal 界面: echo “false” | sudo tee /etc/X11/default-display-manager 每次开机启动都进入 G 阅读全文
posted @ 2021-06-17 10:26 lishidefengchen 编辑
摘要:AGE displays the amount of time that the application has been running. 阅读全文
posted @ 2021-06-17 08:27 lishidefengchen 编辑
摘要:设置一下命令行工具的运行方式【以登录shell方式运行命令】 阅读全文
posted @ 2020-09-26 18:53 lishidefengchen 编辑
摘要:开始:2020-08-01 结束:2020-08-02 薄薄的一本书,但都是干货。 阅读全文
posted @ 2020-08-01 17:21 lishidefengchen 编辑
摘要:打开某文件,里面有巨多无比的注释行,这些注释行,一般都是以#或者;开头的,如何筛选出来其中没有被注释掉的内容呢? cat sources.list | grep -v "#" | grep -v ";" | grep -v "^$" > sources.list.2 -v 在 grep 命令中是反选 阅读全文
posted @ 2020-07-16 00:11 lishidefengchen 编辑
摘要:install(ubuntu os): sudo apt-get install apache2-utils usage: ab -c 200 -t 100 http://localhost:8001/ explain: -c concurrency -t timelimit 阅读全文
posted @ 2020-06-25 11:55 lishidefengchen 编辑
摘要:【把docker中容器时db002里面的my.cnf文件拷贝到根目录下】 docker cp db002:/etc/mysql/my.cnf ~/root/ 【把根目录下my.cnf文件拷贝到docker中容器时db002里面】 docker cp ~/root/my.cnf db002:/etc/ 阅读全文
posted @ 2020-06-22 16:47 lishidefengchen 编辑
摘要:【清空文件】 echo " " > filename 【添加内容】 echo "123" >> filename 阅读全文
posted @ 2020-06-21 16:42 lishidefengchen 编辑
摘要:【解决】 执行 apt-get update 然后再进行安装,即可。 (完) 阅读全文
posted @ 2020-06-21 16:29 lishidefengchen 编辑
摘要:we can use cat and eof to enter multiple lines content once. 阅读全文
posted @ 2020-01-20 16:13 lishidefengchen 编辑
摘要:config.mail.163.com/settings/imap/login.jsp?uid=xxxx@163.com 阅读全文
posted @ 2020-01-15 23:13 lishidefengchen 编辑
摘要:【现象】:EJF调用PLM的接口,短时间内出现大量下单请求,导致网络阻塞,数据库连接池达到上限,接口崩溃; 【环境】:服务器使用的是阿里云,centos7 + docker + redis + netcore,网络带宽5M,数据库最大连接数设置了3000; 【分析】:接口出现崩溃现象后—— 1、检查 阅读全文
posted @ 2019-10-25 16:02 lishidefengchen 编辑
摘要:摘自:http://cn.linux.vbird.org/linux_basic/0410accountmanager_1.php (完) 阅读全文
posted @ 2019-10-16 14:44 lishidefengchen 编辑
摘要:文件的内容: 每个Linux都会有root账号,以此来说明,从内容上看,每行都使用【:】分隔(注意:每行前面的数字是行号,不是内容),所以一共有七部分内容,分别是: 1. 账号名称:root,用来对应UID 2. 口令:x 早期Unix系统的口令放在这个字段。但因为这个文件对所有用户都是可读取的(l 阅读全文
posted @ 2019-10-14 17:29 lishidefengchen 编辑
摘要:内容来源:http://cn.linux.vbird.org/linux_basic/0320bash_4.php (完) 阅读全文
posted @ 2019-10-09 15:03 lishidefengchen 编辑
摘要:vi /etc/issue 添加自己喜欢的内容,保存即可。 特殊字符的含义: (完) 阅读全文
posted @ 2019-10-09 10:26 lishidefengchen 编辑

点击右上角即可分享
微信分享提示