centos 7 cacti install Hint

  yum –enablerepo=epel -y install cacti net-snmp net-snmp-utils php-mysql php-snmp rrdtool     vi /etc/snmp/snmpd.conf   com2sec notConfigUser  default       public com2sec local     localhost       testServer   com2sec mynetwork 192.168.0.0/24      testServer group MyRWGroup  v2c        local   group MyROGroup  v2c        mynetwork   view […]

Read More

oracle : the password has expried to unlimited Hint

Conn as sysdba $ sqlplus /nolog SQL> conn /as sysdba Change password first! SQL> ALTER USER [USERID] IDENTIFIED by [PASSWORD]; Check password life time SQL> select * from dba_profiles where profile=’DEFAULT’ and resource_name=’PASSWORD_LIFE_TIME’; PROFILE        RESOURCE_NAME RESOURCE —————————— ——————————– ——– LIMIT —————————————- DEFAULT        PASSWORD_LIFE_TIME PASSWORD 180 Set password life time to […]

Read More

centos7: cvs server Hint

yum install cvs xinetd adduser cvs passwd cvs su -l cvs $ cvs -d /home/cvs/testDir init $ vi /home/cvs/testDir/CVSROOT/passwd cvsuserid1:$1$ss$unix_passwd.:cvs cvsuserid2:$1$ss$xxxxxxxxxxg.:cvs passwd must be unix crypted like /etc/shadow otherwide… make Unix passwd by perl Hint not tested #!/usr/bin/perl crypt.pl srand (time()); my $randletter = “(int (rand (26)) + (int (rand (1) + .5) % 2 […]

Read More