tag : Ubuntu

SaltyNote Server Setup

Last post Ubuntu Server Setup, I talked about the basic setup for an Ubuntu server. In this post, I will share some details about the setup for saltynote server.

install netease music in Ubuntu

在18.04出来之前,一直用Ubuntu的16.04,安装网易音乐之后,只需要在/usr/share/applications/netease-cloud-music.desktop 添加一个 --no-sandbox就可以解决了。 1Exec=netease-cloud-music --no-sandbox %U

Note: Install tp-link AC1200 t4u driver for ubuntu

Bought a TP-link AC1200 wifi adapter long before and not used it so far. Yesterday, I find it again when I collected my old stuff. Since my old Dell laptop does not support 5G channel, and its built-in wifi adapter sucks, why not have a try!!!

Fix: Tomcat7 restart too slow in Ubuntu 14.04

I have two servers in DigitalOcean, and both of them are Ubutun with tomcat 7. Recently, I found that if I want to restart tomcat, it will cost me more than 5 minutes(No errors during this). And the worest is(almots half an hour): 1INFO: Server startup in 1497026 ms

Tomcat7: Change Port to 80

I have many servers, which run Java Web applications. For development, I like Jetty, but for production, I prefer Tomcat7 now. In ubuntu, you need root permission to use ports under 1024.