post

Increase your Linux server Internet speed with TCP BBR congestion control



I recently read that TCP BBR has significantly increased throughput and reduced latency for connections on Google’s internal backbone networks and google.com and YouTube Web servers throughput by 4 percent on average globally – and by more than 14 percent in some countries. The TCP BBR patch needs to be applied to the Linux kernel. The first public release of BBR was here, in September 2016. The patch is available to any one to download and install. Another option is using Google Cloud Platform (GCP). GCP by default turned on to use a cutting-edge new congestion control algorithm named TCP BBR.



Source link: https://www.cyberciti.biz/cloud-computing/increase-your-linux-server-internet-speed-with-tcp-bbr-congestion-control/

post

How to Monitor Nginx using Netdata on Ubuntu 16.04



Netdata is an open source monitoring tool for Linux servers. In this tutorial, I will show you how to monitor Nginx using Netdata. The tutorial will cover the Nginx web server installation, enable the ‘stub_status’ module in Nginx and the Netdata installation on Ubuntu 16.04 Xenial Xerus.



Source link: https://www.howtoforge.com/tutorial/how-to-monitor-nginx-using-netdata-on-ubuntu-1604/

post

How to Set-Up Master-Slave Replication for PostgreSQL 9.6 on Ubuntu 16.04



In this tutorial, we will show you how to install and configure PostgreSQL 9.6 Master-Slave Replication on Ubuntu 16.04 server. We will use Hot standby mode, and it’s a very good starting point to learn PostgreSQL in depth.



Source link: https://www.howtoforge.com/tutorial/how-to-set-up-master-slave-replication-for-postgresql-96-on-ubuntu-1604/

post

Coincidence or Subtle Influence? Ubuntu’s Impact on Software Naming Conventions


Could Ubuntu have had an impact on the versioning and naming conventions of other software projects, including Windows, Android and more? Reader Abu A. pinged us earlier today to share this interesting insight he has on Ubuntu’s contributions to the wider software community. Musing on the possibility of this (admittedly anecdotal) observation — inspiration isn’t always […]

This post, Coincidence or Subtle Influence? Ubuntu’s Impact on Software Naming Conventions, was written by Joey Sneddon and first appeared on OMG! Ubuntu!.





Source link: http://feedproxy.google.com/~r/d0od/~3/TwwRRcVLW5U/ubuntu-impact-software-naming

post

How to Setup Magento 2 With Varnish and Apache on Ubuntu 16.04



Magento is a free and open source Content Management System built in PHP, Zend framework and MySQL database. It is very popular eCommerce web application. In this tutorial, we will learn how to install Magento 2 with Varnish as a full page cache on Ubuntu 16.04 server.



Source link: https://www.howtoforge.com/tutorial/how-to-setup-magento-2-with-varnish-and-apache-on-ubuntu-1604/

post

Disable Downloading DEP-11 Permanently on Ubuntu


For newer version of Ubuntu that features Ubuntu Software, you will notice that apt-get update command downloads something called DEP-11 index files. If you prefer command line over GUI or feel that this would waste your network bandwidth, you can disable it. By following this article, your apt-get update command would never fetch DEP-11 files anymore.

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

What’s DEP-11 index files for?

It’s a part of AppStream technology implemented on Debian GNU/Linux and family distros today so the “Software Center” program could display software info which are user-friendly and easy to install. In a simplest sense for Ubuntu users, the DEP-11 is specific index file format for Ubuntu Software. So whenever you run apt-get update command, it will always download the regular files + DEP-11 files redundantly.

How to disable it?

Delete the 50appstream file on /etc/apt/apt.conf.d/ directory.

sudo rm /etc/apt/apt.conf.d/50appstream

Or if you wish, backup it first and than delete the actual file.

sudo mv /etc/apt/apt.conf.d/50appstream /etc/apt/50appstream_backup
sudo rm /etc/apt/apt.conf.d/50appstream

This will disable downloading DEP-11 permanently.

What’s the consequence?

The apt-get update command will no longer download any of DEP-11 index files from anywhere. This results in bandwidth saving. However, you wouldn’t be able to use Ubuntu Software properly (and this should be OK if you prefer to use command lines).

Reference


https://askubuntu.com/questions/823329/how-do-i-disable-fetching-of-dep-11-files



Source link: http://feedproxy.google.com/~r/Ubuntubuzz/~3/uJD4wkc1Gbg/disable-downloading-dep-11-permanently-on-ubuntu.html

post

Fix Snap Error: cannot change profile for the next exec call: No such file or directory


Brief: This quick tip helps you to get rid of cannot change profile for the next exec call: No such file or directory’ while running Snap packages.

Ubuntu’s universal packaging offering Snap is gaining popularity each day. There might have been some security concerns about Snap but that has not deterred its popularity. There are more and more programs being ported to Snap.

