创建intellij idea启动图标

centos上创建intellij idea启动图标 Pycharm # cat /usr/share/applications/pycharm.desktop [Desktop Entry] Name=Pycharm GenericName=Pycharm Comment=Pycharm2019:The Python IDE Exec=sh /wjhdata/pycharm-community-2019.1.3/bin/pycharm.sh Icon=/wjhdata/pycharm-community-2019.1.3/bin/pycharm.png Terminal=false Type=Application Categories=Utility;Application IntelliJ IDEA # cat /usr/share/applications/intellij.desktop [Desktop Entry] Name=IntelliJ IDEA Comment=IntelliJ IDEA Exec=sh /wjhdata/idea-IC-191.7479.19/bin/idea.sh Icon=/wjhdata/idea-IC-191.7479.19/bin/idea.png Terminal=false Type=Application Categories=Utility;Application

Published
Categorized as linux, tool

running vncserver on centos7

install yum install tigervnc-server xorg-x11-fonts-Type1 init 使vncserver运行在5905端口. /etc/systemd/system/vncserver@:5.service [Unit] Description=Remote desktop service (VNC) After=syslog.target network.target [Service] Type=forking #相应用户user的uid. XDG_RUNTIME_DIR=”/run/user/1002″ # Clean any existing files in /tmp/.X11-unix environment ExecStartPre=/bin/sh -c ‘/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :’ ExecStart=/usr/sbin/runuser -l <user> -c “/usr/bin/vncserver %i” PIDFile=/home/<user>/.vnc/%H%i.pid ExecStop=/bin/sh -c ‘/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :’ [Install]… Continue reading running vncserver on centos7

Published
Categorized as linux

How to Reboot WSL

# RUN CMD AS Administrator net stop LxssManager net start LxssManager How to Reboot WSL (Windows subsystem Linux) in Windows 10

Published
Categorized as linux

windows自带MD5

打开命令提示符CMD Microsoft Windows [版本 10.0.17763.348] (c) 2018 Microsoft Corporation。保留所有权利。 C:\Users\mulang>CertUtil -hashfile D:\\linux-read-workflow.png MD5 MD5 的 D:\\linux-read-workflow.png 哈希: 6abbfa0d8a623e39548693390d00e036 CertUtil: -hashfile 命令成功完成。 C:\Users\mulang>CertUtil -hashfile D:\\linux-read-workflow1.png MD5 MD5 的 D:\\linux-read-workflow1.png 哈希: 6abbfa0d8a623e39548693390d00e036 CertUtil: -hashfile 命令成功完成。

Published
Categorized as linux

设置SElinux

SElinux工具 setsebool命令是用来修改SElinux策略内各项规则的布尔值。 setsebool命令和getsebool命令是SELinux修改和查询布尔值的一套工具组。 SELinux的策略与规则管理相关命令:seinfo命令、sesearch命令、getsebool命令、setsebool命令、semanage命令。 getsebool getsebool -a #query all

Published
Categorized as linux