4MLinux 31.2 duyuruldu

Bir bakım (bir sistem kurtarma live CD’si gibi), multimedya, (inetd daemon kullanarak) bir miniserver gibi temel unsurlara odaklanan ve bazı küçük GNU/Linux oyunları sağlayan bir GNU/Linux dağıtımı olan 4MLinux’un 31.2 sürümü duyuruldu. Mini bir sunucu (inetd arka plan programı kullanarak) içeren sistem, birkaç küçük Linux oyunu sağlıyor. 4.19.95 Linux çekirdeği üzerine yapılandırılan yeni sürümün 4MLinux STABLE kanalında küçük (nokta) bir sürüm olduğu ifade ediliyor. 4MLinux Sunucusu artık Apache 2.4.41, MariaDB 10.4.11 ve PHP 7.3.13’ü içerdiği belirtiliyor. Zaten 4MLinux kullanıcısı olanların terminal üzerinde zk update komutunu çalıştırarak 4MLinux’u güncelleyebilecekleri hatırlatılıyor. 4MLinux 31.2 hakkında ayrıntılı bilgi edinmek üzere sürüm duyurusunu inceleyebilirsiniz.

Continue Reading →

4MLinux 31.2 edinmek için aşağıdaki linkten yararlanabilirsiniz.

0

Debian Edu/Skolelinux Buster 10.3 çıktı

Debian 10 “Buster”in üçüncü güvenlik ve hata düzeltme güncellemesi olarak Debian 10.3 duyurulmasının ardından, yüzlerce paket ön yüklenmiş olarak gelen ve sonra da pek çok paketi ekleyebileceğiniz, Debian-edu projesince okullar ve üniversiteler için özel bir ortam sağlamayı hedefleyen ve özel bir Debian dağıtımı olarak geliştirilen Debian Edu/Skolelinux’un 10.3 sürümü çıktı ve yansılarda yerini aldı. Debian Edu’nun önceden yüklenmiş yüzlerce uygulama ile birlikte geldiği ve ayrıca her zaman Debian’dan daha fazla paket ekleyebilme olanağının bulunduğu hatırlatılarak; okulda bir okul ağı mı, sunucular, iş istasyonları ve dizüstü bilgisayarlar mı kurulmak istendiğine veya Debian’ı ağ servisleriyle önceden yapılandırılmış olarak mı elde etmek istendiğine karar verilmesi gerektiği vurgulanıyor. Ayrıca Skolelinux diye de adlandırılan Debian Edu, bilindiği gibi, okullar ve üniversiteler için özel bir ortam sağlamayı hedefleyen ve özel bir Debian dağıtımı olarak geliştirilen bir proje; sistemin, okullar ve üniversiteler için tam teşekküllü bir işletim sistemi olması arzu ediliyor.

Continue Reading →

Debian Edu okul sunucusu, bir LDAP veritabanı ve Kerberos kimlik doğrulama servisi, merkezi ev dizinleri, DHCP sunucusu, bir web proxy’si ve diğer birçok servis sağlar. Masaüstü 60’tan fazla eğitim yazılımı paketi içeriyor ve daha fazlası Debian arşivinden edinilebilir. Okullar masaüstü ortamları Xfce, GNOME, LXDE, MATE, KDE Plazma ve LXQt arasında seçim yapabilir. Debian Edu/Skolelinux Buster 10.3 edinmek için aşağıdaki linklerden yararlanabilirsiniz.

0

Tiny Core Linux 11.0 duyuruldu

Damn Small çatallaması bir GNU/Linux dağıtımı olan, çok hızlı bellek ve önyükleme özelliklerine sahip, üstelik kullanıcıyı destekleyen uygulamalarla donatılmış Tiny Core Linux’un grafiksel bir pencere yöneticisi (flwm) içeren yeni 11.0 final sürümü duyuruldu. Çeşitli hataları düzeltilen ve kimi iyileştirmeler yapılan yeni sürüm, kullanılmak üzere yansılarda yerini aldı. glibc 2.30 ve gcc 9.2.0 ile gelen sistem, 5.4.3 Linux çekirdeği üzerine yapılandırılmış bulunuyor. Sistem; e2fsprogs 1.45.4, util-linux 2.34 ve busybox 1.31.1 gibi güncel yazılımlar içeriyor. Intel IOMMU 32 bit’lik sürümde önyüklemeyi engelleyen bir hata keşfettiklerini söyleyen geliştirici ekip, nouveau çekirdek modülünün de etkinleştirildiğini ifade etti. Tiny Core Linux 11.0 hakkında ayrıntılı bilgi edinmek için sürüm duyurusunu inceleyebilirsiniz.

