随笔分类 -  Linux

摘要:Update Ubuntu Source list cd /etc/apt sudo cp sources.list sources.list.save sudo vi sources.list sudo apt-get update Be aware of your Ubuntu's version, my ubuntu is 14.04. so my source list is as fo... 阅读全文
posted @ 2016-02-25 16:45 luckysimple 阅读(263) 评论(0) 推荐(0)
摘要:A syslog server represents a central log monitoring point on a network, to which all kinds of devices including Linux or Windows servers, routers, switches or any other hosts can send their logs over ... 阅读全文
posted @ 2016-01-21 17:37 luckysimple 阅读(435) 评论(0) 推荐(0)
摘要:Synergy is a great tool to share mouse and keyboard among windows, linux and osx. Be aware of some issues when configuring them. Synergy versions of both server and client must be the same. Add clien... 阅读全文
posted @ 2016-01-07 16:20 luckysimple 阅读(390) 评论(0) 推荐(0)
摘要:SSH keys are a way to identify trusted computers, without involving passwords. Most git servers choose SSH keys to authorize clients. Check for SSH keys check for existing SSH keys on your computer. $... 阅读全文
posted @ 2016-01-06 12:24 luckysimple 阅读(254) 评论(0) 推荐(0)
摘要:Terminator is a useful tool for arranging terminals. It has following features Arrange terminals in a grid Tabs Drag and drop re-ordering of terminals Lots of keyboard shortcuts Save multiple lay... 阅读全文
posted @ 2015-12-30 10:31 luckysimple 阅读(278) 评论(0) 推荐(0)
摘要:In computing, syslog is a widely used standard for message logging. It permits separation of the software that generates messages, the system that stores them, and the software that reports and analyz... 阅读全文
posted @ 2015-12-23 16:42 luckysimple 阅读(379) 评论(0) 推荐(0)
摘要:Linux文件的隐藏属性在保护系统文件的安全性上非常重要。先强调的是,chattr命令只能在Ext2/Ext3的文件系统生效。 chattr(设置文件的隐藏属性) [root@www ~]# chattr [+-=] [ASacdistu] File/Directory 参数 +:增加某个参数 -:删除某个参数 =:仅有后面接的参数 各个参数的意思 参数 含义 A 设置A属性后,若你访问... 阅读全文
posted @ 2015-12-22 17:25 luckysimple 阅读(6480) 评论(0) 推荐(0)
摘要:当Linux系统出现问题时,查阅日志文件可以定位错误。 解决系统方面的错误 解决网络服务的问题 过往事件记录簿 日志文件产生所需的相关服务与进程 syslogd:主要登陆系统与网络等服务的信息; klogd:主要登陆内核产生的各项信息; logrotate:主要进行日志文件的轮替功能。 系统的日志文件默认都集中放在/var/log目录内,其中以messages记录的信息最多。 sysl... 阅读全文
posted @ 2015-12-22 16:35 luckysimple 阅读(320) 评论(0) 推荐(0)
摘要:Kernel API Logging within the kernel is performed using the printk function int printk( const char * fmt, ... ); The kernel code simply defines the log level as the first argument of the message, as i... 阅读全文
posted @ 2015-12-21 22:11 luckysimple 阅读(437) 评论(0) 推荐(0)