I have written a detailed article about using Snap commands in Ubuntu but this article is not going to discuss that. Actually, I ran into a strange error today with Snap today.

I installed a Snap package and tried to run it like any other program. Only that it threw an error in my face:

cannot change profile for the next exec call: No such file or directory

I thought maybe there was some issue with the program so I installed another application using Snap. Bam! The same error with this application as well:

Fix Snap error in Ubuntu Linux

In this quick post, I am going to share the trick that worked for me to fix this Snap issue.

Fix ‘cannot change profile for the next exec call: No such file or directory’ in Ubuntu and other Linux distributions

After spending plenty of times in Snap documentation, forums and GitHub discussions, I figured out the root cause with my system.

Snap is an offering by Ubuntu and it is highly attached to it. Snap is not properly supported by all (mainly newer) Linux Kernels. Only the Linux kernels provided by Ubuntu can guarantee a smooth functioning of Snap, at present.

This made me realize that I have installed newer Linux kernel sometimes back and have been using the same Linux Kernel (version 4.10). This was the reason why Snap was throwing that error.

So the fix for my problem was simply downgrading the Linux kernel to the latest kernel offered by Ubuntu. I used Ukuu tool for this and I recommend that you use the same.

Using Ukuu to upgrade Linux Kernel in Ubuntu
Ukuu shows all kind of kernels by default

Did it work for you?

I can understand if the same trick doesn’t work for you. In that case, I suggest contacting the developer of the program and open a bug report.

But if you are using a different Linux kernel, using the Linux kernels provided by Ubuntu should fix the issue for you.

I hope this quick tip helps you to get rid of ‘cannot change profile for the next exec call: No such file or directory’ error with Snap. If you have questions, suggestions or a simple thanks, please feel free to use the comment section below 🙂





Source link: http://feedproxy.google.com/~r/ItsFoss/~3/eTnC-f1TCKc/

post

Tool To Create Bootable Windows USB Stick From Linux `WinUSB` (Fork) Renamed To `WoeUSB`, Sees New Release


The WinUSB fork we covered a while back was renamed to WoeUSB recently, while also seeing quite a few releases for the past few days.

WoeUSB

WoeUSB / WinUSB is a tool that can be used to create a bootable Windows installer USB stick from an ISO or DVD. The application supports Windows Vista, Windows 7, Windows 8, as well Windows 10, and can be used either with a GUI or from the command line.

As for supported bootmodes, WoeUSB / WinUSB can create a bootable Windows USB installation stick using the following:
  • Legacy / MBR-style / IBM PC compatible bootmode;
  • Native UEFI booting is supported for Windows 7 and later images (with a limitation: only FAT filesystem can be used as the target filesystem).

Since it was forked from Colin Gille’s WinUSB, the application has seen a major code refactoring, bug fixes as well as some minor new features. The changes include:
  • support for both wxWidgets 2 and 3;
  • use pkexec instead of gksudo for privilege escalation;
  • UEFI boot support;
  • numerous bug fixes.

Some newer WoeUSB changes include:

  • support customizing the –label of the newly created filesystem in –format mode;
  • implement checking on target filesystem in –install mode;
  • command line: check if target media is busy before continuing and bail out when the target partition is mounted;
  • support Linux distributions that uses “grub2” as prefix name, such as Fedora;
  • –install and –format installation options are deprecated in favor of –partition and –device, to be more clear what both options will do. The old options will still be available until WoeUSB v3.0;
  • from now on, GRUB will pause when the ENTER key is used before starting to load Windows. This is useful if you want to see if there are errors in the GRUB loading stage.

Also, since the application name has changed, the executables have changed as well: “woeusbgui” for the GUI and “woeusb” for the command line tool.

You can see what’s new in each new WoeUSB release (there were 13 new releases for the past 2 days) on GitHub.

Despite the major code refactoring and numerous bug fixes, I still encountered an error using the WoeUSB GUI, which I also found in the original WinUSB. When the Windows USB stick is completed, WoeUSB displayed the following message: “Installation failed ! Exit code: 256”. This bug was closed on GitHub and it looks like it doesn’t affect the actual Windows USB stick in any way.

In my test, I was able to install Windows 10 64bit in VirtualBox (on an Ubuntu 17.04 host) despite this error.

Install WoeUSB in Ubuntu or Linux Mint via PPA

WoeUSB is available in the main WebUpd8 PPA, for Ubuntu 17.04, 16.10, 16.04 or 14.04 / Linux Mint 18.x or 17.x. To add the PPA and install WoeUSB, use the following commands:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install woeusb

If you don’t want to add the PPA, you can grab the latest WoeUSB deb from HERE (you’ll only need the “woeusb” deb; the “winusb” deb is there as a transitional dummy package, so those that had the old fork installed will receive the new WoeUSB package as an update).

