锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲无线码在线一区观看,亚洲乱码日产一区三区,亚洲老妈激情一区二区三区http://www.tkk7.com/nkjava/category/37789.html緗韓嫻╃氱殑娌欐紶錛屾柟鍚戞渶涓洪噸瑕侊紝甯屾湜姝log鑳藉悜澶ф紶椹奸搩涓鏍鳳紝緇欐垜鏂瑰悜鍜屾寚寮曘?lt;br/> Java,Php,Shell,Python,鏈嶅姟鍣ㄨ繍緇?澶ф暟鎹紝SEO, 緗戠珯寮鍙戙佽繍緇?浜戞湇鍔℃妧鏈敮鎸侊紝IM鏈嶅姟渚涘簲鍟? FreeSwitch鎼緩錛屾妧鏈敮鎸佺瓑. 鎶鏈璁篞Q緹わ細(xì)428622099zh-cnSat, 04 Aug 2018 11:07:23 GMTSat, 04 Aug 2018 11:07:23 GMT60CentOS7瀹夎鏈鏂扮殑PHP7.2 PHP_FPM鏇存柊http://www.tkk7.com/nkjava/archive/2018/08/01/433312.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Tue, 31 Jul 2018 18:32:00 GMThttp://www.tkk7.com/nkjava/archive/2018/08/01/433312.htmlhttp://www.tkk7.com/nkjava/comments/433312.htmlhttp://www.tkk7.com/nkjava/archive/2018/08/01/433312.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/433312.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/433312.html
sudo yum install epel-release
sudo yum install nginx
sudo systemctl start nginx
sudo systemtl enable nginx 
2.MariaDB
sudo yum install mariadb-server mariadb
sudo systemctl start mariadb
sudo systemctl enable mariadb
sudo mysql_secure_installation

3.PHP-FPM
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install yum install  php72w-cli.x86_64 php72w-common.x86_64 php72w-gd.x86_64 php72w-ldap.x86_64 php72w-mbstring.x86_64 php72w-mcrypt.x86_64 php72w-mysql.x86_64 php72w-pdo.x86_64


yum install php72w-fpm


systemctl enable php-fpm
4.TEST
 Test your php page

鑽夊師涓婄殑楠嗛┘ 2018-08-01 02:32 鍙戣〃璇勮
]]>
CentOS瀹夎Composerhttp://www.tkk7.com/nkjava/archive/2017/11/23/432912.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Wed, 22 Nov 2017 22:07:00 GMThttp://www.tkk7.com/nkjava/archive/2017/11/23/432912.htmlhttp://www.tkk7.com/nkjava/comments/432912.htmlhttp://www.tkk7.com/nkjava/archive/2017/11/23/432912.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/432912.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/432912.html
cd /tmp

涓嬭澆鏂囦歡
curl -sS https://getcomposer.org/installer | php

縐誨姩鍒板彲鎵ц鐩綍
mv composer.phar /usr/local/bin/composer



鑽夊師涓婄殑楠嗛┘ 2017-11-23 06:07 鍙戣〃璇勮
]]>
鏉ヨ嚜韜喚涓嶆槑寮鍙戣呪? 鎴栬呮枃浠跺凡鎹熷潖錛屾墦涓嶅紑.XX is damaged and can't be opened. You should move it to the Trash.http://www.tkk7.com/nkjava/archive/2017/08/06/432726.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Sun, 06 Aug 2017 14:43:00 GMThttp://www.tkk7.com/nkjava/archive/2017/08/06/432726.htmlhttp://www.tkk7.com/nkjava/comments/432726.htmlhttp://www.tkk7.com/nkjava/archive/2017/08/06/432726.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/432726.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/432726.html瑙e喅寰堢畝鍗曘?br />榪涘叆緋葷粺涓庡亸濂借緗?銆嬪畨鍏ㄤ笌闅愮-銆嬪湪瀹夊叏鎬т笌闅愮鐣岄潰鐨勬渶涓嬮潰鏈変笁涓夐」錛?br />1.AppStore
2.AppStore鍜岃璁ゅ彲鐨勫紑鍙戣?br />3.浠諱綍鏉ユ簮

娉ㄦ剰錛屾湁鐨勭郴緇熼噷娌℃湁浠諱綍鏉ユ簮閫夐」錛屼篃灝辨槸璇村彧鏈夊墠涓や釜閫夐」銆?br />
榪欐牱鐨勬儏鍐典笅錛屼綘闇瑕佸湪浣犵殑鍛戒護(hù)琛岄噷鍋氫竴涓嬫搷浣溿?br />
榪涘叆緇堢鍛戒護(hù)琛岀獥鍙o紝杈撳叆sudo spctl --master-disable
浼?xì)鎻惤C轟綘杈撳叆瀵嗙爜錛岃緭鍏ュ畬鐢ㄦ埛瀵嗙爜鍚庡嵆鍙畬鎴愭搷浣溿?br />鐒跺悗鍐嶆榪涘叆緋葷粺涓庡亸濂借緗?銆嬪畨鍏ㄦт笌闅愮-銆嬮夋嫨絎笁涓換浣曟潵婧愬嵆鍙?br />


鑽夊師涓婄殑楠嗛┘ 2017-08-06 22:43 鍙戣〃璇勮
]]>
CentOS7 淇敼Hostnamehttp://www.tkk7.com/nkjava/archive/2016/11/10/431969.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Thu, 10 Nov 2016 01:52:00 GMThttp://www.tkk7.com/nkjava/archive/2016/11/10/431969.htmlhttp://www.tkk7.com/nkjava/comments/431969.htmlhttp://www.tkk7.com/nkjava/archive/2016/11/10/431969.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/431969.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/431969.html
 hostnamectl  鎺у埗鏁翠釜緋葷粺鐨刪ostname錛屾帹鑽愪嬌鐢?br /> nmtul             浣跨敤text ui 鎺у埗 
nmtcli            鍙互鐢ㄤ絾鏄笉鎺ㄨ崘浣跨敤

[root@willweb ~]# hostnamectl status
   Static hostname: willweb
         Icon name: computer-vm
           Chassis: vm
        Machine ID: f9d400c5e1e8c3a8209e990d887d4ac1
           Boot ID: dd7be45d652849dcb82493c286c69dbf
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-327.el7.x86_64
      Architecture: x86-64
[root@willweb ~]# hostname
willweb
[root@willweb ~]# hostnamectl
   Static hostname: willweb
         Icon name: computer-vm
           Chassis: vm
        Machine ID: f9d400c5e1e8c3a8209e990d887d4ac1
           Boot ID: dd7be45d652849dcb82493c286c69dbf
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-327.el7.x86_64
      Architecture: x86-64
[root@willweb ~]# hostnamectl status
   Static hostname: willweb
         Icon name: computer-vm
           Chassis: vm
        Machine ID: f9d400c5e1e8c3a8209e990d887d4ac1
           Boot ID: dd7be45d652849dcb82493c286c69dbf
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-327.el7.x86_64
      Architecture: x86-64
浣跨敤鍛戒護(hù)濡備笅
# hostnamectl set-hostname Your-New-Host-Name-Here
# hostnamectl set-hostname "Your New Host Name Here" --pretty
# hostnamectl set-hostname Your-New-Host-Name-Here --static
# hostnamectl set-hostname Your-New-Host-Name-Here --transient
榪滅▼璁劇疆hostname
ssh root@server-ip-here hostnamectl set-hostname server1
hostnamectl set-hostname server1 -H root@192.168.1.42