Continue Reading →

Tiny Core Linux 11.0 edinmek için aşağıdaki linklerden yararlanabilirsiniz.

0

GNOME 3.35.90 duyuruldu

GNOME masaüstü ortamının 2020’nin Mart ayında yayınlanması planlanan 3.36 sürümüne doğru yeni bir adım olarak 3.35.90 sürümü, Abderrahim Kitouni tarafından duyuruldu. Bu sürümün, 3.36 Beta anlamına geldiğini hatırlatan Kitouni; bunun bir test sürümü olduğunun unutulmaması ve yalnızca test etmek amacıyla kullanılması gerektiğini söyledi ve test eden kullanıcıların tespit ettikleri hataları rapor etmelerini rica etti. Kitouni; önemli değişikliklerle geldiğini açıkladığı sürümün, GNOME 3.36’ya doğru ilk beta sürüm olduğunu ve GNOME Shell ve Mutter için pek çok geliştirme içerdiğini söyledi. Cantarell yazı tiplerinde çeşitli tasarım geliştirmeleriyle gelen sürüm, Epiphany web tarayıcısında tercih değişiklikleri, kilitlenme düzeltmeleri, PDF’leri dosya seçici ile açma desteği, klavye kısayol geliştirmeleri ve diğer önemli değişiklikleri içeriyor. GNOME Hesap Makinesi ayrıca güncellenmiş klavye kısayollarının bu döngüsüne devam ediyor. Önümüzdeki hafta ikinci beta sürümün geleceği, Şubat sonunda ise sürüm adayının yayınlanacağı; her şey yolunda giderse, GNOME 3.36.0 final sürümün 11 Mart 2020’de yayınlanacağı belirtiliyor. GNOME 3.35.90 hakkında ayrıntılı bilgi edinmek için sürüm duyurusunu inceleyebilirsiniz.

Continue Reading →

GNOME 3.35.90 edinmek için aşağıdaki linklerden yararlanabilirsiniz.

0

Matplotlib tutorial (Plotting Graphs Using pyplot)

Matplotlib is a library in python that creates 2D graphs to visualize data. Visualization always helps in better analysis of data and enhance the decision-making abilities of the user. In this matplotlib tutorial, we will plot some graphs and change some properties like fonts, labels, ranges, etc. First, we will install matplotlib, then we will start plotting some basics graphs. Before that, let’s see some of the graphs that matplotlib can draw. There are a number of different plot types in matplotlib. This section briefly explains some plot types in matplotlib. A line plot is a simple 2D line in the graph.

Continue Reading →

Plot Types

There are a number of different plot types in matplotlib. This section briefly explains some plot types in matplotlib.

Line Plot

A line plot is a simple 2D line in the graph.

Contouring and Pseudocolor

We can represent a two-dimensional array in color by using the function pcolormesh() even if the dimensions are unevenly spaced. Similarly, the contour()  function does the same job.

Histograms

To return the bin counts and probabilities in the form of a histogram, we use the function hist().

Paths

To add an arbitrary path in Matplotlib we use matplotlib.path module.

Streamplot

We can use the streamplot() function to plot the streamlines of a vector. We can also map the colors and width of the different parameters such as speed time etc.

Bar Charts

We can use the bar() function to make bar charts with a lot of customizations.

Other Types

Some other examples of plots in Matplotlib include:

  • Ellipses
  • Pie Charts
  • Tables
  • Scatter Plots
  • GUI widgets
  • Filled curves
  • Date handling
  • Log plots
  • Legends
  • TeX- Notations for text objects
  • Native TeX rendering
  • EEG GUI
  • XKCD-style sketch plots