For how to build WoeUSB from source, report bugs, etc., see its GitHub page.





Source link: http://feedproxy.google.com/~r/webupd8/~3/bvQ4oj8tKkw/tool-to-create-bootable-windows-usb.html

post

How To Install XAMPP on Ubuntu 64 Bit


This short tutorial explains how to install XAMPP for GNU/Linux on Ubuntu. This includes download link, how to verify the running servers, and some command lines. This doesn’t include installing web-based software such as WordPress. This tutorial is for beginner users especially those switching from Windows. Any other distro such as Mint, BlankOn, or Deepin, can follow this tutorial as well because the steps are identical. Happy learning!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

Requirement

XAMPP for GNU/Linux is available only for 64 bit computers. You cannot install it on a 32 bit computer.

Download XAMPP

Download the XAMPP package (binary, with .run file extension) from its official page https://www.apachefriends.org/download.html. The file size is around 130MB for the version 5.6.30.

1. Run XAMPP Installer

Put the xampp*.run file on your $HOME directory and invoke these commands:

$ chmod +x xampp-file-name-here.run

$ sudo /xampp-file-name-here.run

and it should run the XAMPP Bitnami Installer. Do the installation and the XAMPP will be installed at /opt/lampp.

2. Run The Manager

To run the GUI XAMPP manager, invoke these command lines

$ sudo -s

# /opt/lampp/manager-linux-x64.run

Then you see a window of XAMPP manager below. Then do

activate Apache
activate MySQL

3. Visit Localhost

After activating the web server (Apache), now you can type http://localhost on your browser and you should see the welcome page of XAMPP. If so, it works.

Dislike GUI Manager?

If you want the fastest way of activating XAMPP, use console commands instead of GUI manager.

Start Apache web server:

$ sudo /opt/lampp/lampp startapache

Start MySQL database server:

$ sudo /opt/lampp/lampp startmysql

Stop them:

$ sudo /opt/lampp/lampp stopapache
$ sudo /opt/lampp/lampp stopmysql

See more info:

$ /opt/lampp/lampp help

Verifying


You can verify whether the Apache & MySQL are actually running or not by these commands:


$ ps aux | grep mysqld
$ ps aux | grep httpd

and you should notice the path of them is /opt/lampp/bin, the user of httpd is daemon and the user of mysqld is mysql.

Now, What?

Now as your XAMPP works, you can install some web-based software such as WordPress or OwnCloud on it, or you can start developing your own PHP or Perl programs on it. Happy learning!



Source link: http://feedproxy.google.com/~r/Ubuntubuzz/~3/qvWJ6-qhGrw/how-to-install-xampp-on-ubuntu-64-bit.html

post

How To Know The Version Of Application Before Installing In Ubuntu


Brief: This quick tip shows you how could you know the version of a program that you are thinking of installing in Ubuntu Linux.

The other day, I was thinking of installing Flowblade, one of the best video editors for Linux. I had two choices for installing this software, either I install it from Ubuntu repositories or from the website of Flowblade itself.

You might already know that the default repository by Ubuntu often doesn’t have the latest versions of a program. Ubuntu does it deliberately to make sure that new version doesn’t have a negative impact on the stability of your system.

But what if you really want only the latest version of an application? You can get it from the official source provided by the provider.

Then comes the question how would you know which version is available to install from Ubuntu?

And this is what I am going to show you in this quick tip. Though I am using Ubuntu here, the same steps are applicable for most other Linux distributions such as Linux Mint, elementary OS etc.

Find out version of a program before installing in Ubuntu

If you read the article about installing software in Ubuntu, you know that you can either use the graphical tool Ubuntu Software Center or the command line itself. We’ll see both ways here.

1. Find out the version of a program before installing in Ubuntu Software Center

Go to Ubuntu Software Center and search for the program you wish to install it. Click on it to find more details about it. You’ll see the information about the version of the program here.

Know the version of a program before installing in Ubuntu Software Center

You’ll also find information about the size of install among other things.

2. Know the version of a program before installing in command line

Like me, if you prefer using the terminal, you can use the command below:

apt show

Know the version of a program before installing in terminal

You can also use the old style apt-cache in either of the below two fashion:

apt-cache policy

apt-cache show

Know the version of a program before installing in terminal

Once you find out the software version which you will be getting from the official Ubuntu sources, you can go on to decide if you should be installing it from Ubuntu or from the developer itself.

I hope this quick tip helped you and you learn a new thing about Ubuntu Linux today. Do subscribe to our newsletter to get our articles in your inbox regularly.





Source link: http://feedproxy.google.com/~r/ItsFoss/~3/wrB_9zbKLUs/