Issue : Firefox has blocked parts of this page that are not secure
Solutions :
- Type about:config in a browser tab.
- Search for mixed in the search box.
- Set security.mixed_content.block_active_content to false.
Issue : Firefox has blocked parts of this page that are not secure
Solutions :
# tar -zcvpf /[Backup_File_Location]/[Backup_Filename] /[User's_Home_Directory_Location] z : Compress the backup file with ‘gzip’ to make it small size. c : Create a new backup archive. v : verbosely list files which are processed. p : Preserves the permissions of the files put in the archive for later restoration. f : use archive file or device ARCHIVE.
#!/bin/bash
#Remote Server IP rserver=192.168.0.254
#Local backup location lbackuploc=/home/daygeek/Downloads/test/
#Remote backup location rbackuploc=/home/daygeek/site
#rsync command with standard port rsync -avz -e ssh $lbackuploc $rserver:$rbackuploc
#To delete files older than 10 days
find $rbackuploc/* -mtime +10 -exec rm {} \;
0 8 * * * /opt/scripts/remote-backup-5.sh
#ssh-keygen -t rsa
#ssh root@192.168.0.254 mkdir -p .ssh
#cat .ssh/id_rsa.pub | ssh root@192.168.0.254 'cat >> .ssh/authorized_keys'
#ssh root@192.168.0.254 "chmod 700 .ssh; chmod 640 .ssh/authorized_keys"
#ssh root@192.168.0.254
- n = create new partition- to prepare the partition to be used by LVM :
- p = creates primary partition
- 1 = makes partition the first on the disk
- t = change partition type- verify and write the information to the hard drive:
- 8e = changes to LVM partition type
- p = view partition setup so we can review before writing changes to disk
- w=write changes to disk
#rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
#rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
#yum install php-mcrypt
Check list of PHP add-on that install in server:
#yum list installed | grep php | cut -d' ' -f1
* * * * * cd /var/www/html/plugins/weathermap/; /var/www/html/plugins/weathermap/weathermap --config /var/www/html/plugins/weathermap/configs/network.conf
#cd /etc/init.d
#touch tomcat
#!/bin/bash
TOMCAT_HOME=/opt/tomcat/bin
START_TOMCAT=/opt/tomcat/bin/startup.sh
STOP_TOMCAT=/opt/tomcat/bin/shutdown.sh
start() {
echo -n "Starting tomcat8: "
cd $TOMCAT_HOME
${START_TOMCAT}
echo "done."
}
stop() {
echo -n "Shutting down tomcat8: "
cd $TOMCAT_HOME
${STOP_TOMCAT}
echo "done."
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 10
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
esac
exit 0
#chmod 755 tomcat
#chkconfig tomcat on
#service tomcat start
#service tomcat stop
<?php
$CONFIG = array (
'datadirectory' => '/mnt/nfs/cloud/',
'dbtype' => ...
mv /var/www/owncloud/data/* /media/usbdisk/ocdata/
chown -R www-data:www-data /media/usbdisk/ocdata
Creating initial slapd configuration... Loading the initial configuration from the ldif file (/usr/share/slapd/slapd.init.ldif) failed with the following
error while running slapadd:
ldif_read_record: include file:///etc/ldap/schema/core.ldif failed