鑽夊師涓婄殑楠嗛┘ 2016-11-10 09:52 鍙戣〃璇勮
]]>
CentOS NFS 緗戠粶鍏變韓紓佺洏 閰嶇疆涓夋鏇?/title><link>http://www.tkk7.com/nkjava/archive/2016/10/22/431913.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Fri, 21 Oct 2016 17:50:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2016/10/22/431913.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/431913.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2016/10/22/431913.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/431913.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/431913.html</trackback:ping><description><![CDATA[鍙傝冿細(xì)https://www.howtoforge.com/nfs-server-and-client-on-centos-7#-nfs-client-end<br />1.Server Side閰嶇疆<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all">yum install nfs-utils<br />瀹夎瀹屾垚鍚庯紝榪涜閰嶇疆<br />mkdir /data/share<br />chmod -R 777 /data/share<br />璁劇疆鑷惎鍔?br />systemctl enable nfs-server ipcbind<br />systemctl start nfs-server ipcbind<br /><br />閰嶇疆<br />vim /etc/exports<br />娣誨姞浠ヤ笅鍐呭<br /><br />/data/share 192.168.0.101(rw,sync,no_root_squash,no_all_squash)<br /><br />鍏朵腑192.168.0.101涓鴻緇欏摢涓鎴風(fēng)IP寮鏀?br /><br /><br />systemctl restart nfs-server<br /><br />閰嶇疆闃茬伀澧欙紙濡備綍娌℃湁娣誨姞闃茬伀澧欏氨綆椾簡(jiǎn)錛?br />firewall-cmd --permanent --zone=<span style="color: #0000FF; ">public</span> --add-service=nfs<br />firewall-cmd --reload</div><br /><br />2.Client Side 閰嶇疆<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><br />瀹夎閰嶇疆nfs, 鍦ㄥ鎴鋒満涓婄殑瀹夎 <br />yum install ufs-utils<br /><br />systemctl enable rpcbind <br />systemctl start rpcbind<br /><br />mkdir /data/share<br />chmod  -R 777 /data/share<br /><br />mount -t nfs  192.168.0.100:/data/share /data/share <br /><br />璁劇疆/etc/fstab, 鑷惎鍔╪fs<br />192.168.0.100:/data/share  /data/share nfs defaults 0 0 <br /><br />systemctl restart rpcbind</div><br /><br />3.嫻嬭瘯<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->鍦?92.168.1.100 nfs server涓?br />cd /data/share<br />touch a.txt<br />cat aaaa> b.txt<br />榪涘叆192.168.1.101 nfs client涓?br />cd /data/share<br />鏌ョ湅鏂囦歡鍒楄〃 ls<br />鍥犳鎵鏈夌殑鍔熻兘閰嶇疆瀹屾垚浜?jiǎn)锛屽笇鏈涘?guī)湅鍙嬩滑鏈夊府鍔┿?/div><img src ="http://www.tkk7.com/nkjava/aggbug/431913.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2016-10-22 01:50 <a href="http://www.tkk7.com/nkjava/archive/2016/10/22/431913.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Tomcat7.0淇敼鍐呭瓨鐨勯厤緗紙濡備綍璁劇疆Tomcat鐨勫爢鍐呭瓨錛?/title><link>http://www.tkk7.com/nkjava/archive/2016/08/29/431692.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Mon, 29 Aug 2016 05:55:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2016/08/29/431692.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/431692.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2016/08/29/431692.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/431692.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/431692.html</trackback:ping><description><![CDATA[Windows鐜涓嬪湪Tomcat/bin鐩綍涓嬪垱寤簊etenv.bat, Linux鐜涓嬪湪Tomcat/bin鐩綍涓嬭緗畇etenv.sh<br />娉ㄦ剰鍙槸鍚庣紑鍚嶇О涓嶅悓錛屼負(fù)浠涔堜笉鍚岋紝娉ㄦ剰鏌ョ湅catalina.bat鎴栬卌atalina.sh銆?br /><br />渚嬪setenv.sh閲屾坊鍔犱笅闈㈢殑鍐呭<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms2048m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=256m"</div>Windows涓嬬殑setenv.bat閲屾坊鍔犱笅闈㈢殑鍐呭錛?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->set "JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1024m -XX:MaxPermSize=256m -server"</div><br /><br />鐒跺悗閲嶅惎Tomcat錛屾煡鐪嬪爢鍐呭瓨鐨勪嬌鐢ㄦ儏鍐碉細(xì)<br /><br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->worker      15061     1  0 Aug25 ?        00:04:21 /usr/bin/java -Djava.util.logging.config.file=/home/work/apache-tomcat-7.0.53/conf/logging.properties -Djava.util.logging.manager=<span style="background-color: yellow;">org.apache.juli.ClassLoaderLogManager </span><span style="color: red; background-color: yellow;">-</span><span style="color: red; background-color: yellow;">Dfile.encoding</span><span style="color: red; background-color: yellow;">=</span><span style="color: red; background-color: yellow;">UTF</span><span style="color: red; background-color: yellow;">-</span><span style="color: red; background-color: yellow;">8</span> <span style="color: red; background-color: yellow;">-</span><span style="color: red; background-color: yellow;">Xms2048m </span><span style="color: red; background-color: yellow;">-</span><span style="color: red; background-color: yellow;">Xmx2048m </span><span style="color: red; background-color: yellow;">-</span><span style="color: red; background-color: yellow;">XX:PermSize</span><span style="color: red; background-color: yellow;">=</span><span style="color: red; background-color: yellow;">256m </span><span style="color: red; background-color: yellow;">-</span><span style="color: red; background-color: yellow;">XX:MaxPermSize</span><span style="color: red; background-color: yellow;">=</span><span style="color: red; background-color: yellow;">256m </span>-Djava.awt.headless=<span style="color: #0000FF; ">true</span> -Djava.endorsed.dirs=/home/work/apache-tomcat-7.0.53/endorsed -classpath /home/work/apache-tomcat-7.0.53/bin/bootstrap.jar:/home/work/apache-tomcat-7.0.53/bin/tomcat-juli.jar -Dcatalina.base=/home/work/apache-tomcat-7.0.53 -Dcatalina.home=/home/work/apache-tomcat-7.0.53 -Djava.io.tmpdir=/home/work/apache-tomcat-7.0.53/temp org.apache.catalina.startup.Bootstrap start</div><div><br />璇存槑璁劇疆鎴愬姛錛屽緢綆鍗曘?br /><br />鍚庣畫(huà)鎴戜細(xì)鍐欏嚑綃嘥omcat鍐呭瓨瀛︿範(fàn)鐨勬枃绔狅紝嬈㈣繋澶у鍏蟲(chóng)敞銆?br /><br /></div><img src ="http://www.tkk7.com/nkjava/aggbug/431692.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2016-08-29 13:55 <a href="http://www.tkk7.com/nkjava/archive/2016/08/29/431692.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>LInux涓婱ySQL瀵煎嚭琛紙妯$硦鏌ヨ琛ㄥ悕鍜屾寚瀹氳〃鍒楄〃涓ょ鏂瑰紡錛?/title><link>http://www.tkk7.com/nkjava/archive/2016/07/02/431074.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Sat, 02 Jul 2016 01:01:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2016/07/02/431074.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/431074.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2016/07/02/431074.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/431074.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/431074.html</trackback:ping><description><![CDATA[1銆佹ā緋婃煡璇㈣〃璞?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->root@serv: ~$ mysqldump dbname $(mysql -D YOURDBNAME -Bse "SHOW TABLES LIKE 'table_pattern_%'") > /tmp/database-dump.sql</div>2銆佹寚瀹氳〃鍒楄〃瀵煎嚭<br /><span style="font-size: 13px; background-color: #eeeeee;">瀵煎嚭琛ㄥ悕縐幫細(xì)<br />mysql </span><span style="font-size: 13px; background-color: #eeeeee;">-</span><span style="font-size: 13px; background-color: #eeeeee;">N information_schema </span><span style="font-size: 13px; background-color: #eeeeee;">-</span><span style="font-size: 13px; background-color: #eeeeee;">e </span><span style="font-size: 13px; background-color: #eeeeee;">"</span><span style="font-size: 13px; background-color: #eeeeee;">select table_name from tables where table_schema = 'dbname' and table_name like 'sys_%'</span><span style="font-size: 13px; background-color: #eeeeee;">"</span><span style="font-size: 13px; background-color: #eeeeee;"> </span><span style="font-size: 13px; background-color: #eeeeee;">></span><span style="font-size: 13px; background-color: #eeeeee;"> tables.txt </span><div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;"><pre prettyprint="" prettyprinted"="" style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; width: auto; max-height: 600px; overflow: auto; word-wrap: normal; background-color: #eff0f1;"><code style="margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;"><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">瀵煎嚭琛細(xì)<br />mysqldump dbname </span><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">`</span><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">cat tables</span><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">.</span><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">txt</span><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">`</span><font color="#393318" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><span style="font-size: 13px; white-space: inherit;"> </span></font><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">>></span><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;"> dump_file</span><span style="color: #303336; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; white-space: inherit; margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;">.</span><span style="margin: 0px; padding: 0px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial;"><font color="#303336" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><span style="font-size: 13px; white-space: inherit;">sql<br /></span></font><font color="#303336" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif"><span style="font-size: 13px; white-space: inherit;"><br />鎵歸噺鍒犻櫎琛細(xì)<br /></span></font>mysql -NB information_schema -e "select table_name from tables where table_name like 'sys_%'" | xargs -I"{}" mysql dbname -e "DROP TABLE {}" </span></code></pre></div><img src ="http://www.tkk7.com/nkjava/aggbug/431074.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2016-07-02 09:01 <a href="http://www.tkk7.com/nkjava/archive/2016/07/02/431074.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Linux鍛戒護(hù)(Linux Commands)涓嶆柇瀹屽杽涓?...http://www.tkk7.com/nkjava/archive/2016/03/06/429546.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Sat, 05 Mar 2016 22:19:00 GMThttp://www.tkk7.com/nkjava/archive/2016/03/06/429546.htmlhttp://www.tkk7.com/nkjava/comments/429546.htmlhttp://www.tkk7.com/nkjava/archive/2016/03/06/429546.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/429546.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/429546.html   grep -Hn "search content"  filename or *  鏄劇ず鏂囦歡鍚嶅拰琛屽彿

