Skip to content

倪之帅 Victor 个人主页

  • Home
  • Tech
    • Linux
    • LNMP
    • Mac
    • Mobile
    • Products
    • SMS
  • My Music

Category: 技术

May 24, 2018 / Linux

9 Best Free FTP Server Software

01 zFTPServer zFTPServer has an amazing user interface since the management controls run in your web browser. Just install the server and log in with the admin password through the web link you’re given. Every window you open through the management console can be dragged around on the screen and used simultaneously, much like if …

Continue Reading
May 16, 2018 / Linux

Mysql database copy command

Create database mysql -uroot -p CREATE DATABASE `newdb` DEFAULT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI; Copy database mysqldump db1 -u root -p123456 –add-drop-table | mysql newdb -u root -p123456 If different server mysqldump db1 -uroot -p123456 –add-drop-table | mysql -h 192.168.1.22 newdb -u root -p123456

Continue Reading
March 3, 2018 / Linux

Updating CMake from 2.8.11 to 3.6.2 or Newer Version on CentOS Linux

On CentOS 7, using yum install gives you cmake version 2.8.11 [[email protected] ~]# cat /etc/*release CentOS Linux release 7.2.1511 (Core)

Continue Reading
May 16, 2018 / Linux

Centos install haproxy

Command yum update -y yum install haproxy mv /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg.default vi /etc/haproxy/haproxy.cfg copy to haproxy.cfg global ulimit-n 51200 defaults log global mode tcp option dontlognull timeout connect 1000ms timeout client 150000ms timeout server 150000ms frontend 80-in bind *:80 default_backend 80-out backend 80-out server server1 original Ip maxconn 20480 Auto start haproxy sudo chkconfig haproxy on

Continue Reading
June 2, 2018 / Linux

Centos 7 enable port 80

firewall firewall-cmd –zone=public –add-port=80/tcp –permanent systemctl stop firewalld.service systemctl start firewalld.service systemctl restart firewalld.service   Ipatbles iptables -A INPUT -p tcp –dport 80 -j ACCEPT iptables -A OUTPUT -p tcp –sport 80 -j ACCEPT systemctl save iptables.service systemctl restart iptables.service

Continue Reading
May 16, 2018 / Linux

postfix删除队列中的邮件

Postfix中有一套Mail Queue Management机制,所有队列中的邮件都可以全自动的处理,但在发送大量邮件的时候,有必要对这个队列进行手工的维护处理,比如说,删除队列中的邮件. 以下是一些常用的命令: 列出目前在 Mail Queue 中的邮件 mailq 刪除所有在 Queue 中的邮件 postsuper -d ALL

Continue Reading
May 16, 2018 / Linux

mount ntfs-3g

fdisk -l   mkdir /home/sdb1 mount -t ntfs-3g /dev/sdb1 /home/sdb1 vi /etc/fstab /dev/sdb1 /home/sdb1 ntfs-3g defaults 0 0

Continue Reading
November 29, 2015 / 技术

php timezone

http://php.net/manual/en/timezones.php date.timezone = Pacific/Auckland

Continue Reading
May 16, 2018 / 技术

Check CentOS folder space

command cd / du –max-depth=1 -h /var/log

Continue Reading
February 6, 2018 / 技术

如何突破技能发展上的瓶颈

不时会听见网上的朋友或身边的同事谈及“瓶颈”、“天花板”问题,特别是 30 岁左右的朋友最担心。今天拜读了 Eric Raymond 的 How To Become A Hacker(中文翻译),此文中的 hacker 可以简单理解为“编程高手”、“技术牛人”,里面的建议很好的回答了“如何突破技能瓶颈”: 1. The world is full of fascinating problems waiting to be solved. 保持兴趣。 如果想成为 hacker, 如果想突破瓶颈,首先得对所专注的领域保持兴趣。需要培养敏感,保持好奇的眼睛,不断去探寻和尝试解决新问题。一时的兴趣容易,难的是 10 年甚至一辈子对某领域的兴趣。要努力尝试管理欲望。倘若做不到这一点,同时又很想成为 hacker, 那么必须得做出改变。否则你的 hacker 生涯只会被性欲、金钱及现有社会的既定价值观所消耗,一点一滴地消耗掉。 努力是自发的,但欲望是可管理的。想成为 hacker, 需要有强烈的信念,相信纵使暂不能解决整个问题,但只要能解决其中一部份,就能从中学习,解决另外的一部份 —— 直至解决整个问题。

Continue Reading

Categories

  • Linux
  • LNMP
  • Mac
  • Mobile
  • Products
  • SMS
  • Uncategorized
  • VPS
  • 原创
  • 技术

Recent Posts

  • 宝塔php 7.2 安装 mcrypt 扩展
  • 9 Best Free FTP Server Software
  • Mysql database copy command
  • Updating CMake from 2.8.11 to 3.6.2 or Newer Version on CentOS Linux
  • SMS server Gammu for CentOS 7

Archives

  • October 2018
  • May 2018
  • April 2018
  • March 2018
  • July 2016
  • June 2016
  • April 2016
  • November 2015
  • October 2015
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • October 2014
  • August 2014
  • April 2014
  • June 2011
  • June 2010
  • May 2010
  • April 2010
  • May 2006
  • November 2005
  • December 2004
  • June 2004
  • March 2003
  • October 2002
  • January 2001
  • March 2000
© 2019 倪之帅 Victor 个人主页