Installation

Assuming that the path of Python is set in environment variables, you just need to use the pip command to install matplotlib package to get started.

Use the following command:

pip install matplotlib

In my system, the package is already installed. If the package isn’t already there, it will be downloaded and installed.

To import the package into your Python file, use the following statement:

import matplotlib.pyplot as plt

Where matplotlib is the library, pyplot is a package that includes all MATLAB functions to use MATLAB functions in Python.

Finally, we can use plt to call functions within the python file.

Vertical Line

To plot a vertical line with pyplot, you can use the axvline() function.

The syntax of axvline is as follows:

plt.axvline(x=0, ymin=0, ymax=1, **kwargs)

In this syntax: x is the coordinate for x axis. This point is from where the line would be generated vertically. ymin is the bottom of the plot, ymax is the top of the plot. **kwargs are the properties of the line such as color, label, line style, etc.

import matplotlib.pyplot as plt

plt.axvline(0.2, 0, 1, label='pyplot vertical line')

plt.legend()

plt.show()

In this example, we draw a vertical line. 0.2 means the line will be drawn at point 0.2 on the graph. 0 and 1 are ymin and ymax respectively.

label one of the line properties. legend() is the MATLAB function which enables label on the plot. Finally, show() will open the plot or graph screen.

Horizontal Line

The axhline() plots a horizontal line along. The syntax to axhline() is as follows:

plt.axhline(y=0, xmin=0, xmax=1, **kwargs)

In the syntax: y is the coordinates along y axis. These points are from where the line would be generated horizontally. xmin is the left of the plot, xmax is the right of the plot. **kwargs are the properties of the line such as color, label, line style, etc.

Replacing axvline() with axhline() in the previous example and you will have a horizontal line on the plot:

import matplotlib.pyplot as plt

ypoints = 0.2

plt.axhline(ypoints, 0, 1, label='pyplot horizontal line')

plt.legend()

plt.show()

Multiple Lines

To plot multiple vertical lines, we can create an array of x points/coordinates, then iterate through each element of array to plot more than one line:

import matplotlib.pyplot as plt

xpoints = [0.2, 0.4, 0.6]

for p in xpoints:

plt.axvline(p, label='pyplot vertical line')

plt.legend()

plt.show()

The output will be:

The above output doesn’t look really attractive, we can use different colors for each line as well in the graph.

Consider the example below:

import matplotlib.pyplot as plt

xpoints = [0.2, 0.4, 0.6]

colors = ['g', 'c', 'm']

for p, c in zip(xpoints, colors):

plt.axvline(p, label='line: {}'.format(p), c=c)

plt.legend()

plt.show()

In this example, we have an array of lines and an array of Python color symbols. Using the zip() function, both arrays are merged together: the first element of xpoints[] with the first element of the color[] array. This way, first line = green, second line = cyan, etc.

The braces {} act as a place holder to add Python variables to printing with the help of the format() function. Therefore, we have xpoints[] in the plot.

The output of the above code:

Just replace the axvline() with axhline() in the previous example and you will have horizontal multiple lines on the plot:

import matplotlib.pyplot as plt

ypoints = [0.2, 0.4, 0.6, 0.68]

colors = ['b', 'k', 'y', 'm']

for p, c in zip(ypoints, colors):

plt.axhline(p, label='line: {}'.format(p), c=c)

plt.legend()

plt.show()

The code is the same, we have an array of four points of y axis and different colors this time. Both arrays are merged together with zip() function, iterated through the final array and axhline() plots the lines as shown in the output below:

Save Figure

After plotting your graph, how to save the output plot?

To save the plot, use savefig() of pyplot.

plt.savefig(fname, **kwargs)

Where fname is the name of the file. The destination or path can also be specified along with the name of the file. The kwargs parameter is optional. It’s used to change the orientation, format, facecolor, quality, dpi, etc.

import matplotlib.pyplot as plt

ypoints = [0.2, 0.4, 0.6, 0.68]

colors = ['b','k','y', 'm']

for p, c in zip(ypoints, colors):

plt.axhline(p, label='line: {}'.format(p), c=c)

