Linux

Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。它能运行主要的UNIX工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想,是一个性能稳定的多用户网络操作系统。
Linux操作系统诞生于1991 年10 月5 日(这是第一次正式向外公布时间)。Linux存在着许多不同的Linux版本,但它们都使用了Linux内核。Linux可安装在各种计算机硬件设备中,比如手机、平板电脑、路由器、视频游戏控制台、台式计算机、大型机和超级计算机。
严格来讲,Linux这个词本身只表示Linux内核,但实际上人们已经习惯了用Linux来形容整个基于Linux内核,并且使用GNU 工程各种工具和数据库的操作系统。

Blog

WHM Script usage

Check if “ImageMagick” installed /scripts/checkimagemagick Install “imagemagick” /scripts/installimagemagick Update cpanel /scripts/upcp –force Check perl module /scripts/checkperlmodules Restart cpanel /etc/init.d/cpanel restart Check the position of php.ini php -i | grep php.ini Repair horde /scripts/fullhordereset or /usr/local/cpanel/bin/update-horde –force Repair roundcube /usr/local/cpanel/bin/update-roundcube –force Repair squirrelmail /usr/local/cpanel/bin/update-squirrelmail –force Install newest version of exim /scripts/betaexim Search the log which near 2GB /scripts/biglogcheck Rebuild exim.conf /scripts/buildeximconf View/usr/local/apache/conf/httpd.conf , check the bad user /scripts/checkbadconf Check if support GD /scripts/checkgd Install GD /scripts/installgd Check the max clients of Apache /scripts/checkmaxclients Check Perl version /scripts/checkoldperl Check rsync /scripts/checkrsync Check yum /scripts/checkyum Clear old bound log /scripts/cleanbw Clear old GD and install new version /scripts/cleangd Delete a mySQL database /scripts/dropmysqldb Upgrade Apache /scripts/easyapache Edit…

Blog

Big rise up! – Enable https(SSL)

Author: Calf < https://www.calf.one > https will be a mainstream website protocol , as a  fellow traveller and diao, I love the free lunch , so I found the StartSSL free SSL, the official website is : https://www.startssl.com/ Calf’s tip: Cliek the thumbs can view the big size picture Select “Start Now for Free SSL Certificate” New user select “Sign up”; Select your country and input your email address and then click Sent verification code ,the system will send you a Verification code. Copy the verification code to the StartSSL dialog and click Verification. StartSSL will install the browser certificate. And then choose certificate . “Click here to choose…

Blog

vi commands encyclopedia

Basic vi Commands What is vi? The default editor that comes with the UNIX operating system is called vi (visual editor). [Alternate editors for UNIX environments include pico and emacs, a product of GNU.] The UNIX vi editor is a full screen editor and has two modes of operation: Command mode commands which cause action to be taken on the file, and Insert mode in which entered text is inserted into the file. In the command mode, every character typed is a command that does something to the text file being edited; a character typed in the command mode may…

Blog

Linux clear login and history log

Clear login log [[email protected] root]# echo > /var/log/wtmp #can view ip and etc.. [[email protected] root]# last #now, we can’t view the user login record Clear login failure log [[email protected] root]# echo > /var/log/btmp # we can view the failuew login record [[email protected] root]# lastb # log clear Clear history command record [[email protected] root]# history -c or clear the file of bash_history in user folder [[email protected] root]# echo > ./.bash_history 1.vi /root/history #creat new log file 2.history -c #clear history 3.history -r /root/history.txt #import record 4.history #query the import result example [[email protected] root]# vi /root/history [[email protected] root]# history -c [[email protected] root]# history -r…

calf-blog-top