鑽夊師涓婄殑楠嗛┘ 2016-03-06 06:19 鍙戣〃璇勮
]]>
Vsftp瀹夎閰嶇疆錛堜笉鏂畬鍠勪腑錛?/title><link>http://www.tkk7.com/nkjava/archive/2016/01/22/429172.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Thu, 21 Jan 2016 23:42:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2016/01/22/429172.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/429172.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2016/01/22/429172.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/429172.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/429172.html</trackback:ping><description><![CDATA[1.瀹夎<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->sudo yum install vsftpd</div>2.閰嶇疆<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->sudo vi /etc/vsftpd/vsftpd.conf<br /><br />anonymous_enable=NO #鍖垮悕鐢ㄦ埛涓嶅彲鐧誨綍<br />local_enable=YES      #<br />chroot_local_user=YES  #鍙兘璁塊棶褰撳墠鐢ㄦ埛鐨勭洰褰?br /><br />systemctl restart vsftpd<br />systemctl enable vsftpd</div>3.鐢ㄦ埛閰嶇疆<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->usermod --home /data/ftp test<br /><br />http:<span style="color: #008000; ">//</span><span style="color: #008000; ">unix.stackexchange.com/questions/94603/limit-ftp-access-only-to-the-var-www-with-vsftpd</span><span style="color: #008000; "><br /></span>http:<span style="color: #008000; ">//</span><span style="color: #008000; ">www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/</span><span style="color: #008000; "><br /></span>http:<span style="color: #008000; ">//</span><span style="color: #008000; ">www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/</span><span style="color: #008000; "><br /></span>https:<span style="color: #008000; ">//</span><span style="color: #008000; ">www.rackspace.com/knowledge_center/article/rackspace-cloud-essentials-centos-configuring-a-user-in-vsftpd</span></div><img src ="http://www.tkk7.com/nkjava/aggbug/429172.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2016-01-22 07:42 <a href="http://www.tkk7.com/nkjava/archive/2016/01/22/429172.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Linux 鍏嶅瘑鐮佺櫥褰?/title><link>http://www.tkk7.com/nkjava/archive/2016/01/22/429171.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Thu, 21 Jan 2016 23:34:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2016/01/22/429171.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/429171.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2016/01/22/429171.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/429171.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/429171.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->1.鐢熸垚鍏挜<br /> ssh-keygen -t rsa<br /> </div> 2.鎷瘋礉鍒扮洰鏍囨湇鍔″櫒 <br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->scp .ssh/id_rsa.pub root@test.com</div><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->鎵ц鍐欏叆淇′換鐩綍<br />cat id_rsa.pub >> .ssh/authorized_keys<br />濡傛灉榪欓噷娌℃湁,ssh鐩綍錛屾墜鍔ㄥ垱寤?br />mkdir .ssh<br /><br />璁劇疆鐩綍鐨勬潈闄?br />chmod 700 .ssh<br />chmod 600 .ssh/authorized_keys</div>3.嫻嬭瘯<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->ssh root@test.com<br />鏃犻渶瀵嗙爜錛岀渷浜?jiǎn)寰堝鏃堕?/div><img src ="http://www.tkk7.com/nkjava/aggbug/429171.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2016-01-22 07:34 <a href="http://www.tkk7.com/nkjava/archive/2016/01/22/429171.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>CentOS/RHEL 7/6/5 緋葷粺閲屽崌綰VN瀹㈡埛绔?/title><link>http://www.tkk7.com/nkjava/archive/2016/01/20/429128.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Wed, 20 Jan 2016 05:22:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2016/01/20/429128.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/429128.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2016/01/20/429128.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/429128.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/429128.html</trackback:ping><description><![CDATA[<h2>CentOS/RHEL 7/6/5 榛樿鐨凷VN鐗堟湰鏄?.7錛岀敱浜庡伐浣滈渶瑕侀渶瑕佸崌綰у埌1.8<br /><div style="font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->1.娣誨姞婧?br />/etc/yum.repos.d/wandisco-svn.repo <br /><br />[WandiscoSVN]<br />name=Wandisco SVN Repo<br />baseurl=http:<span style="color: #008000; ">//</span><span style="color: #008000; ">opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/</span><span style="color: #008000; "><br /></span>enabled=1<br />gpgcheck=0</div><br />2銆亂um鍒犻櫎鏃х殑鍖?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->yum remove subversion*</div>3.瀹夎鏂扮殑鍖?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->yum clean all<br />yum install subversion</div><br />濂戒簡(jiǎn)錛岀幇鍦ㄨ瘯璇昐VN鐨勭増鏈?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> svn --version<br />svn, version 1.8.15 (r1718365)<br />   compiled Dec 11 2015, 14:28:48 on x86_64-redhat-linux-gnu<br /><br />Copyright (C) 2015 The Apache Software Foundation.<br />This software consists of contributions made by many people;<br />see the NOTICE file <span style="color: #0000FF; ">for</span> more information.<br />Subversion is open source software, see http:<span style="color: #008000; ">//</span><span style="color: #008000; ">subversion.apache.org/</span><span style="color: #008000; "><br /></span><br />The following repository access (RA) modules are available:<br /><br />* ra_svn : Module <span style="color: #0000FF; ">for</span> accessing a repository using the svn network protocol.<br />  - with Cyrus SASL authentication<br />  - handles 'svn' scheme<br />* ra_local : Module <span style="color: #0000FF; ">for</span> accessing a repository on local disk.<br />  - handles 'file' scheme<br />* ra_serf : Module <span style="color: #0000FF; ">for</span> accessing a repository via WebDAV protocol using serf.<br />  - using serf 1.3.7<br />  - handles 'http' scheme<br />  - handles 'https' scheme</div><br /><br /></h2><img src ="http://www.tkk7.com/nkjava/aggbug/429128.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2016-01-20 13:22 <a href="http://www.tkk7.com/nkjava/archive/2016/01/20/429128.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SVN浣跨敤灝忚http://www.tkk7.com/nkjava/archive/2016/01/20/429118.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Tue, 19 Jan 2016 16:05:00 GMThttp://www.tkk7.com/nkjava/archive/2016/01/20/429118.htmlhttp://www.tkk7.com/nkjava/comments/429118.htmlhttp://www.tkk7.com/nkjava/archive/2016/01/20/429118.html#Feedback1http://www.tkk7.com/nkjava/comments/commentRss/429118.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/429118.html2.svn rm --force folder 鍒犻櫎Add鐨勬搷浣?br />3.svn co svn_address 涓嬭澆svn
4.svn add folder or file 娣誨姞鏂板鍔犵殑浠g爜
5.svn st | awk '{if ( $1 == "?") { print $2}}' | xargs svn add 娣誨姞鏂囦歡鍒皊vn錛岃ˉ鍏呬笂闈㈢殑涓嶈凍銆?br />6.svn st 鏌ョ湅褰撳墠鐨勭姸鎬?br />7.svn rm --keep-local file or folder name 娣誨姞浜?jiǎn)涓嶅簲璇ョ殑娣诲姞鐨勬枃錃g錛屽湪鎻愬墠涔嬪墠鍒犻櫎鎺夛紝濂界敤
8.
svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' ) 鍒犻櫎鏈湴宸茬粡涓嶅瓨鍦ㄧ殑鏂囦歡錛屼絾鏄嚎涓婅繕瀛樺湪錛屾鍛戒護(hù)鍒犻櫎鎵ц鍚庢彁浜わ紝鍗沖彲鎶婄嚎涓婄殑鍒犻櫎
9.
svn status | ? { $_ -match '^!\s+(.*)' } | % { svn rm $Matches[1] } 涓婁竴涓懡浠ょ殑windows鐗堟湰


鑽夊師涓婄殑楠嗛┘ 2016-01-20 00:05 鍙戣〃璇勮
]]>
MAC涓婼ubversion鍗囩駭http://www.tkk7.com/nkjava/archive/2016/01/18/429105.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Mon, 18 Jan 2016 13:16:00 GMThttp://www.tkk7.com/nkjava/archive/2016/01/18/429105.htmlhttp://www.tkk7.com/nkjava/comments/429105.htmlhttp://www.tkk7.com/nkjava/archive/2016/01/18/429105.html#Feedback1http://www.tkk7.com/nkjava/comments/commentRss/429105.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/429105.html2.brew info subversion
subversion: stable 1.8.10 (bottled)
https://subversion.apache.org/
Not installed
3.brew install subversion
==> Installing dependencies for subversion: readline, sqlite, openssl
==> Installing subversion dependency: readline

==> Installing subversion
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/subversion-1.8.10_1.mavericks.bottle.3.tar.gz
######################################################################## 100,0%
==> Pouring subversion-1.8.10_1.mavericks.bottle.3.tar.gz
==> Caveats
svntools have been installed to:
  /usr/local/opt/subversion/libexec

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
馃嵑  /usr/local/Cellar/subversion/1.8.10_1: 116 files, 9,4M
4.svn --version
榪樻槸1.7
5.璁劇疆PATH
export PATH="/usr/local/bin:$PATH"
source ~/.bash_profile
6.鍐嶆墽琛宻vn --version璇曡瘯鍚?/span>

]]>
MAC涓嬪畨瑁匨emcachedhttp://www.tkk7.com/nkjava/archive/2016/01/11/429001.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Mon, 11 Jan 2016 11:20:00 GMThttp://www.tkk7.com/nkjava/archive/2016/01/11/429001.htmlhttp://www.tkk7.com/nkjava/comments/429001.htmlhttp://www.tkk7.com/nkjava/archive/2016/01/11/429001.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/429001.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/429001.html
sudo brew install memcached
鏂瑰紡浜屻?br />
1.瀹夎libevent
cd /tmp
$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.18-stable.tar.gz
$ tar zxvf libevent-2.0.18-stable.tar.gz
$ cd libevent-2.0.18-stable
$ ./configure
$ make
$ sudo make install

2.瀹夎memcached
$ cd /tmp
$ wget http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz
$ cd memcached-1.4.13
$ ./configure
$ make
$ sudo make install

3.浣跨敤memcached
鎸囧畾绔彛鍚姩
memcached -p 8000
鍚庡彴鍚姩
memcached -d -p 8000


