修改主机名:
hostnamectl --static set-hostname linux_owner
流量监控命令 iptraf-ng
安装使用etcd:
http://www.cnblogs.com/xigang8068/p/5786027.html
wget http://download.redis.io/releases/redis-4.0.2.tar.gz
tar -zxvf redis-4.0.2.tar.gz -C ./
cd ./redis-4.0.2
make
sudo make install
wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
tar xzvf tcl8.6.1-src.tar.gz -C ./
cd ./tcl8.6.1/unix/
./configure
make
sudo make install
cd ../../redis-4.0.2/
make test
redis-server redis.conf
redis-cli -h 127.0.0.1 -p 6379 -a DyDXgw60nhSMO0O7
CONFIG SET requirepass "DyDXgw60nhSMO0O7"
AUTH "DyDXgw60nhSMO0O7"
安装flash:
wget https://fpdownload.adobe.com/pub/flashplayer/pdc/27.0.0.170/flash-player-npapi-27.0.0.170-release.x86_64.rpm
sudo rpm -ivh flash-player-npapi-27.0.0.170-release.x86_64.rpm
安装erlang:
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/ncurses-devel-5.9-13.20130511.el7.x86_64.rpm
sudo rpm -ivh ncurses-devel-5.9-13.20130511.el7.x86_64.rpm
wget http://erlang.org/download/otp_src_19.1.tar.gz
tar -zxvf otp_src_19.1.tar.gz
cd otp_src_19.1
./configure
make
sudo make install
上传:
scp ./kvs.erl username@192.168.122.179:/home/username/
下载:
scp username@192.168.122.1:/home/username/work/kvs.erl ./kvs.erl
安装curl库:
sudo yum install libcurl-devel.x86_64
安装vscode:
http://blog.csdn.net/zdhsoft/article/details/73457259
安装最新git
sudo yum install openssl-devel.x86_64
sudo yum install expat-devel
sudo yum install perl-ExtUtils-MakeMaker
git clone https://github.com/git/git
cd git && make && sudo make install
sudo cp ~/bin/* /usr/bin/
sudo cp -r ~/lib64/* /usr/lib64/
git --version
原文链接:https://www.f2er.com/centos/376134.html