[smb]
service smb restart
vim /etc/selinux/config
systemctl stop firewalld.service(centos7 64)
setenforce 0
sudo smbpasswd -a thb
sudo vim /etc/samba/smb.conf
[src]
comment = src
path = /home/thb/workspace
public = yes
writable = yes
valid users = thb
[stdlib update for gcc 4.9.1]
cd /usr/lib
sudo cp /usr/local/lib/libstdc++.so.6.0.20 .
sudo rm libstdc++.so.6
sudo ln -s libstdc++.so.6.0.20 libstdc++.so.6
[libevent]
cd libevent
sudo ./configure --prefix=/usr
sudo make
sudo make install
[setuptools]
cd setuptools
sudo python setup.py install
[pip]
32位
cd pip
sudo python setup.py install
64位
wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
[python dev]
sudo yum install python-devel
sudo yum install python-dev
[gcc]
sudo yum install gcc
sudo yum install gdb
sudo yum install gcc-c++
[odbc]
sudo yum install unixODBC
sudo yum install unixODBC-devel
sudo yum install unixODBC-kde
freetds 安装包
pyodbc 安装包
[mysql]
sudo yum install mysql
sudo yum install mysql-server
sudo yum install mysql-devel
sudo pip install mysql-python
[twised]
tar -jvxf Twisted-13.0.0.tar.bz2
cd Twisted-13.0.0; python setup.py install
wget "https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.0.5.zip"
cd zope.interface-4.0.5; python setup.py install
[redis]
wget http://download.redis.io/releases/redis-2.8.12.tar.gz
make
make install
[mosquitto]
wget "http://mosquitto.org/files/source/mosquitto-1.4.10.tar.gz"
//websocket
git clone https://github.com/pwudi922/libwebsockets.git
cd libwebsockets && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=64 ..
tar zxvf mosquitto-1.4.10.tar.gz
yum -y install openssl-devel
yum -y install c-ares-devel
yum -y install libuuid-devel
cd mosquitto-1.4.10
//websocket
vim config.mk -> WITH_WEBSOCKETS:=yes
make
make install
[zeroMQ]
sudo yum install libtool
git clone https://github.com/zeromq/libzmq
./autogen.sh && ./configure && make -j 4
//configure.ac:52: error: Autoconf version higher 错误
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
tar xzf autoconf-2.68.tar.gz
cd autoconf-2.68
./configure
make && make install
make check
sudo make install
sudo ldconfig
[node.js]
download
cd node
make && sudo make install
[express]
npm install express
npm install express-generator -g
[go]
sudo yum install golang
https://www.jianshu.com/p/83beca927c9e
[emqtt]
download
yum install lksctp-tools
rpm -ivh emqttd-centos7-v2.1.2-1.el7.centos.x86_64.rpm