鑽夊師涓婄殑楠嗛┘ 2016-01-11 19:20 鍙戣〃璇勮
]]>
Linux涓婼VN鏈嶅姟鐨勬惌寤猴紙闆嗛敠錛?/title><link>http://www.tkk7.com/nkjava/archive/2015/10/30/427976.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Fri, 30 Oct 2015 02:46:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2015/10/30/427976.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/427976.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2015/10/30/427976.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/427976.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/427976.html</trackback:ping><description><![CDATA[<div><a href="http://www.tkk7.com/nkjava/archive/2015/10/30/427974.html" title="CentOS鎼緩SVN鏈嶅姟錛屽甫HTTP鏈嶅姟">CentOS鎼緩SVN鏈嶅姟錛屽甫HTTP鏈嶅姟<br /></a><hr /><a href="http://www.tkk7.com/nkjava/archive/2014/11/05/419533.html" title="Ubuntu Linux涓嬪垱寤篠ubversion鏈嶅姟 涓夋鏇?>Ubuntu Linux涓嬪垱寤篠ubversion鏈嶅姟 涓夋鏇?/a></div><hr /><a href="http://www.tkk7.com/nkjava/archive/2013/02/07/395239.html" title="Ubuntu涓嬪畨瑁匰VN瀹㈡埛绔?>Ubuntu涓嬪畨瑁匰VN瀹㈡埛绔?/a><hr /><a href="http://www.tkk7.com/nkjava/archive/2011/08/29/357502.html" title="Centos鎼緩SVN鏈嶅姟鍣ㄤ笁姝ユ洸">Centos鎼緩SVN鏈嶅姟鍣ㄤ笁姝ユ洸</a><hr /><img src ="http://www.tkk7.com/nkjava/aggbug/427976.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2015-10-30 10:46 <a href="http://www.tkk7.com/nkjava/archive/2015/10/30/427976.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>CentOS鎼緩SVN鏈嶅姟錛屽甫HTTP鏈嶅姟http://www.tkk7.com/nkjava/archive/2015/10/30/427974.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Fri, 30 Oct 2015 02:29:00 GMThttp://www.tkk7.com/nkjava/archive/2015/10/30/427974.htmlhttp://www.tkk7.com/nkjava/comments/427974.htmlhttp://www.tkk7.com/nkjava/archive/2015/10/30/427974.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/427974.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/427974.html
yum install httpd subversion mod_dav_svn
#榪愯
service httpd start
#璁劇疆寮鏈哄惎鍔?br />chkconfig httpd on
2.閰嶇疆
鎵懼埌/etc/httpd/conf.modules.d/鐩綍
vim 10-subversion.conf

緙栬緫浠ヤ笅鍐呭
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
LoadModule dontdothat_module  modules/mod_dontdothat.so

Alias /svn /var/www/svn
<Location /svn>
   DAV svn
   SVNParentPath /var/www/svn/
   AuthType Basic
   AuthName "Subversion repositories"
   AuthUserFile /etc/svn-auth-users
   Require valid-user
</Location>

浠ヤ笂璁劇疆svn鐨勭洰褰?var/www/svn
璁劇疆AuthUserFiles鐢ㄦ埛瀵嗙爜鏂囦歡/etc/svn-auth-users

璁劇疆svn鏈嶅姟鐨勭洰褰?br />mkdir /var/www/svn
cd /var/www/svn/
svnadmin create repo #鍒涘緩svn婧?br />
閰嶇疆鏉冮檺
chown -R apache.apache /var/www/svn/
璁劇疆鐢ㄦ埛
htpasswd -cm /etc/svn-auth-users san.zhang
-c 鍒涘緩鏂囦歡錛屽鏋滃凡瀛樺湪鍒欒鐩?br />-m閲囩敤md5鍔犲瘑瀵嗙爜

瑕佹眰鐢ㄦ埛杈撳叆瀵嗙爜

htpasswd  /etc/svn-auth-users si.li

chown -R apache:apache /var/www/svn
service httpd restart
鍒濆鍖栦粨搴?br />mkdir /tmp/testproject
瀵煎叆
 svn import /tmp/testproject/ file:///var/www/svn/repos/testproject -m "initial"
3.嫻嬭瘯
svn co http://ipaddress/repo/testproject/


