Locate the process: Kill the specific process:
Properties and advantages of REST APIs
Client-server architecture The API defines all communication between the client and the server, which are separate components and free to be developed independently. Layered system The client is indifferent to whether it is communicating directly or indirectly with the server. Cacheability A response can be cached if the same request will return the same result …
How to build VPN using Shadowsocks
Purchase a VPS in CentOS. SSH to your VPS. Download and deploy Shadowsocks into your VPS. wget –no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh chmod +x shadowsocksR.sh ./shadowsocksR.sh 2>&1 | tee shadowsocksR.log Follow the promotions and set basic informaiton. If meet errors, install C compilor: yum -y install gcc automake autoconf libtool make yum -y install gcc-c++ some commands start:/etc/init.d/shadowsocks …
How to deploy Halo in CentOS VPS
Install Nginx in VPS Install Java sudo yum install java-11-openjdk -y // install java java -version // check version Create a new halo user useradd -m halo // new user usermod -aG wheel halo // grant permission passwd halo // set password su – halo // switch user Download halo.jar mkdir ~/app && cd ~/app …
How to deploy Nginx in CentOS
SSH to VPS ssh root@ip Update yum to install Nginx yum -y update Install Nginx yum install nginx Start Nginx and start Nginx when server launch systemctl start nginx systemctl enable nginx Check Nginx status systemctl status nginx Set firewall for visiting sudo firewall-cmd –permanent –zone=public –add-service=http sudo firewall-cmd –permanent –zone=public –add-service=https sudo firewall-cmd –reload …
Solve “Error Establishing Database Connection” on WordPress
Connect to server console. In my case, I just log in digitalocean and click console from my droplet. Check mysql status: sudo netstat -plt If we can’t see mysql appear in output from previous step, restart mysql manually: sudo systemctl start mysql Problem should be fixed if you are lucky 🙂
How to build a personal server in digital ocean
Actually I already have deployed my personal blog on digital ocean (yes it is this one). but I still want to take this note in order to remind me of how to use digital ocean to have a personal server for future use. Click this to open the Droplet setting page: Pick the type of …
Continue reading “How to build a personal server in digital ocean”