![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
hahaliu005
这个作者很懒,什么都没留下…
展开
-
Problem install fedora with liveusb
I use ubuntu for a while , yesterday my colleague recommend fedora to me , so I try to install fedora to my lenovo Y450 . The download are successfully , The file name is 'Fedora-16-i686-Live-Deskto原创 2012-04-01 00:19:10 · 647 阅读 · 0 评论 -
ubuntu config the time and time zone
sudo dpkg-reconfigure tzdata#for restart below can take effectsudo cp /usr/share/zoneinfo/Asia/Chongqing /etc/localtime#install ntpdate to sync the timesudo apt-get install ntpdatesudo ntpdate cn原创 2013-11-28 17:12:21 · 655 阅读 · 0 评论 -
Fork bomb
Do not exec blow command unless you want your computer bang bang .:(){ :|:& };:原创 2013-11-29 17:45:49 · 550 阅读 · 0 评论 -
Use expect command to interact with mysql in linux system
The "expect" command is not install in some linux system default , in the ubuntu system , you can simplly tap "sudo apt-get install expect" to install this tool.And then , if you want to use to in t原创 2013-12-02 10:43:59 · 949 阅读 · 0 评论 -
nginx config php in mac system
brew is a application management component in the mac system , use it to install nginx and php is very convenience .install nginx$ brew install nginxinstall php$ brew tap homebrew/dupes$ brew原创 2013-12-24 14:36:13 · 919 阅读 · 0 评论 -
mac system , share folder with ubuntu virtual system in the vmware fusion
When I use ubuntu 12.4 server or desktop installed in the mac vmware fusion . It always can not share folder in the ubuntu virtual machine , no matter I reinstall vmware tools one by one . When I in原创 2013-11-26 23:59:50 · 1356 阅读 · 0 评论 -
can not connect to linux server with ssh without password
Sometimes, although you set th原创 2014-09-14 23:31:27 · 620 阅读 · 0 评论 -
Install ffmpeg
The Tutorial reference from this link, but there had something different.Update apt-get rep : sudo apt-get update sudo apt-get -y --force-yes install autoconf automake build-essential libass-d转载 2015-12-10 23:52:22 · 583 阅读 · 0 评论 -
Install gearman
Install gearman deamon serverapt-get install gearman-job-server libgearman-devInstall php dependencesudo apt-get install php-pearsudo apt-get install php5-devsudo pecl install gearmanInclude the原创 2015-12-11 00:12:57 · 570 阅读 · 0 评论 -
Install the powerful vim plugin in ubuntu system
This vim plugin include many other good plugin , you only need to simply tap the comand below:wget https://raw.github.com/ma6174/vim/master/setup.sh -O ma6174_vim_setup.sh && bash ma6174_vim_setup.s原创 2013-11-29 15:56:08 · 558 阅读 · 0 评论 -
Add user with sudo
If you want to add an new user with sudo , you can use:sudo adduser usernamethis will add an user add edit the sudo file:sudo visudoctrl+o is writectrl+c is cancelctrl+x is exit原创 2013-11-27 09:17:41 · 1231 阅读 · 0 评论 -
Ubuntu init启动流程分析
Ubuntu init启动流程分析 现行的Linux distros主流的有两种init方式:一种是广为流传的System V initialization,它来源于Unix并且至今仍被各种Linux distros所采用;另一种是近几年提出的Upstart方式,基于事件机制,系统的所有服务,任务都是由事件驱动的。据我所知,采用后一种方式的目前有Ubuntu(6.转载 2012-12-01 22:50:00 · 593 阅读 · 1 评论 -
install LAMP in UBUNTU system
It's only one commond :sudo apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysql原创 2012-12-12 00:34:49 · 247 阅读 · 0 评论 -
VIM config
" Vim5 and later versions support syntax highlighting. Uncommenting the next" line enables syntax highlighting by default.if has("syntax") syntax onendif" Uncomment the following to have Vim jum原创 2012-12-13 00:32:46 · 546 阅读 · 0 评论 -
ubuntu command-not-found
When you meet this error:Sorry, command-not-found has crashed! bla bla ......You may try this:export LANGUAGE=en_US.UTF-8export LANG=en_US.UTF-8export LC_ALL=en_US.UTF-8locale-gen en_U原创 2013-11-25 13:30:22 · 2312 阅读 · 1 评论 -
The commpression command in the linux (gzip , tar)
There was a test when you commpression one file repeatly:➜ ~ ls -al test-rw-r--r--@ 1 liugang staff 3180 11 26 18:04 test➜ ~ gzip test➜ ~ ls -al test.gz-rw-r--r--@ 1 liugang staff 842原创 2013-11-26 18:43:35 · 536 阅读 · 0 评论 -
Use pssh to manage muti hosts
When there are many server need to manage , maybe you need to use pssh to manage your servers.First install pssh.Then create a hosts.txt which include all the server you need to manage . just like原创 2013-11-26 10:38:02 · 613 阅读 · 0 评论 -
warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8)
I exprienced this problem when I use dir "tab" key in the ubuntu 10.04 system , and to solve it is simply add a line in the /etc/default/local :LC_ALL="en_GB.UTF-8"原创 2013-11-27 08:53:28 · 4084 阅读 · 0 评论 -
Install NFS(network file system)
Reference from linkInstall NFS server in both host and client server:sudo apt-get updatesudo apt-get install nfs-kernel-serverInstall nfs common in the client server:sudo apt-get updatesudo apt-g原创 2015-12-12 15:32:01 · 594 阅读 · 0 评论