Warning: Undefined array key "rss_show_deleted" in /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 54

Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 55

Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 33
wi12.unix7.org - tips https://w12.unix7.org/ Wed, 05 Aug 2026 06:20:38 +0000 FeedCreator 1.8 https://w12.unix7.org/_media/wiki/dokuwiki.svg wi12.unix7.org https://w12.unix7.org/ 1c-log-vacuum https://w12.unix7.org/tips/1c-sqlite-vacuum 1c-log-vacuum #!/bin/sh # # $Id$ # ONECHOME=/home/usr1cv8/.1cv8/1C/1cv8/reg_1541 ONECTMP1=/data/tmp ONECTMP2=/tmp /etc/init.d/srv1cv83 stop find $ONECHOME -name '1Cv8.lgd' -print0 \ | xargs -0 -n1 -i@ echo sqlite3 @ 'vacuum;' /etc/init.d/srv1cv83 start find $ONECTMP1 -name '*.lgd' -delete find $ONECTMP2 -name '*.lgd' -delete #EOF anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 CUPS printer configuration https://w12.unix7.org/tips/cups CUPS printer configuration On server Show usb name: /usr/local/libexec/cups/backend/usb Add and share priner lpadmin -p lj -v 'usb://HP/LaserJet%20P2035?serial=M443076' -E -P hp-laserjet_p2035-hpijs-pcl3.ppd cupsctl --share-printers --remote-any lpadmin -p lj -o printer-is-shared=true lpadmin -p lj -o printer-error-policy=abort-job anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 https://w12.unix7.org/tips/debian apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553 anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 Exim useful commands https://w12.unix7.org/tips/exim-tips Exim useful commands Original Listed below are some commonly used useful Exim commands. Display the version of Exim and the location of Exim configuration file: exim -bV Display the current configurations of Exim: exim -bP Count the number of email messages in the queue, and display the total number of messages to the standard output: anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 Fusioninventory agent installation https://w12.unix7.org/tips/fi-install Fusioninventory agent installation * <http://fusioninventory.org/documentation/agent/installation/linux/deb.html> wget -O - http://debian.fusioninventory.org/debian/archive.key | apt-key add - apt-get install lsb-release echo "deb http://debian.fusioninventory.org/debian/ `lsb_release -cs` main" >> /etc/apt/sources.list apt-get update apt-get install fusioninventory-agent anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 IPsec BSD to BSD https://w12.unix7.org/tips/ipsec-b2b IPsec BSD to BSD V1: ipsec tunnel U03 sysrc cloned_interfaces=ipsec0 sysrc ifconfig_ipsec0="inet 10.8.1.2/32 10.8.1.1 tunnel 195.191.50.68 116.203.229.50" service netif restart ipsec0 V7 sysrc cloned_interfaces=ipsec0 sysrc ifconfig_ipsec0="inet 10.8.1.1/32 10.8.1.2 tunnel 116.203.229.50 195.191.50.68" service netif restart ipsec0 anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 IPsec Cisco - FreeBSD & Racoon https://w12.unix7.org/tips/ipsec IPsec Cisco - FreeBSD & Racoon 3DES and MD5 interface Tunnel7 description CISICO--V7 ip address 10.122.3.2 255.255.255.252 ip tcp adjust-mss 1420 tunnel source Dialer0 tunnel destination 116.203.229.50 crypto isakmp policy 20 encr 3des hash md5 authentication pre-share group 5 lifetime 120 crypto isakmp key 6 RKZK`SeJfWSC`iGTHUSQGfQW\UcTg`AAB address 116.203.229.50 crypto ipsec transform-set TS-01 esp-3des esp-md5-hmac mode transport crypto map CM-01 10 ipsec-isakmp set peer… anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 https://w12.unix7.org/tips/ipsec2 crypto keyring CISICO crypto isakmp policy 30 encr aes 256 hash sha authentication pre-share group 1 crypto isakmp key 6 S[h]AH][Hcb\`aYPgB]HbY\^_ViYUOAAB address 116.203.229.50 crypto isakmp keepalive 10 crypto ipsec transform-set TS-02 esp-aes 256 esp-sha-hmac mode transport crypto ipsec profile IPPRO-01 set security-association lifetime seconds 86400 set transform-set TS-02 interface Tunnel7 description CISICO--V7 ip address 10.8.5.2 255.255.255.252 ip tcp adjust-mss 1420 … anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000 redmine install https://w12.unix7.org/tips/redmine-install redmine install * <https://www.redmine.org/releases/redmine-4.0.4.tar.gz> * <https://redmine.org/projects/redmine/wiki/RedmineInstall> CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'password' NOINHERIT VALID UNTIL 'infinity'; CREATE DATABASE redmine WITH ENCODING='UTF8' OWNER=redmine; ALTER DATABASE "redmine" SET datestyle="ISO,MDY"; CREATE DATABASE redmine CHARACTER SET utf8mb4; CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'… anonymous@undisclosed.example.com (Anonymous) Sat, 27 Nov 2021 13:26:11 +0000