Linux Tips
How to list installed packages in Go/Golang?
In this article we will discuss how to list installed packages in Go
With latest versions of GO, we use “go get” to install e ... uts long list of packages. Packages from the standard library will be listed first followed by external/third party Packages.
Fixed: Docker error «docker: 'network' is not a docker command.»
When i was trying to create a new network interface for docker , it was throwing following error
1
2
3
4
root@te ...
systemctl status docker
Enable the service to start on reboot
1
2
3
systemctl enable docker
How to run nginx on Docker?
How to run nginx on Docker?
I have Nginx installed on a Docker container, and was trying to run it like this
1 ... nginx –g ‘daemon off;’
This will start a container with nginx running on foreground, henc container will not exit.
How to find total size of a s3 bucket or folder in s3 bucket?
How to check the size of a s3 bucket or size of a file in S3 bucket?
The s3cmd tools provide a way to get the total file size ... —summarize —human–readable —recursive s3://bucket-name/directory
Official documentation is here . please check it out
fixed: «Unable to find remote helper for 'https'» in git
I have compiled latest version of git and installed it. When i tried to do git clone i was getting this error
Fix : Install m ... nstall git, download source and run
1
2
3
4
./configure
make
sudo make prefix=/usr/local install
How to install gsutil on Centos/ubuntu?
How to Install gsutil on Centos ?
In this article we will explain how to install gsutil on Centos.
Google Cloud storage
... always, feel free to drop us a note if you have any questions or feedback using our comment form below. Always Happy to help
Fixed» «Can't locate ExtUtils/MakeMaker.pm in @INC»
I was getting this error while trying to build git on centos 6.5
1
Can’t locate ExtUtils/MakeMaker.pm in @INC
...
1
yum install perl–ExtUtils–MakeMaker –y
2. Using cpan
1
cpan install ExtUtils::MakeMaker
Installing Grafana on Centos/Ubuntu
Grafana is a a popular open source application for visualizing large-scale timescale data . It support all the popular time- ... erver
Start Grafana On Centos7
Systemctl start grafana
Configure Grafana to start on boot time
Systemctl enable grafana
Monitor nginx using Netdata
In this article we will see how to monitor Nginx using Netdata
Netdata is a system for distributed real-time performance and ... data now. Please see few screenshots below
You can also customize the Nginx hostname inside the Netdata configuration file.
How to change/modify Server response header in nginx
The “Server” response-header field contains information about the software used by the origin server to handle the request. ... CRLF;
Then recompile nginx with modified source code.
Let us know incase you face any issue. Always happy to help ????
DNS Loadbalancing using Nginx
With latest release, Nginx introduces the ability to reverse proxy and load balance UDP traffic. As you know DNS uses UDP pr ... rnal DNS servers in your network. You can have nginx proxy running on all machines to distribute traffic to your DNS servers.
How to enable nginx debug logging?
In this article we will explain how to enable Nginx debug logging .To enable debugging in NGINX, you will need to compile/re ... s always,Please drop us a note if you have any questions or feedback using our comment form below . Always Happy to Help ????
How to install openssl-devel on Ubuntu using apt-get?
How to install openssl-devel on Ubuntu using apt-get ?
When i was trying to compile “nrpe” package on an Ubuntu Server, follo ... penSSL Team
This package provides libraries and header files for “libssl” and “libcrypto”. PDF Bedienungsanleitungen
Tuning Nginx php-fpm for high Traffic
With the release of php7, PHP is most preferred for High traffic websites/applications. PHP7 brings explosive performance ... ession happens at runtime it can also add some processing overhead. So watch the server CPU usage closely after enabling it .
Log POST data in nginx
How to configure nginx to log POST data in nginx?
NGINX is a powerful web server that can easily tens of thousands of HTTP r ...
You will be able to see the logs here in the log
1
2
3
/var/log/nginx/nginx_post_data.log
Fixed: Mesos error «Failed to load unknown flag 'quorum.rpmsave'»
I was getting this error while installing mesos server on Centos
1
Failed to load unknown flag ‘quorum.rpmsave’
... ing previous installation.
1
Fix: Removed file quorum.rpmsave whiahc was under /etc/mesos–master
How to enable nginx slice module?
How to enable nginx slice module?
With nginx 1.9.8 mainline, nginx introduced a new module “ngx_http_slice_module”. Nginx sl ... a request for entire file, Nginx assembles the response from all segments in the cache and send back to the client.
How to Recreate/rebuild a RPM from installed files?
Many times we encounter situations where we want to replicate one package installation on a different machine but the actual ... to any other machine and use it to install same package on that machine.
You can find more details on their official page
How to Install rbenv on Centos/Ubuntu?
How to Install rbenv on Centos/Ubuntu?
Rbenv provides an easy way to install and manage various versions of Ruby on your mach ... Ruby versions that contain the given executable
Please let me know if you face any troubles. Always happy to help ????
How to change ssh port on Linux/Centos/Ubuntu?
Running SSH on a port other than 22 will make more unlikely to be hit with a random port scan. You will be targeted only if t ...
1
2
3
ssh –p 20786 user@IPADDRESS –v
Feel free to contact me if you face any issue. Always Happy to help ????