鑽夊師涓婄殑楠嗛┘ 2015-10-30 10:29 鍙戣〃璇勮
]]>
Centos7瀹夎Memcached涓夋鏇?/title><link>http://www.tkk7.com/nkjava/archive/2015/08/08/426690.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Sat, 08 Aug 2015 10:41:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2015/08/08/426690.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/426690.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2015/08/08/426690.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/426690.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/426690.html</trackback:ping><description><![CDATA[     鎽樿: 鏈枃浠嬬粛浜?jiǎn)鍦–entos7涓嬪浣曞畨瑁匨emcached杞歡錛屽笇鏈涘澶у鏈夋墍甯姪  <a href='http://www.tkk7.com/nkjava/archive/2015/08/08/426690.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/nkjava/aggbug/426690.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2015-08-08 18:41 <a href="http://www.tkk7.com/nkjava/archive/2015/08/08/426690.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Centos7閰嶇疆鏂囦歡鍏變韓鏈嶅姟鍣⊿AMBA涓夋鏇?/title><link>http://www.tkk7.com/nkjava/archive/2015/08/01/426542.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Sat, 01 Aug 2015 11:45:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2015/08/01/426542.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/426542.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2015/08/01/426542.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/426542.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/426542.html</trackback:ping><description><![CDATA[     鎽樿: 鏈枃璇︾粏浠嬬粛浜?jiǎn)鍦–entos7涓嬪浣曞畨瑁呴厤緗甋AMBA鏂囦歡鍏變韓鏈嶅姟鍣紝鏄叕鍙稿唴閮ㄦ渶闀跨敤鐨勫伐鍏蜂簡(jiǎn)錛屽笇鏈涚粰澶у鑳藉甫鏉ュ府鍔┿傛湰鏂囧垎涓夐儴鍒嗭紝絎竴閮ㄥ垎浠嬬粛浜?jiǎn)濡備綍瀹夎锛尳W簩閮ㄥ垎浠嬬粛浜?jiǎn)濡備綍閰嵕|紝絎簩閮ㄥ垎浠嬬粛浜?jiǎn)濡備綍鋴社敤銆?<br>  <a href='http://www.tkk7.com/nkjava/archive/2015/08/01/426542.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/nkjava/aggbug/426542.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2015-08-01 19:45 <a href="http://www.tkk7.com/nkjava/archive/2015/08/01/426542.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Centos7闃茬伀澧?Firewall)錛屽紑鍚紝鍒犻櫎錛岄噸瑁呭姞杞斤紝媯(gè)鏌ユ槸鍚︾敓鏁?/title><link>http://www.tkk7.com/nkjava/archive/2015/07/27/426434.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Sun, 26 Jul 2015 19:03:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2015/07/27/426434.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/426434.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2015/07/27/426434.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/426434.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/426434.html</trackback:ping><description><![CDATA[娣誨姞绔彛<br /> <span style="font-size: 13px; background-color: #eeeeee;">firewall</span><span style="font-size: 13px; background-color: #eeeeee;">-</span><span style="font-size: 13px; background-color: #eeeeee;">cmd </span><span style="font-size: 13px; background-color: #eeeeee;">--</span><span style="font-size: 13px; background-color: #eeeeee;">permanent </span><span style="font-size: 13px; background-color: #eeeeee;">--</span><span style="font-size: 13px; background-color: #eeeeee;">zone</span><span style="font-size: 13px; background-color: #eeeeee;">=</span><span style="font-size: 13px; color: #0000ff;">public</span><span style="font-size: 13px; background-color: #eeeeee;"> </span><span style="font-size: 13px; background-color: #eeeeee;">--</span><span style="font-size: 13px; background-color: #eeeeee;">add</span><span style="font-size: 13px; background-color: #eeeeee;">-</span><span style="font-size: 13px; background-color: #eeeeee;">port</span><span style="font-size: 13px; background-color: #eeeeee;">=</span><span style="font-size: 13px; background-color: #eeeeee;">80</span><span style="font-size: 13px; background-color: #eeeeee;">/</span><span style="font-size: 13px; background-color: #eeeeee;">tcp </span> <div style="font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;">鎴栬?br /> firewall-cmd --permanent --zone=<span style="color: #0000FF; ">public</span> --add-service=http</div> 閲嶆柊l(fā)oad<br /> <div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->firewall-cmd --reload</div> <br />媯(gè)鏌ユ槸鍚︾敓鏁?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> firewall-cmd --zone=<span style="color: #0000FF; ">public</span> --query-port=80/tcp</div><br />鍒楀嚭鎵鏈夌殑寮鏀劇鍙?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->firewall-cmd --list-all</div>鍒犻櫎绔彛<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->firewall-cmd --zone=<span style="color: #0000FF; ">public</span> --remove-port=80/tcp<br /><em style="color: #666666; font-family: Verdana; font-size: 12px; line-height: normal; background-color: #ffffff;"> firewall-cmd --zone=public --remove-service=http</em></div>媯(gè)<img src ="http://www.tkk7.com/nkjava/aggbug/426434.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2015-07-27 03:03 <a href="http://www.tkk7.com/nkjava/archive/2015/07/27/426434.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>CentOS7瀹夎Nginx涓夐儴鏇?/title><link>http://www.tkk7.com/nkjava/archive/2015/05/06/424896.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Wed, 06 May 2015 10:50:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2015/05/06/424896.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/424896.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2015/05/06/424896.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/424896.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/424896.html</trackback:ping><description><![CDATA[Nginx灝變笉澶氫粙緇嶄簡(jiǎn)錛屼笅闈㈡槸涓夐儴鏇插叿浣撶殑鎿嶄綔銆?br />1.瀹夎EPTL婧?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->sudo yum install epel-release</div>2.瀹夎NGINX<br /><div style="font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->sudo yum install nginx</div>3.閰嶇疆NGINX<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->緋葷粺鑷姩鍚姩錛?br />sudo systemctl enable nginx.service<br />绔嬪埢鍚姩鏈嶅姟<br />sudo systemctl start nginx.service <br /><br />闃茬伀澧欓厤緗?br />sudo firewall-cmd --permanent --zone=<span style="color: #0000FF; ">public</span> --add-service=http <br />sudo firewall-cmd --permanent --zone=<span style="color: #0000FF; ">public</span> --add-service=https<br />sudo firewall-cmd --reload<br /><br />Firewall鍚姩鍜屽叧闂?br />systemctl start firewalld<br />systemctl stop firewalld</div>濂戒簡(jiǎn)錛屽ぇ鍔熷畬鎴愩?img src ="http://www.tkk7.com/nkjava/aggbug/424896.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2015-05-06 18:50 <a href="http://www.tkk7.com/nkjava/archive/2015/05/06/424896.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>CentOS7瀹夎Memcached 涓夋鏇?/title><link>http://www.tkk7.com/nkjava/archive/2015/04/25/centos7_install_memcached.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Sat, 25 Apr 2015 07:40:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2015/04/25/centos7_install_memcached.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/424667.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2015/04/25/centos7_install_memcached.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/424667.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/424667.html</trackback:ping><description><![CDATA[     鎽樿: 鏈枃浠嬬粛鍦–entos7涓嬪浣曞畨瑁匨emcached錛屽鏋滈厤緗甅emcached, 浠ュ強(qiáng)Memcached鐨勫父瑙佸懡浠ゃ?nbsp; <a href='http://www.tkk7.com/nkjava/archive/2015/04/25/centos7_install_memcached.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/nkjava/aggbug/424667.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2015-04-25 15:40 <a href="http://www.tkk7.com/nkjava/archive/2015/04/25/centos7_install_memcached.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Git甯哥敤鐨?1涓懡浠ゆ暣鐞?/title><link>http://www.tkk7.com/nkjava/archive/2015/01/22/422345.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Thu, 22 Jan 2015 00:32:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2015/01/22/422345.html</guid><description><![CDATA[1 git clone<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->git <span style="color: #0000FF; ">clone</span> https:<span style="color: #008000; ">//</span><span style="color: #008000; ">github.com/bcit-ci/CodeIgniter.git                        鍙厠闅?/span><span style="color: #008000; "><br /></span>git <span style="color: #0000FF; ">clone</span> https:<span style="color: #008000; ">//</span><span style="color: #008000; ">username@github.com/bcit-ci/CodeIgniter.git        鎼哄甫鐢ㄦ埛鍚?/span><span style="color: #008000; "><br /></span>https:<span style="color: #008000; ">//</span><span style="color: #008000; ">username:password@github.com/bcit-ci/CodeIgniter.git       鎼哄甫鐢ㄦ埛鍚嶅拰瀵嗙爜</span></div>2.git add -A<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->git add -A銆 <span style="color: #008000; ">#</span><span style="color: #008000; ">鎻愪氦鎵鏈夌殑鏂囦歡,鎵鏈塼racked鏂囦歡涓淇敼榪囨垨宸插垹闄ゆ枃浠跺拰鎵鏈塽ntracted鐨勬枃浠朵俊鎭坊鍔犲埌绱㈠紩搴?/span><span style="color: #008000; "><br /></span>git add  .   <span style="color: #008000; ">#</span><span style="color: #008000; ">鎻愪氦褰撳墠鐩綍</span><span style="color: #008000; "><br /></span>git add  -u  <span style="color: #008000; ">#</span><span style="color: #008000; ">add to index only files modified or deleted and not those created </span><span style="color: #008000; "><br /></span>git add -i   <span style="color: #008000; ">#</span><span style="color: #008000; ">鏌ョ湅涓鎵鏈変慨鏀硅繃鎴栧凡鍒犻櫎鏂囦歡浣嗘病鏈夋彁浜ょ殑鏂囦歡</span><span style="color: #008000; "><br /></span>[s]tatus:  鏌ョ湅褰撳墠鐨勬枃浠剁姸鎬?br />[u]pdate: 鎶婂凡緇弔racked鐨勬枃浠舵坊鍔犲埌绱㈠紩搴撲腑<br />[r]evert: 鎶婂凡緇忔坊鍔犲埌绱㈠紩搴撲腑鐨勬枃浠朵粠绱㈠紩搴撲腑鍓旈櫎銆?br />[a]dd untracked 鎶婂凡緇弔racked鐨勬枃浠舵坊鍔犲埌绱㈠紩搴撲腑<br />[p]atch  <br />[d]iff: 鍙互姣旇緝绱㈠紩搴撲腑鏂囦歡鍜屽師鐗堟湰鐨勫樊寮?br />[q]uit: 閫鍑篻it add -i鍛戒護(hù)緋葷粺<br />[h]elp:</div>3.git commit -m <br /><div style="font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->涓鑸粨搴撲腑鐨勬枃浠跺彲鑳藉瓨鍦ㄤ簬榪欎笁縐嶇姸鎬侊細(xì)<br />    1錛塙ntracked files → 鏂囦歡鏈璺熻釜錛?br />    2錛塁hanges to be committed → 鏂囦歡宸叉殏瀛橈紝榪欐槸涓嬫鎻愪氦鐨勫唴瀹癸紱<br />    3) Changes bu not updated → 鏂囦歡琚慨鏀癸紝浣嗗茍娌℃湁娣誨姞鍒版殏瀛樺尯銆傚鏋?nbsp;commit 鏃舵病鏈夊甫 -a 閫夐」錛岃繖涓姸鎬佷笅鐨勬枃浠朵笉浼?xì)琚彁浜ゃ?br /><br />git commit 鎻愪氦鏆傚瓨鍖洪噷鐨勫唴瀹?br />git commit -a  闄や簡(jiǎn)灝嗘殏瀛樺尯閲岀殑鏂囦歡鎻愪氦澶栵紝榪樻彁浜?nbsp;Changes bu not updated 涓殑鏂囦歡銆?br />git commit -a -m "info"<br />git commit --amend <br />git commit --amend -a <span style="color: #008000; ">#</span><span style="color: #008000; ">鍙堟垨鑰呮垜浠彂鐜板湪鎻愪氦鏃跺繕璁頒嬌鐢?nbsp;-a 閫夐」錛屽鑷?nbsp;Changes bu not updated 涓殑鍐呭娌℃湁琚彁浜わ紝鎴戜滑鍙互浣跨敤</span><span style="color: #008000; "><br />#</span><span style="color: #008000; ">reference:http://www.cnblogs.com/eddy-he/archive/2012/03/22/git_commit.html</span></div>4.git push<br />   git pull<br />   <span style="font-size: 13px; background-color: #eeeeee;">git pull </span><span style="font-size: 13px; background-color: #eeeeee;"><</span><span style="font-size: 13px; background-color: #eeeeee;">榪滅▼涓繪満鍚?/span><span style="font-size: 13px; background-color: #eeeeee;">></span><span style="font-size: 13px; background-color: #eeeeee;"> </span><span style="font-size: 13px; background-color: #eeeeee;"><</span><span style="font-size: 13px; background-color: #eeeeee;">榪滅▼鍒嗘敮鍚?/span><span style="font-size: 13px; background-color: #eeeeee;">>:<</span><span style="font-size: 13px; background-color: #eeeeee;">鏈湴鍒嗘敮鍚?/span><span style="font-size: 13px; background-color: #eeeeee;">></span><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><span style="color: #008000; ">#</span><span style="color: #008000; ">姣斿錛屽彇鍥瀘rigin涓繪満鐨刵ext鍒嗘敮錛屼笌鏈湴鐨刴aster鍒嗘敮鍚堝茍錛岄渶瑕佸啓鎴愪笅闈㈣繖鏍楓?/span><span style="color: #008000; "><br /></span>git pull origin <span style="color: #008080; ">next</span>:master<br /><span style="color: #008000; ">#</span><span style="color: #008000; ">濡傛灉榪滅▼鍒嗘敮鏄笌褰撳墠鍒嗘敮鍚堝茍錛屽垯鍐掑彿鍚庨潰鐨勯儴鍒嗗彲浠ョ渷鐣ャ?/span><span style="color: #008000; "><br /></span>git pull origin <span style="color: #008080; ">next</span><br />鐩稿綋浜庯細(xì)<br />git fetch origin<br />git merge origin/<span style="color: #008080; ">next</span><br /><span style="color: #008000; ">#</span><span style="color: #008000; ">濡傛灉褰撳墠鍒嗘敮涓庤繙紼嬪垎鏀瓨鍦ㄨ拷韙叧緋伙紝git pull灝卞彲浠ョ渷鐣ヨ繙紼嬪垎鏀悕銆?/span><span style="color: #008000; "><br /></span> git pull origin<br /><span style="color: #008000; ">#</span><span style="color: #008000; ">濡傛灉褰撳墠鍒嗘敮鍙湁涓涓拷韙垎鏀紝榪炶繙紼嬩富鏈哄悕閮藉彲浠ョ渷鐣ャ?/span><span style="color: #008000; "><br /></span>git pull</div>   <br /><br />5.git config --global user.name<br />   git config --global user.email<br />   git config --global  credential.helper store<br />   璁劇疆鐢ㄦ埛鍚嶅拰閭錛岃緗瓨鍌ㄥ瘑鐮?br />6.git fetch<br />   鑾峰彇榪滅▼鐨勬洿鏂?br />7.git merge<br />  鍚堝茍鏇存柊<br />8.git  stash (榪欎釜鍔熻兘澶у浜夎姣旇緝澶?<br /><div style="font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->澶囦喚褰撳墠鐨勫伐浣滃尯鐨勫唴瀹癸紝浠庢渶榪戠殑涓嬈℃彁浜や腑璇誨彇鐩稿叧鍐呭錛岃宸ヤ綔鍖轟繚璇佸拰涓婃鎻愪氦鐨勫唴瀹逛竴鑷淬傚悓鏃訛紝灝嗗綋鍓嶇殑宸ヤ綔鍖哄唴瀹逛繚瀛樺埌Git鏍堜腑銆?br />git stash pop:<br /> 浠嶨it鏍堜腑璇誨彇鏈榪戜竴嬈′繚瀛樼殑鍐呭錛屾仮澶嶅伐浣滃尯鐨勭浉鍏沖唴瀹廣傜敱浜庡彲鑳藉瓨鍦ㄥ涓猄tash鐨勫唴瀹癸紝鎵浠ョ敤鏍堟潵綆$悊錛宲op浼?xì)浠庢渶榪戠殑涓涓猻tash涓鍙栧唴瀹瑰茍鎭㈠銆?br />git stash <span style="color: #0000FF; ">list</span>:<br />   鏄劇ずGit鏍堝唴鐨勬墍鏈夊浠斤紝鍙互鍒╃敤榪欎釜鍒楄〃鏉ュ喅瀹氫粠閭d釜鍦版柟鎭㈠銆?br />git stash clear:<br />娓呯┖Git鏍堛傛鏃朵嬌鐢╣itg絳夊浘褰㈠寲宸ュ叿浼?xì)鍙戠帋图屽師鏉tash鐨勫摢浜涜妭鐐歸兘娑堝け浜?jiǎn)銆?br /><br />浣跨敤git鐨勬椂鍊欙紝鎴戜滑寰寰浣跨敤branch瑙e喅浠誨姟鍒囨崲闂錛屼緥濡傦紝鎴戜滑寰寰浼?xì)寰忎竴涓嚜宸辯殑鍒嗘敮鍘諱慨鏀瑰拰璋冭瘯浠g爜, 濡傛灉鍒漢鎴栬呰嚜宸卞彂鐜板師鏈夌殑鍒嗘敮涓婃湁涓笉寰椾笉淇敼鐨刡ug錛屾垜浠線寰浼?xì)鎶婂畬鎴愪竴鍗婄殑浠g爜 commit鎻愪氦鍒版湰鍦頒粨搴擄紝鐒跺悗鍒囨崲鍒嗘敮鍘諱慨鏀筨ug錛屾敼濂戒箣鍚庡啀鍒囨崲鍥炴潵銆傝繖鏍風(fēng)殑璇濆線寰log涓婁細(xì)鏈夊ぇ閲忎笉蹇呰鐨勮褰曘傚叾瀹炲鏋滄垜浠笉鎯蟲(chóng)彁浜ゅ畬鎴愪竴鍗婃垨鑰呬笉瀹屽杽鐨勪唬鐮侊紝浣嗘槸鍗翠笉寰椾笉鍘諱慨鏀逛竴涓揣鎬ug錛岄偅涔堜嬌鐢?git stash'灝卞彲浠ュ皢浣犲綋鍓嶆湭鎻愪氦鍒版湰鍦幫紙鍜屾湇鍔″櫒錛夌殑浠g爜鎺ㄥ叆鍒癎it鐨勬爤涓紝榪欐椂鍊欎綘鐨勫伐浣滃尯闂村拰涓婁竴嬈℃彁浜ょ殑鍐呭鏄畬鍏ㄤ竴鏍風(fēng)殑錛屾墍浠ヤ綘鍙互鏀懼績(jī)鐨勪慨 Bug錛岀瓑鍒頒慨瀹孊ug錛屾彁浜ゅ埌鏈嶅姟鍣ㄤ笂鍚庯紝鍐嶄嬌鐢?git stash apply'灝嗕互鍓嶄竴鍗婄殑宸ヤ綔搴旂敤鍥炴潵銆備篃璁告湁鐨勪漢浼?xì)璇村Q岄偅鎴戝彲涓嶅彲浠ュ嬈″皢鏈彁浜ょ殑浠g爜鍘嬪叆鍒版爤涓紵絳旀鏄彲浠ョ殑銆傚綋浣犲嬈′嬌鐢?git stash'鍛戒護(hù)鍚庯紝浣犵殑鏍堥噷灝嗗厖婊′簡(jiǎn)鏈彁浜ょ殑浠g爜錛岃繖鏃跺欎綘浼?xì)瀵篂畣鍝釜鐗堟湰搴旂敤鍥炴潵鏈変簺鍥版儜锛?git stash list'鍛戒護(hù)鍙互灝嗗綋鍓嶇殑Git鏍堜俊鎭墦鍗板嚭鏉ワ紝浣犲彧闇瑕佸皢鎵懼埌瀵瑰簲鐨勭増鏈彿錛屼緥濡備嬌鐢?git stash apply stash@{1}'灝卞彲浠ュ皢浣犳寚瀹氱増鏈彿涓簊tash@{1}鐨勫伐浣滃彇鍑烘潵錛屽綋浣犲皢鎵鏈夌殑鏍堥兘搴旂敤鍥炴潵鐨勬椂鍊欙紝鍙互浣跨敤'git stash clear'鏉ュ皢鏍堟竻絀恒?br />鍦ㄨ繖閲岄『渚挎彁涓媑it format-patch -n , n鏄叿浣撴煇涓暟瀛楋紝 渚嬪 'git format-patch -1' 榪欐椂渚夸細(xì)鏍規(guī)嵁log鐢熸垚涓涓搴旂殑琛ヤ竵錛屽鏋?nbsp;'git format-patch -2' 閭d箞渚夸細(xì)鐢熸垚2涓ˉ涓侊紝褰撶劧鍓嶆彁鏄綘鐨刲og涓婃湁鑷沖皯鏈変袱涓褰曘?br /><br /><br /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">stash鐨勮瘽涓瀹氭槸鍩轟簬鏌愪釜鐗堟湰鐨勶紝鑰屼笖灝唖tash浠庢爤鍐呮嬁鍑烘潵錛屼竴瀹氭槸闇瑕佽繕鍘熷埌瀵瑰簲鐨勭増鏈傞氳繃git stash list鍙互娓呮櫚鐨勭湅鍒版瘡涓猻tash瀵瑰簲鐨勭増鏈紝濡傦細(xì)</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">stash@{0}: WIP on master: e95dc37 Require administrator authority...</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">stash@{1}: WIP on md_develop: fcaa18f Add an object to recieve md...</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">姣斿浣犻渶瑕佹仮澶峴tash@{1}榪欐椂鍊欎綘闇瑕佸仛鐨勬槸錛?/span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">git checkout fcaa18f</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">git stash apply stash@{1}</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">灝介噺涓嶄嬌鐢ㄧ被浼糶it stash pop鐨勬柟娉曘傚鏋滀綘褰撳墠fcaa18f鎵鍦ㄧ殑鍒嗘敮鏈夌戶緇線鍓嶆帹榪涚殑璇濓紝寤鴻鍦╢caa18f涓婂緩绔嬫柊鐨勫垎鏀紝鐒跺悗緇х畫(huà)stash@{1}鐨勪慨鏀癸紝騫跺皢stash@{1}鐨勫唴瀹規(guī)彁浜ゅ埌鏂扮殑鍒嗘敮涓?</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">git branch new_develop</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">git checkout new_develop</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">git add FILES</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">git commit</span><br style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;" /><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19.5px; background-color: #ffffff;">鍚庣畫(huà)鍐嶉氳繃cherry-pick鐨勬柟寮忥紝灝嗕慨鏀圭殑鍐呭搴旂敤鍒板叾浠栭渶瑕佽繖涓慨鏀圭殑鍒嗘敮涔嬩笂</span><br /><span style="color: #008000; ">#</span><span style="color: #008000; ">reference :http://www.cppblog.com/deercoder/archive/2011/11/13/160007.html</span></div> 9.git log<br />10.git status<br />11:git show<img src ="http://www.tkk7.com/nkjava/aggbug/422345.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2015-01-22 08:32 <a href="http://www.tkk7.com/nkjava/archive/2015/01/22/422345.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>MySQL 淇敼瀵嗙爜http://www.tkk7.com/nkjava/archive/2015/01/21/422319.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Wed, 21 Jan 2015 05:44:00 GMThttp://www.tkk7.com/nkjava/archive/2015/01/21/422319.html 1.浣跨敤mysqladmin
mysqladmin -u root password NEWPASSWORD
2.淇敼鑰佸瘑鐮?br />
mysqladmin -u root -p'oldpassword' password newpass
3.楠岃瘉淇敼鐨勫瘑鐮?br />
mysql -u root -p'123456' db-name-here錛堝彲閫夋嫨錛?/div>
mysql -u root -p'123456' -e 'show databases;'
-e 鎵ц鍚庨潰鐨勫懡浠?br /> 4.浣跨敤SQL淇敼瀵嗙爜
涓瀹氳杈撳叆flush privileges鍚庢墠鍙互鐢熸晥銆?br />
1.mysql -u root -p
2.use mysql;
3.update user set password=PASSWORD("NEWPASSWORD") where User='username';
4. flush privileges;
5.quit
濡傛灉鏈夐棶棰橈紝闅忔椂鑱旂郴鎴戜滑錛?a >bjwill

]]>Httpd鍚姩鎶ラ敊 Could not reliably determine the server's fully qualified domain namehttp://www.tkk7.com/nkjava/archive/2014/12/22/421633.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Mon, 22 Dec 2014 09:29:00 GMThttp://www.tkk7.com/nkjava/archive/2014/12/22/421633.htmlhttp://www.tkk7.com/nkjava/comments/421633.htmlhttp://www.tkk7.com/nkjava/archive/2014/12/22/421633.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/421633.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/421633.htmlhttpd: Could not reliably determine the server's fully qualified domain name, using XX.XX.XX.XX for ServerName
vim /etc/httpd/conf/httpd.conf
鍘繪帀娉ㄩ噴ServerName localhost:80


