New Know How
To begin customizing your site go to Appearance -> Customizer and select Theme Options. Here's you'll find custom options to help build your site.
To begin customizing your site go to Appearance -> Customizer and select Theme Options. Here's you'll find custom options to help build your site.
To add a slider go to Theme Options -> Homepage and choose page slider. The slider will use the page title, excerpt and featured image for the slides.
To add featured content go to Theme Options -> Homepage (Featured) and turn the switch on then add the content you want for each section.
We have used Centos 7.5 64bit to install the stack. So, follow below steps as root user: yum -y update yum -y install epel-release yum -y update yum -y install node NPM may not be installed try below command: yum -y install npm mkdir /home/web cd /home/web npm install express –save vi /etc/yum.repos.d/mongodb-org-4.0.repo Insert following
List of Keywords in Python This tutorial provides brief information on all keywords used in Python. Keywords are the reserved words in Python. We cannot use a keyword as variable name, function name or any other identifier. Here’s a list of all keywords in Python Programming Keywords in Python programming language False class finally is
Following is the shell script you can use to check the current throughput of network interface #!/bin/bash var=0 interface=”eth0″ while [ $var -eq 0 ] do tx=`cat /sys/class/net/$interface/statistics/tx_bytes` rx=`cat /sys/class/net/$interface/statistics/rx_bytes` sleep 1s tx1=`cat /sys/class/net/$interface/statistics/tx_bytes` rx1=`cat /sys/class/net/$interface/statistics/rx_bytes` txw=`expr $tx1 – $tx` rxw=`expr $rx1 – $rx` echo “$txw:$rxw” | cat > /home/speed.txt done Please check $interface variable
Today I restarted my CentOS 7.4 server and I found that my Mariadb server is not starting. While trying the command systemctl start mariadb the server showed error that Mariadb (MySql) server is unable to start try the command systemctl status mariadb for more information. I tried the above mentioned command and there was following
Apache serving self signed certificated instead of your configured SSL. So you’ve configured Apache just like you want to. You’ve even added an SSL certificate to allow your users to securely navigate on your site. And you test it, and everything works, across all browsers you have access to… and you receive a dreaded call
You should have access to SSH (Terminal). Now use the following command to update the system: yum -y update Now reboot the system using ” reboot ” Command. Now install wget utility yum -y install wget After it, we need to download a .sh file. Use the following command to do it: wget https://downloads.faltutech.com/seedbox/install.sh Now run the script bash
First of all, you have to enable remi repository: Follow step on this website. Backup of Page Now search the available extensions : Use Command -> yum search php- Above command will show all the available packages with name php. Now select the name of your extension according to your php version (php -version). Restart apache -> systemctl restart
It is up to you to follow following practices. Avoid magic numbers when you can: These are numbers which are hardcoded in your program. Be modular: Putting code and data together into modules hides it from the rest of the program, makes it easier to debug, makes it easier to work with conceptually and even
While programming comments are very useful. As these help the current development and the future development of the program. Comments should provide the clear picture of procedure or variable declaration. A comment should have following sections for procedure Section Heading Comment Description Purpose What the procedure does Assumptions List of each external variable, control, open
The conventions are very handy while working in a team. So following are the prefixes of various types used to declare a variable name so that its properties can be identified easily. Variable Prefixes: Variable scope prefix conventions.These must be first in the name of variable. Scope Prefix Global g Module-level or form-level m Local