
operatingsystem
ylzhjlinux
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
VI : commnads usage
Searching and Replacing :s/string :s/pattern/replace/ :%s/pattern/replace/原创 2014-05-09 15:54:59 · 99 阅读 · 0 评论 -
Centos: install maven, ant , tomcat,mysql,Python,g++,NodeJS
Install ant #wget http://apache.tradebit.com/pub//ant/binaries/apache-ant-1.9.4-bin.zip#unzip apache-ant-1.9.4-bin.zip # mv apache-ant-1.9.4/ /opt/ant #ln -s /opt/ant/bin/ant /usr/bin/ant #vi /e...原创 2014-11-21 12:48:55 · 130 阅读 · 0 评论 -
Centos: install jdk
#tar -xzf jdk-7u51-linux-x64.tar.gz -C /opt/ #ln -s /opt/jdk1.7.0_51/bin/java /sbin/java #echo "export JAVA_HOME=/opt/jdk1.7.0_51" > /etc/profile.d/java_env.sh #echo "export JRE_HOME=/opt/jdk1....原创 2014-11-21 11:18:53 · 101 阅读 · 0 评论 -
mac short-cut keys
http://my.oschina.net/leejan97/blog/214112?p=1原创 2015-07-15 10:38:36 · 154 阅读 · 0 评论 -
Ubuntu: common errors
when run #sudo update-manager error: solution: sudo apt-get update && sudo apt-get dist-upgrade --------- update firefox flash plugin #tar -xzf install_flash_player_11_linux.x86_6...原创 2015-07-07 09:53:15 · 150 阅读 · 0 评论 -
ubuntu下常用工具软件安装
ubuntu 12.04安装有道词典 #sudo gedit /etc/apt/sources.list add the following two lines to the end of sources.list deb http://ppa.launchpad.net/justzx2011/openyoudao/ubuntu precise main deb-src...原创 2014-04-12 18:25:25 · 140 阅读 · 0 评论 -
Auto login
Fedora20 minimal server change /usr/lib/systemd/system/getty@.service likes this and reboot ExecStart=-/sbin/agetty --noclear %I ==> ExecStart=-/sbin/agetty --autologin zhj --noclear %I ...原创 2014-04-10 22:18:54 · 594 阅读 · 0 评论 -
linux: useful commands
start time 1.uptime 16:11:40 up 59 days, 4:21, 2 users, load average: 0.00, 0.01, 0.002. date -d "$(awk -F. '{print $1}' /proc/uptime) second ago" +"%Y-%m-%d %H:%M:%S" 3. cat /proc/uptime| ...原创 2014-04-09 14:19:21 · 168 阅读 · 0 评论 -
kvm centos clone network configuration
clone a centos vm, there is no ethX device. To fix the problem,following the steps 1.# rm -f /etc/udev/rules.d/70-persistent-net.rules 2.# vim /etc/sysconfig/networking/devices/ifcfg-ethx //the ...原创 2014-03-25 17:07:15 · 189 阅读 · 0 评论 -
centos change hostname permanently
change hostname under centos #hostname newhostname #hostname when poweroff, the hostname is still stale without changed -------------------------- to change hostname permanently.following...原创 2014-03-23 23:11:05 · 207 阅读 · 0 评论 -
fedora 20 set static ip
#vi /etc/hostname new_hostname [root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE="Ethernet"# change BOOTPROTO=" none " DEFROUTE="yes" IPV4_FAILURE_FATAL="no" IPV6IN...原创 2014-03-23 23:09:30 · 141 阅读 · 0 评论 -
Centos: errors solution
when I run #yum repolist, error comes yum Error: Cannot retrieve metalink for repository: epel. S:vi /etc/yum.repos.d/epel.repo change https to http ===== set mysqld start on boot #chkc...原创 2014-05-13 15:43:10 · 109 阅读 · 0 评论 -
centos 6.5 install mysql 5.6
To install the MySQL server 5.6,follow the given below steps.Step 1: Login into the Server and download the yum repo rpm package.(URL: http://dev.mysql.com/downloads/repo/) yum install wget wget h...原创 2014-12-09 11:10:06 · 116 阅读 · 0 评论