鑽夊師涓婄殑楠嗛┘ 2014-12-22 17:29 鍙戣〃璇勮
]]>
Centos 鍗囩駭MySQL鐗堟湰鎴栬匶um瀹夎Mysql5.6http://www.tkk7.com/nkjava/archive/2014/11/21/420406.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Fri, 21 Nov 2014 03:55:00 GMThttp://www.tkk7.com/nkjava/archive/2014/11/21/420406.htmlhttp://www.tkk7.com/nkjava/comments/420406.htmlhttp://www.tkk7.com/nkjava/archive/2014/11/21/420406.html#Feedback1http://www.tkk7.com/nkjava/comments/commentRss/420406.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/420406.html1.浠嶮ySQL Yum浠撳簱涓嬭澆鏈鏂扮殑rpm鏂囦歡錛歨ttp://dev.mysql.com/downloads/repo/yum/
CentOS 6 http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
2.yum remove mysql mysql-*  
3.mysql-community-release-el6-5.noarch.rpm
4.yum localinstall mysql-community-release-el6-5.noarch.rpm
5.鍙互閫氳繃涓嬮潰鐨勫懡浠ゆ潵紜榪欎釜浠撳簱琚垚鍔熸坊鍔狅細(xì)
yum repolist enabled | grep "mysql.*-community.*
6.yum install mysql-community-server
璁劇疆currenttime
http://www.metsky.com/archives/118.html
鍙傝冩枃浠訛細(xì)
http://blog.csdn.net/shootyou/article/details/8236886
璁板緱鍒犻櫎鑰佺増鏈殑/etc/my.conf,/var/lib/mysql, 鎴栬呭浠借佺増鏈殑mysql
鍚﹀垯鍙兘浼?xì)钃v鍔ㄤ笉璧鋒潵
http://www.th7.cn/db/mysql/201408/66691.shtml


