Enable or disabled services on server startup
You can disable services by running the following command: sudo update-rc.d -f <service name> disable You can enable services by running the following command: sudo update-rc.d -f <service name> enable
You can disable services by running the following command: sudo update-rc.d -f <service name> disable You can enable services by running the following command: sudo update-rc.d -f <service name> enable
Enable root logins first you have to set a password for the root account and then unlock the locked root account. If you don't set a password for the root account the passwd command will return passwd: unlocking the password would result in a passwordless account. So, first execute in...
These are the changes in Ubuntu 16.04 Restart apache server sudo systemctl restart apache2 Get the details on digital ocean. What's New in Ubuntu 16.04
WiringPi is a GPIO access library written in C for the BCM2835 used in the Raspberry Pi. How to download wiring pi? If you do not have GIT installed, then under any of the Debian releases (e.g. Raspbian), you can install it with: sudo apt-get install git-core To obtain WiringPi using GIT git clone...
Siege is an http/https regression testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress, to see how it will stand up to load on the internet. Install seige apt-get install siege Run the following command to seige a server. -t is the...
Check internet speed by speedtest.net wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py chmod +x speedtest-cli ./speedtest-cli You can also install iperf. apt-get install iperf iperf -s
wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the QT Webkit rendering engine. These run entirely "headless" and do not require a display or display service. Install wkhtmltopdf and its requried packages sudo apt-get install wkhtmltopdf sudo ln -s /usr/bin/wkhtmltopdf /usr/local/bin/html2pdf sudo...
check the ip address ifconfig Check the hidden ip address which are not correctly configured ifconfig -a Change name servers of network sudo nano /etc/resolv.conf check gateway address netstat -r Find all files with in the system sudo find / -name "*php.ini*" Find all file and folder count for t in files links directories; do echo `find . -type ${t:0:1}...
VNC is a graphical desktop sharing system that allows you to remotely control the desktop interface of one computer from another. It transmits the keyboard and mouse events from the controller, and receives updates to the screen over the network from the remote host. You will see the desktop of...
There is a quick fix to solve this problem. Login to command prompt by pressing CTRL + ALT + F1 and login into shell. Reinstalled the Ubuntu fonts with this command: apt-get install --reinstall ttf-ubuntu-font-family Then I rebuilt the font information files with this command: fc-cache -f -v Restart the system and the problem...