plt.savefig('horizontal_lines.png')

plt.legend()

plt.show()

The name of the file is horizontal_lines.png, the file is saved where your python file is stored:

Multiple Plots

All of the previous examples were about plotting in one plot. What about plotting multiple plots in the same figure?

You can generate multiple plots in the same figure with the help of the subplot() function of Python pyplot.

matplotlib.pyplot.subplot(nrows, ncols, index, **kwargs)

In arguments, we have three integers to specify, the number of plots in a row and in a column, then at which index the plot should be. You can consider it as a grid and we are drawing on its cells.

The first number would be nrows the number of rows, the second would be ncols the number of columns and then the index. Other optional arguments (**kwargs) include, color, label, title, snap, etc.

Consider the following code to get a better understanding of how to plot more than one graph in one figure.

from matplotlib import pyplot as plt

plt.subplot(1, 2, 1)

x1 = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]

y1 = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50]

plt.plot(x1, y1, color = "c")

plt.subplot(1, 2, 2)

x2 = [40, 50, 60, 70, 80, 90, 100]

y2 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x2, y2, color = "m")

plt.show()

The first thing is to define the location of the plot. In the first subplot, 1, 2, 1 states that we have 1 row, 2 columns and the current plot is going to be plotted at index 1. Similarly, 1, 2, 2 tells that we have 1 row, 2 columns but this time the plot at index 2.

The next step is to create arrays to plot integer points in the graph. Check out the output below:

This is how vertical subplots are drawn. To plot horizontal graphs, change the subplot rows and columns values as:

plt.subplot(2, 1, 1)

plt.subplot(2, 1, 2)

This means we have 2 rows and 1 column. The output will be like this:

Now let’s create a 2×2 grid of plots.

Consider the code below:

from matplotlib import pyplot as plt

plt.subplot(2, 2, 1)

x1 = [40, 50, 60, 70, 80, 90, 100]

y1 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x1, y1, color = "c")

plt.subplot(2, 2, 2)

x2 = [40, 50, 60, 70, 80, 90, 100]

x2 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x2, y2, color = "m")

plt.subplot(2, 2, 3)

x3 = [40, 50, 60, 70, 80, 90, 100]

y3 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x3, y3, color = "g")

plt.subplot(2, 2, 4)

x4 = [40, 50, 60, 70, 80, 90, 100]

y4 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x4, y4, color = "r")

plt.show()

The output is going to be:

In this example, 2,2,1 means 2 rows, 2 columns, and the plot will be at index 1. Similarly, 2,2,2 means 2 rows, 2 columns, and the plot will be at index 2 of the grid.

Font Size

We can change the font size of a plot with the help of a function called rc(). The rc() function is used to customize the rc settings. To use rc() to change font size, use the syntax below:

matplotlib.pyplot.rc('fontname', **font)

or

matplotlib.pyplot.rc('font', size=sizeInt)

The font in the syntax above is a user-defined dictionary, that specifies the weight, font family, font size, etc. of the text.

plt.rc('font', size=30)

This will change the font to 30, the output is going to be:

Axis Range

The range or limit of the x and y axis can be set by using the xlim() and ylim() functions of pyplot respectively.

matplotlib.pyplot.xlim([starting_point, ending_point])

matplotlib.pyplot.ylim([starting_point, ending_point])

Consider the example below to set x axis limit for the plot:

from matplotlib import pyplot as plt

x1 = [40, 50, 60, 70, 80, 90, 100]

y1 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x1, y1)

plt.xlim([0,160])

plt.show()

In this example, the points in the x axis will start from 0 till 160 like this:

Similarly, to limit y axis coordinates, you will put the following line of code:

plt.ylim([0,160])

The output will be:

Label Axis

The labels for x and y axis can be created using the xlabel() and ylabel() functions of pyplot.

matplotlib.pyplot.xlabel(labeltext, labelfontdict, **kwargs)

matplotlib.pyplot.ylabel(labeltext, labelfontdict, **kwargs)

In the above syntax, labeltext is the text of the label and is a string, labelfont describes the font size, weight, family of the label text and it’s optional.

from matplotlib import pyplot as plt