鑽夊師涓婄殑楠嗛┘ 2014-11-21 11:55 鍙戣〃璇勮
]]>
Ubuntu Linux涓嬪垱寤篠ubversion鏈嶅姟 涓夋鏇?/title><link>http://www.tkk7.com/nkjava/archive/2014/11/05/419533.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Wed, 05 Nov 2014 08:58:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2014/11/05/419533.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/419533.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2014/11/05/419533.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/419533.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/419533.html</trackback:ping><description><![CDATA[絎竴姝ワ紝瀹夎蹇呰鐨勮蔣浠?br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->sudo apt-get install apache2  subversion libapache2-svn apache2-utils <br />鍚姩apache2, sudo /etc/init.d/apache2 start, 鐒跺悗閫氳繃http://ipaddress/ 鏌ョ湅鏄惁鍙互璁塊棶</div>絎簩姝ワ紝閰嶇疆SVN<br /><div style="font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->sudo mkdir /home/svn                                          #鍒涘緩SVN鐩綍<br />sudo svnadmin create /home/svn/repo                     #鍒涘緩SVN婧愮洰褰?br />sudo chown -R www-data:www-data /home/svn         #緇橝apche鐢ㄦ埛娣誨姞鏉冮檺<br />sudo htpasswd -c /etc/subversion/test.users lilei        #鍒涘緩鐢ㄦ埛鍜屽瘑鐮?br />                   New password:<br />                    Re-type <span style="color: #0000FF; ">new</span> password:<br />                   Adding password <span style="color: #0000FF; ">for</span> user lilei<br />濡傛灉鍙槸娣誨姞lilei, 鍘繪帀-c鍗沖彲                                            <br /><br />閰嶇疆/etc/apache2/site-enabled/svn.conf                      #娣誨姞SVN宸ヤ綔鐩綍鍒癮pache<br /><location /repos><br />DAV svn<br /># SVN path<br />SVNParentPath /home/svn/<br />AuthType Basic<br />AuthName "Authorization Realm"<br />#password file path<br />AuthUserFile /etc/subversion/test.users<br />Require valid-user<br /></location><br /><br />閲嶅惎apache2<br />sudo /etc/init.d/apache2 restart</div>絎笁姝ワ紝浣跨敤鍜屾祴璇?br />嫻忚鍣ㄦ墦寮 http://ipaddress/repos/repo錛屾彁紺虹敤鎴瘋緭鍏ョ敤鎴峰悕鍜屽瘑鐮侊紝杈撳叆鍒氭墠杈撳叆鐨勭敤鎴峰悕鍜屽瘑鐮佸嵆鍙?br />浣跨敤SVN瀹㈡埛绔垨鑰呯洿鎺ュ湪SVN鍛戒護(hù)琛屾祴璇?br />svn co http://ipaddress/repos/repo repo --username lilei<br />cd repo<br />touch a.txt<br />touch b.txt<br />svn add<br />svn commit -m"test"<br />鐒跺悗鍐嶉氳繃http://ipaddress/repos/repo璁塊棶灝卞彲浠ョ湅鍒頒袱涓枃浠躲傜濂借繍錛屽鏋滄湁闂鍙互鍜屾垜鍗曠嫭鑱旂郴銆?br /><br /><br />淇敼瀵嗙爜錛?br />htpasswd /etc/subversion/test.users lilei<img src ="http://www.tkk7.com/nkjava/aggbug/419533.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2014-11-05 16:58 <a href="http://www.tkk7.com/nkjava/archive/2014/11/05/419533.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Linux Yum涓柇鍚庤В鍐蟲(chóng)柟妗堬紙F(tuán)or me it looks like you rebooted your computer (or it crashed) while you where in the process of upgrading packages錛?/title><link>http://www.tkk7.com/nkjava/archive/2014/11/04/419466.html</link><dc:creator>鑽夊師涓婄殑楠嗛┘</dc:creator><author>鑽夊師涓婄殑楠嗛┘</author><pubDate>Tue, 04 Nov 2014 01:33:00 GMT</pubDate><guid>http://www.tkk7.com/nkjava/archive/2014/11/04/419466.html</guid><wfw:comment>http://www.tkk7.com/nkjava/comments/419466.html</wfw:comment><comments>http://www.tkk7.com/nkjava/archive/2014/11/04/419466.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/nkjava/comments/commentRss/419466.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/nkjava/services/trackbacks/419466.html</trackback:ping><description><![CDATA[鐢變簬浣跨敤鐨勬槸VPN錛屽湪榪愯YUM榪囩▼涓柇錛屽鑷村悗闈㈣繍琛寉um鍑虹幇涓浜涢棶棰樸?br />涓嬮潰鏄煡鍒扮殑瑙e喅鏂規(guī)<span style="font-size: 13px; background-color: #eeeeee;">For me it looks like you rebooted your computer (or it crashed) </span><span style="font-size: 13px; color: #0000ff;">while</span><span style="font-size: 13px; background-color: #eeeeee;"> you where in the process of upgrading packages. So </span><span style="font-size: 13px; color: #0000ff;">new</span><span style="font-size: 13px; background-color: #eeeeee;"> packages where installed, but old packages where not removed.</span><br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><br />First look <span style="color: #0000FF; ">if</span> you have any uncomplete transactions with: <br /><br />1.棣栧厛鏌ョ湅鏄惁鏈夋湭瀹屾垚鐨勪簨鍔?br />yum-complete-transaction<br /><br />2.鏌ョ湅鏄惁鏈夐噸澶嶇殑鍖?br /><span style="color: #0000FF; ">package</span>-cleanup --dupes<br /><br />3.濡傛灉鏈夌殑璇濊鐞嗚繖浜涢噸澶嶇殑鍖?br />  <span style="color: #0000FF; ">package</span>-cleanup --cleandupes</div><img src ="http://www.tkk7.com/nkjava/aggbug/419466.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/nkjava/" target="_blank">鑽夊師涓婄殑楠嗛┘</a> 2014-11-04 09:33 <a href="http://www.tkk7.com/nkjava/archive/2014/11/04/419466.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Ubuntu Server寮鍚緗戣闂甅ySQLhttp://www.tkk7.com/nkjava/archive/2014/08/22/417235.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Fri, 22 Aug 2014 03:29:00 GMThttp://www.tkk7.com/nkjava/archive/2014/08/22/417235.htmlhttp://www.tkk7.com/nkjava/comments/417235.htmlhttp://www.tkk7.com/nkjava/archive/2014/08/22/417235.html#Feedback1http://www.tkk7.com/nkjava/comments/commentRss/417235.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/417235.html
Removing the line bind-address 127.0.0.1 from /etc/mysql/my.cnf solved the issue

