tag : Ubuntu

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

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.