创建文件夹 并 解压缩到指定文件夹
mkdir livego
tar -zxvf livego_armv6.tar.gz -C ./livego
苹果审核地址 美国 加利福尼亚 苹果,是不是17开头的都是米国的呢?
17.222.114.199
17.56.156.166 17.56.156.192 17.56.157.120 17.56.155.186
17.57.24.8 17.57.26.68 17.57.24.199
17.222.115.168 这个地址总是审核
144.178.28.142
看来这个审核团队很强大,机器好多,300~500人的审核团队,的确强大,国内有一家这样的审核公司,肯定很乱套,各种潜规则
1、 查看占用某个端口的进程(如8080)
lsof -i:8080
2、查看node的进程
ps aux | grep node
3、根据进程id杀进程(如PID为1412)
kill 1412
4、修改hosts
sudo vi /etc/hosts
5、centos查看公网ip
curl ifconfig.me
IDEA 激活到2089年教程地址 https://zhuanlan.zhihu.com/p/101226170
打开 /Users/你的Mac名称,记得修改/Library/Preferences/IntelliJIdea2019.3/idea.vmoptions 写入下面的地址
-javaagent:/Applications/IntelliJ IDEA.app/Contents/jetbrainsCrack.jar
启动 systemctl start docker
守护进程重启 sudo systemctl daemon-reload
重启docker服务 systemctl restart docker
重启docker服务 sudo service docker restart
关闭docker service docker stop
关闭docker systemctl stop docker
docker中 启动所有的容器命令
docker start $(docker ps -a | awk '{ print $1}' | tail -n +2)
docker中 关闭所有的容器命令
docker stop $(docker ps -a | awk '{ print $1}' | tail -n +2)
docker中 删除所有的容器命令
docker rm $(docker ps -a | awk '{ print $1}' | tail -n +2)
docker中 删除所有的镜像
docker rmi $(docker p_w_picpaths | awk '{print $3}' |tail -n +2)
tail -n +2 表示从第二行开始读取
docker run --name mysql --restart always -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root \
-v /home/vagrant/mysql/data:/var/lib/mysql -d mysql:5.7
yum install docker-ce.x86_64
sudo dnf repolist -v
sudo dnf -y install docker-ce --nobest --allowerasing
sudo systemctl enable --now docker
sudo systemctl status network.target
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
echo "export LC_CTYPE=en_US.UTF-8" >> /etc/profile
source /etc/profile
sudo dnf -y install docker-ce --nobest --allowerasing
docker pull mysql:5.7
Trying to pull docker.io/library/mysql:5.7...Getting image source signatures
Writing manifest to image destination
Storing signatures
b598110d0fffc42862269a25d8767dd95764d0740f318fd6c0a097f8a22de5bf
docker run -p 3306:3306 --name mysql \
-v /mydata/mysql/log:/var/log/mysql \
-v /mydata/mysql/data:/var/lib/mysql \
-v /mydata/mysql/conf:/etc/mysql \
-e MYSQL_ROOT_PASSWORD=root \
-d mysql:5.7
局域网的东东
http://192.168.219.141:15672
http://192.168.219.141:9200
http://192.168.219.141:5601
http://192.168.219.141:10008/
在Mac上实现推流
ffmpeg -re -i /Users/david/Desktop/player/321321.mp4 -rtsp_transport udp -vcodec h264 -f rtsp rtsp://192.168.219.141:554/439622
播放
ffplay rtsp:192.168.219.141/439622
启动EasyDarwin
cd EasyDarwin
./easydarwin
Ctrl + C
停止
cd EasyDarwin
./start.sh
./stop.sh
- Free and open source software for live streaming and screen recording https://obsproject.com/
https://github.com/obsproject/obs-studio
https://obsproject.com/wiki/install-instructions#linux
sudo yum install \
make \
gcc \
gcc-c++ \
gcc-objc \
cmake \
git \
libX11-devel \
mesa-libGL-devel \
libv4l-devel \
pulseaudio-libs-devel \
libspeexdsp-devel \
x264-devel \
freetype-devel \
fontconfig-devel \
libXcomposite-devel \
libXinerama-devel \
qt5-qtbase-devel \
qt5-qtx11extras-devel \
qt5-qtsvg-devel \
libcurl-devel \
systemd-devel \
ffmpeg \
ffmpeg-devel \
luajit-devel \
python3-devel \
mbedtls \
mbedtls-devel \
swig
If libspeexdsp-devel
is not available, it can be built from source (https://git.xiph.org/?p=speexdsp.git;a=summary)
Building and installing OBS:
git clone --recursive https://github.com/obsproject/obs-studio.git
cd obs-studio
mkdir build && cd build
cmake -DUNIX_STRUCTURE=1 ..
make -j4
sudo make install
By default obs installs libraries in /usr/local/lib. To make sure that the loader can find them there, create a file /etc/ld.so.conf.d/local.conf with the single line
and then run
/usr/local/lib
sudo ldconfig
golang 1.13.6下载地址
https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz
go1.13.6.linux-amd64.tar.gz
a1bc06deb070155c4f67c579f896a45eeda5a8fa54f35ba233304074c4abbbbd
sha256sum验证是否下载完整
sha256sum go1.13.6.linux-amd64.tar.gz
a1bc06deb070155c4f67c579f896a45eeda5a8fa54f35ba233304074c4abbbbd go1.13.6.linux-amd64.tar.gz
解压到/usr/local 文件夹下 go文件夹
sudo tar -C /usr/local -xzf go1.13.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
source ~/.bash_profile
go version
mkdir ~/go
cd ~/go/src/hello
go build
./hello
git clone https://github.com/gwuhaolin/livego.git
cd livego
go build
nohup ./livego &
推流
ffmpeg -re -i /Users/david/Desktop/player/321321.mp4 -c copy -f flv rtmp://192.168.1.63:1935/live/movie
拉流
rtmp://192.168.1.63:1935/live/movie
vi /etc/my.cnf
在最后加上一句
skip-grant-tables
重启mysql
service mysqld restart
mysql
//或者
mysql -u root -p
//password直接回车
select host, user, authentication_string, plugin from user;
use mysql
直接赋值会报错,先置空
update user set authentication_string='' where user='root';
vi /etc/my.cnf
删除 skip-grant-tables
重新登录