Finally spring is come, it’s a good time to start to go out and do some walks, or perhaps it’s a good moment to take a look at the best articles published on linuxaria.com during this cold winter.
This is a short list of the most read articles during last winter:
With the significant prevalence of Linux web servers globally, security is often touted as a strength of the platform for such a purpose. However, a Linux based web server is only as secure as its configuration and very often many are quite vulnerable to compromise. While specific configurations vary wildly due to environments or specific use, there are various general steps that can be taken to insure basic security considerations are in place.
Many risks are possible from a compromise including using the web server into a source of malware, creating a spam-sending relay, a web or TCP proxy, or other malicious activity. The operating system and packages can be fully patched with security updates and the server can still be compromised based purely on a poor security configuration. Security of web applications first begins with configuring the server itself with strict security in mind.
When something goes wrong on your Linux server or desktop, is important to understand which process is taking all the resources, in the past I’ve published some information about
htop, two great tools to have a general overview of your system with just a glance, but sometimes you need to gather more information of a particular process and for this task the command
pidstat is perfect.
Pidstat is a statistics report tool for Linux which is part of the sysstat utilities. The
pidstat command is used for monitoring individual tasks currently being managed by the Linux kernel. It writes to standard output activities for every task selected with option -p or for every task managed by the Linux kernel if option -p ALL has been used. Not selecting any tasks is equivalent to specifying -p ALL but only active tasks (tasks with non-zero statistics values) will appear in the report.
You can use PID’s and even regular expressions on the process names to filter them out.
After the update to Ubuntu 11.10 my wireless goes up and down, and so i’m trying to debug this problem looking into
But this brought me to another small issue,
dmesg prints timestamps in the form of seconds.nanoseconds since the system booted. And no, there seems to be no -h option to make it human readable. so you should check your boot time and make some calculations to see where the events logged are happened.
This don’t seem so useful !
Let’s see how to have these information in a better format.
Techies and gamers seem to always be faced an unfortunate lack of video games available for the Linux operating system. While many techie gamers would prefer to move to a cleaner, leaner Linux environment, the Microsoft world it seems has held the monopoly when it comes to supporting great computer games. While Apple has made great strides toward supporting a wider variety of games, Linux clearly trails behind the big commercial operating systems in game support.
To help alleviate this unfortunate situation Linux aficionados find themselves in, here is a list of the top ten Linux games released or updated in 2012
It seem impossible for me to get rid of all the windows server that our company still has, some have custom software made years ago that no one want to touch, other have management console for Vmware or Cisco appliance..that run only on Windows or again some product relesed their software only for windows, so in short i still have to login sometime on a Windows server from my PC with Linux, so what’s the best way to do this ?
The best protocol to do this is RDP. Remote Desktop Protocol (RDP) is a proprietary protocol developed by Microsoft, which provides a user with a graphical interface to another computer. Clients exist for most versions of Microsoft Windows (including Windows Mobile), Linux, Unix, Mac OS X, Android, and other modern operating systems. By default the server listens on TCP port 3389
Microsoft currently refers to their official RDP server software as Remote Desktop Services, formerly “Terminal Services”. Their official client software is currently referred to as Remote Desktop Connection, formerly “Terminal Services Client“.
But now back on Linux, let’s take a look at rdesktop, TSClient, Remmina e PAC
Suppose you have a long-running task (for example, compiling a large program) that you need to run, but you also want to get some other work done. Linux lets you start a task in the background and keep on doing other things from the command prompt.
We will see in this article how to send commands in the background, then return them to the foreground, and make sure that also closing the current shell or terminal the process doesn’t remains tied to the session but continue to work.
An alternative to these command is using
screen, as read in a former article, but now let’s see the command bg and the special character &
One element that is often not know, or that should be measured after a problem statement or after a change in the infrastructure is the network . But how do you accurately measure the speed between two servers?
Someone use ftp, scp or other file transfer protocols, these can give some indication, but probably you’ll measure the limit of your disks or CPU.
In this article I will show you 3 way to measure the bandwidth from the command line, without using the disks.
Find me on Google+