x1 = [40, 50, 60, 70, 80, 90, 100]

y1 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x1, y1)

plt.xlabel('Like Geeks X Axis')

plt.ylabel('Like Geeks Y Axis')

plt.show()

In the above example, we have regular x and y arrays for x and y coordinates respectively. Then plt.xlabel() generates a text for x axis and plt.ylabel() generates a text for y axis.

Clear Plot

The clf() function of the pyplot clears the plot.

matplotlib.pyplot.clf()

In the clf() function, we don’t have any arguments.

from matplotlib import pyplot as plt

x1 = [40, 50, 60, 70, 80, 90, 100]

y1 = [40, 50, 60, 70, 80, 90, 100]

plt.plot(x1, y1)

plt.xlabel('Like Geeks X Axis')

plt.ylabel('Like Geeks Y Axis')

plt.clf()

plt.show()

In this code, we created a plot and defined labels as well. After that we have used the clf() function to clear the plot as follows:

I hope you find the tutorial useful to start with matplotlib.

Keep coming back.

0

Why You Should Protect Your Research Papers in Linux

Writing a research paper is a huge task in itself. When you think about how easy it is for other people to copy or plagiarize the paper you worked hard on, this should encourage you to learn how to protect your research papers and other documents on your Linux computer. To do this, you should improve network security and even the physical security of the data stored on your computer. To ensure that hackers won’t get to your files, it’s recommended to have several security measures in place. From the research paper files themselves to the other files in your device, there’s a lot for you to keep secure. One of the most secure ways to protect your files is through encryption. This is a lot like keeping your files in a locked safe. You can even use encryption for safeguarding your website and other online data. Encrypting involves generating a password or encryption key. The only person who can access encrypted data is the one holding the password. In this case, that would be you.

Continue Reading →

Encrypting your research papers and other files

For Linux, there are several tools you can use to create a secure container called an “encrypted volume” to keep all of your files and research papers. Rather than encrypting your files individually, placing all of them in an encrypted volume makes it more convenient for you to find your files.

However, if you copy your files on a flash drive or on another computer, you would have to encrypt them again to guarantee their safety.

With all the software available for Linux, you have to choose the right one. Some of these software options offer important features that allow you to customize your security settings.

Some tools even allow you to permanently encrypt your computer’s entire disk along with all the files stored on it, temporary files, installed programs, and even operating system files.

Finding the right tools

Linux operates on three levels of access to files on your computer. Understand that on Linux, all stored content including programs are considered files and you might want to remember this when setting up access control.

Security levels consist of User, person who created file or owner of device, a user group collectively granted access to a specific file(s), and Other or open.

Access permission is also set at three levels. First up is Read permission by which you can open and read a file but cannot modify. Next is Write permission that allows you to modify contents in a file.

To protect your valuable research paper, do not leave this level open. The final permission level is Execute, which allows modification of program coding and by extension the possibility to corrupt your stored data. Credentials for Read and Execute levels must be seriously protected, and known to you only or other trusted person.

Properly applied, these levels of security in Linux OS will protect your data against hacking and corruption.

A corrupted assignment at the wrong time might leave you asking the inevitable question; can I pay to do my assignment? Well, it it come to this, EduBirdie a reputable online service can help you salvage your loss and provide you with professionally-written research papers and other documents.

If you believe that your research papers and all other files you save on your computer are important, then security should be your first priority. If a person successfully hacks into your computer and corrupts your files, it’s a disaster.

Of course, it’s better for you to protect the files you worked hard on too. Since there are several options for Linux to encrypt your files and keep them safe, you need to do a bit of research to find the right one.

Search for the features you need and when you find a tool, app or software with this feature, dig deeper. The key is to learn everything you can about the digital tool before downloading or purchasing it.

Finding the right tools

Safely using encryption on Linux

Encryption alone won’t do much good if system root access is not protected. Linux restricts what other systems call administrator access privileges to any user other than the authorized custodians.

This protects the system’s core and stored files from inadvertent attacks by worms and viruses through careless web browsing.

Next, you need to choose easy to use but highly secure tools for encrypting your files. One way is to create containers which are similar to zipped files and encrypt these using the VeraCrypt tool. The beauty of this container is that it is also portable and accessible on both Linux and Windows.

