NicTool

From Lolly's Wiki
Revision as of 16:49, 25 November 2021 by Lollypop (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")
Jump to navigationJump to search

<syntaxhighlight lang=bash> root@nictool:/var/www/nictool# wget https://github.com/msimerson/NicTool/releases/download/2.30/NicTool.tar.gz root@nictool:/var/www/nictool# tar -xzf NicTool.tar.gz root@nictool:/var/www/nictool# tar -xzf server/NicToolServer-2.??.tar.gz root@nictool:/var/www/nictool# tar -xzf client/NicToolClient-2.??.tar.gz root@nictool:/var/www/nictool# mv server foo; mv NicToolServer-2.?? server root@nictool:/var/www/nictool# mv client bar; mv NicToolClient-2.?? client root@nictool:/var/www/nictool# rm -rf foo bar root@nictool:/var/www/nictool# cd client; perl Makefile.PL; make; sudo make install clean root@nictool:/var/www/nictool# cd ../server; perl Makefile.PL; make; sudo make install clean root@nictool:/var/www/nictool# cp server/lib/nictoolserver.conf{.dist,} root@nictool:/var/www/nictool# cp client/lib/nictoolclient.conf{.dist,} </source>