娉ㄩ噴鍒?etc/mysql/my.cnf閲岀殑bind-address 127.0.0.1琛岋紝鐒跺悗閲嶅惎mysql

鍙﹀瑕佸湪闃茬伀澧欓噷鏀懼紑3306绔彛


鑽夊師涓婄殑楠嗛┘ 2014-08-22 11:29 鍙戣〃璇勮
]]>
Ubuntu瀹夎swftoolshttp://www.tkk7.com/nkjava/archive/2014/07/31/416419.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Thu, 31 Jul 2014 12:39:00 GMThttp://www.tkk7.com/nkjava/archive/2014/07/31/416419.htmlhttp://www.tkk7.com/nkjava/comments/416419.htmlhttp://www.tkk7.com/nkjava/archive/2014/07/31/416419.html#Feedback0http://www.tkk7.com/nkjava/comments/commentRss/416419.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/416419.html
http://download.savannah.gnu.org/releases/freetype/freetype-2.4.0.tar.gz
http://www.ijg.org/files/jpegsrc.v9.tar.gz
http://swftools.org/swftools-0.9.2.tar.gz

2.瀹夎Jpegsrc
tar xzvf  jpegsrc.v9.tar.gz
cd jpegsrc
./configure
make
make install

3.瀹夎f(xié)reeType
./configure
make
make install

4.瀹夎libjpg
鎵ц sudo apt search libjpg
鍙戠幇涓嬮潰涓や釜鍖?br />
libjpgalleg4-dev
libjpgalleg4.4

鎵цsudo apt-get install  libjpgalleg4-dev libjpgalleg4.4 榪涜瀹夎

5.瀹夎swftools
./configure
make
make install
6.鎵цpdf2swf,鍑虹幇涓嬮潰鐨勫唴瀹硅〃鏄庡畨瑁呮垚鍔?br />
Usage: pdf2swf [-options] file.pdf -o file.swf

-h , --help                    Print short help message and exit
-V , --version                 Print version info and exit
-o , --output file.swf         Direct output to file.swf. If file.swf contains '%' (file%.swf), then each page goes to a separate file.
-p , --pages range             Convert only pages in range with range e.g. 1-20 or 1,4,6,9-11 or
-P , --password password       Use password for deciphering the pdf.
-v , --verbose                 Be verbose. Use more than one -v for greater effect.
-z , --zlib                    Use Flash 6 (MX) zlib compression.
-i , --ignore                  Allows pdf2swf to change the draw order of the pdf. This may make the generated
-j , --jpegquality quality     Set quality of embedded jpeg pictures to quality. 0 is worst (small), 100 is best (big). (default:85)
-s , --set param=value         Set a SWF encoder specific parameter.  See pdf2swf -s help for more information.
-w , --samewindow              When converting pdf hyperlinks, don't make the links open a new window. 
-t , --stop                    Insert a stop() command in each page. 
-T , --flashversion num        Set Flash Version in the SWF header to num.
-F , --fontdir directory       Add directory to the font search path.
-b , --defaultviewer           Link a standard viewer to the swf file. 
-l , --defaultloader           Link a standard preloader to the swf file which will be displayed while the main swf is loading.
-B , --viewer filename         Link viewer filename to the swf file. 
-L , --preloader filename      Link preloader filename to the swf file. 
-q , --quiet                   Suppress normal messages.  Use -qq to suppress warnings, also.
-S , --shapes                  Don't use SWF Fonts, but store everything as shape.
-f , --fonts                   Store full fonts in SWF. (Don't reduce to used characters).
-G , --flatten                 Remove as many clip layers from file as possible. 
-I , --info                    Don't do actual conversion, just display a list of all pages in the PDF.
-Q , --maxtime n               Abort conversion after n seconds. Only available on Unix.


鑽夊師涓婄殑楠嗛┘ 2014-07-31 20:39 鍙戣〃璇勮
]]>
Centos Linux瀹夎Apache Benchmark, AB鍘嬪姏嫻嬭瘯宸ュ叿http://www.tkk7.com/nkjava/archive/2014/07/12/415718.html鑽夊師涓婄殑楠嗛┘鑽夊師涓婄殑楠嗛┘Sat, 12 Jul 2014 00:39:00 GMThttp://www.tkk7.com/nkjava/archive/2014/07/12/415718.htmlhttp://www.tkk7.com/nkjava/comments/415718.htmlhttp://www.tkk7.com/nkjava/archive/2014/07/12/415718.html#Feedback1http://www.tkk7.com/nkjava/comments/commentRss/415718.htmlhttp://www.tkk7.com/nkjava/services/trackbacks/415718.html涓嬮潰鏄竴縐嶅揩閫熺殑鏂瑰紡銆?br />
yum install httpd-tools
瀹夎瀹屾垚鍚庤繍琛孉B宸ュ叿璇曡瘯錛屽嚭鐜頒笅闈㈢殑鍐呭琛ㄦ槑瀹夎鎴愬姛銆?/font>

ab: wrong number of arguments
Usage: ab [options] [http[s]://]hostname[:port]/path
Options are:
    -n requests     Number of requests to perform
    -c concurrency  Number of multiple requests to make
    -t timelimit    Seconds to max. wait for responses
    -b windowsize   Size of TCP send/receive buffer, in bytes
    -p postfile     File containing data to POST. Remember also to set -T
    -u putfile      File containing data to PUT. Remember also to set -T
    -T content-type Content-type header for POSTing, eg.
                    'application/x-www-form-urlencoded'
                    Default is 'text/plain'
    -v verbosity    How much troubleshooting info to print
    -w              Print out results in HTML tables
    -i              Use HEAD instead of GET
    -x attributes   String to insert as table attributes
    -y attributes   String to insert as tr attributes
    -z attributes   String to insert as td or th attributes
    -C attribute    Add cookie, eg. 'Apache=1234. (repeatable)
    -H attribute    Add Arbitrary header line, eg. 'Accept-Encoding: gzip'
                    Inserted after all normal header lines. (repeatable)
    -A attribute    Add Basic WWW Authentication, the attributes
                    are a colon separated username and password.
    -P attribute    Add Basic Proxy Authentication, the attributes
                    are a colon separated username and password.
    -X proxy:port   Proxyserver and port number to use
    -V              Print version number and exit
    -k              Use HTTP KeepAlive feature
    -d              Do not show percentiles served table.
    -S              Do not show confidence estimators and warnings.
    -g filename     Output collected data to gnuplot format file.
    -e filename     Output CSV file with percentages served
    -r              Don't exit on socket receive errors.
    -h              Display usage information (this message)
    -Z ciphersuite  Specify SSL/TLS cipher suite (See openssl ciphers)
    -f protocol     Specify SSL/TLS protocol (SSL2, SSL3, TLS1, or ALL)


]]>
主站蜘蛛池模板: 456亚洲人成在线播放网站| 在线观看AV片永久免费| 亚洲av日韩综合一区二区三区| 亚洲人成在线播放网站| 国产乱色精品成人免费视频| 无码国产精品一区二区免费式直播| 两个人看www免费视频| 色多多A级毛片免费看| 亚洲成a人无码亚洲成www牛牛 | 在线观看日本亚洲一区| 亚洲国产老鸭窝一区二区三区| 亚洲人成网站18禁止一区| 日韩一品在线播放视频一品免费| 国产精彩免费视频| 免费无遮挡无码永久视频| 国产做国产爱免费视频| 手机永久免费的AV在线电影网| 亚洲av第一网站久章草| 亚洲性无码AV中文字幕| 亚洲1区1区3区4区产品乱码芒果 | 国产亚洲中文日本不卡二区 | 久久精品无码精品免费专区| 国产成人无码精品久久久久免费| 在线综合亚洲欧洲综合网站| 亚洲丝袜中文字幕| 亚洲一级免费毛片| 亚洲国产亚洲综合在线尤物| 亚洲熟妇无码久久精品| 亚洲无限乱码一二三四区| 亚洲国产精品成人精品小说| 亚洲精品亚洲人成在线观看麻豆| 亚洲自偷自偷精品| 亚洲国产日韩在线人成下载 | 成人免费的性色视频| 麻豆视频免费观看| 在线观看免费人成视频色| 国产卡一卡二卡三免费入口| 毛片基地免费视频a| 免费网站看v片在线香蕉| 在线观着免费观看国产黄| 国产免费看插插插视频|