Alternatively, why not just encrypt the whole disk? This however presupposes that you won’t leave your computer on and unattended, as your files will be unprotected. Having encrypted containers or one containing all others is the best way to keep your data safe.

You can also encrypt on Linux using Files by choosing a compression format for your document, add password, and compress.

Another simple way to protect your research data is to secure your account in the first place using a strong password. All these are features of Linux operating system for security of your data

Storing research papers and other data is of the essence, especially if you placed a lot of effort and time into creating them.

While encryption helps reduce the safety risk greatly, this won’t eliminate the risk completely. Therefore, you should also learn how to protect the most sensitive information you have stored on your computer.

If you think that there is anything on your computer that can be potentially damaging to you that you don’t really need to store on your computer, delete and keep it clean.

For those who can’t delete, use the best encryption tool to keep them safe. While encryption isn’t completely safe, it’s still the best option. To increase your files’ safety even more, here are some tips to keep in mind:

  • If you plan to walk away from your computer, close all of your files. Even if it’s your home computer if you plan to leave it overnight, close all of your files to prevent remote intruders from accessing them.
  • Even when putting your computer to sleep or in hibernation mode, close all of your files.
  • Never allow other people to use your computer without closing your files first.
  • Also, close all of your files before you insert a flash disk or other external storage devices into your computer. This applies even if the storage device belongs to someone you know.
  • If you store encrypted volumes on a flash disk, never leave it lying around. Keep it in a secure place to ensure the safety of the data stored within it.

These practical tips are essential to ensure the safety of your files. Combining encryption with other safety features is the best way to protect your data in Linux.

Linux performance

Linux OS has more pluses over other operating systems that you stand to gain from besides security of your research data. It is an open source OS that you can modify and create a personalized version without license restrictions.

The General Public License that comes with Linux will save you a ton of dollars on fees and cost of software as it is compatible with many standard Unix packages and can process most file formats.

A Linux operating system is a smart option in many ways for storing your valuable data. Remember to work with a good programmer to set it right for you to enjoy maximum performance and security.

Conclusion

As a Linux user, the application and tool options grow each day. Now, you can find an app to help you encrypt your data and keep it safe from those who want to corrupt or copy them. Your research papers and all the other files stored on your computer belong to you and no one else.

If you want to keep it that way, learning how to protect your data is key. These days, the huge collection of Linux tools and apps has great potential.

Once you find the tool you need, you can install it then start using it right away. That way, you won’t have to worry about the safety of your digital data.

0

Debian 9, 9.12’ye güncellendi

Debian projesi; 17 Haziran 2017 tarihinde yayınladığı “Stretch” kod adlı Debian 9’un onikinci güncellemesini duyurdu. Debian projesinin eski kararlı “Stretch” kod adlı Debian 9 sürümünün onikinci güncellemesini duyurmaktan mutluluk duyduğu belirtilirken, bu sürümün, ciddi sorunlar için birkaç düzeltme ile birlikte, güvenlik sorunları için düzeltmeler eklediği bildiriliyor. Bu güncelleştirmenin Debian 9’un yeni bir sürümü olmadığı, ancak bazı paketlerin güncellendiği belirtilirken, ilk “Stretch” kurulum CD veya DVD’lerini atmaya gerek olmadığı, zira kurulum sonrasında gerçekleştirilecek güncellemeler ile söz konusu güncellemenin elde edilebileceği ifade edildi. Sistemlerini security.debian.org üzerinden güncelleştiren kullanıcıların bu güncellemeye ihtiyaçları kalmayacağı belirtilirken, güncellenmiş paketleri içeren yeni CD ve DVD kalıplarının yansılarda en kısa zamanda yerini alacağı ifade edildi.  Debian 9.12 hakkında geniş bilgi edinmek için sürüm duyurusunu inceleyebilirsiniz.

Continue Reading →

Debian 9.12 yeni CD ve DVD kalıplarının yansılarda yerini almasından sonra sürümü edinmek için aşağıdaki linklerden yararlanabileceksiniz.

0