Hot answers tagged

5

Never known about the command intel_gpu_time interesting, thank you. This command is part of the package intel-gpu-tools (apt-get install intel-gpu-tools) under Ubuntu and by the look of it the package under RedHat (CentOS) is called exactly the same. So, give yum install intel-gpu-tools a try.


4

This proves yet again that if you run random scripts off the Internet, you lose. Who wrote that tutorial? More importantly, who wrote this "iRedMail" thing? (never heard of it). Did you review the script, so that you're sure it didn't do anything else wrong? In the best case, that script (I didn't review it) simply has a bug which caused it to set ...


3

That last column is the process (process # / process name) and not the port. The port is in the fourth column, in your case it shows two ports open ulistproc and https. Both ports are open on the address "*" which means all addresses on your machine (that's normal default for most daemons, there's a config to limit it). If you want the actual port numbers ...


2

Try purging the 8.8.5 from your rpmdb. Use rpm -q gitlab-ce to get the exact package name and insert it into the command below. rpm -e --justdb ${exact_package} Should look something like this rpm -e --justdb gitlab-ce-8.8.5


2

I don't think Rob's answer is right. Those mails are apparently sent by the software that you installed. You need to fix the installation. Sadly, you don't provide enough information to pinpoint the problem exactly, especially information about the failed installation of that anti-spam plugin.


2

It's not clear what your actual problem is. Port 3306 is MySQL, is the attacker trying to break into your database? If the DB should not be accessible from outside, you should perhaps drop all connection requests from outside (I normally consider sending any reply packets to an attacker an unnecessary courtesy...) If the attacker somehow consumes your ...


2

Let´s say you want to allow users bellonging to group users2 to do some privileged control over apache without giving them root privilege. Add to /etc/sudoers %users2 keep ALL=NOPASSWD: /sbin/service http,/etc/init.d/http,/usr/sbin/apache2ctl If you just want them to restart apache it will be: %users2 ALL=NOPASSWD: /sbin/service http restart,/etc/init.d/...


1

The problem was that my editor was being stupid and I thought it was word wrapping. When I put sed -i.bak -c 's|net.ipv4.ip_forward.*|net.ipv4.ip_forward = 1|' /etc/sysctl.conf Into the editor the "/etc/sysctl.conf" would be touching the edge of the window so it displayed part of it on the next line. I thought it was just word wrapping but nope. Centos ...


1

When compiling/installing from source, as with most software distributions like this, the service will not be installed. You need to do those steps manually (or with configuration management of some type). Here's an example that I find, specifically for Samba 4 on a systemd based Linux system. Translating from here: https://dev.tranquil.it/wiki/SAMBA_-...


1

A quick look at the manual page shows: password=arg specifies the CIFS password. If this option is not given then the environment variable PASSWD is used. If the password is not specified directly or indirectly via an argument to mount, mount.cifs will prompt for a password, unless the guest option is specified. So, ...


1

Stop Those Irritating Dr. Web Antivirus Cron Update Emails on Plesk 11.5+ After recently updating our server, we started receiving some irritating cron emails from the DrWeb daemon. One every hour to be exact, that’s twenty-four every day, agh! Here is a simple way to turn it off. Log in as root to your server via SSH and open /etc/drweb/drweb32.ini. Search ...


1

As root, type netstat -pat | grep httpd (or grep apache depending on your distro)


1

You cannot define eth0:0 as the origin of your ICMP packet with the pingcommand; as said in previous comments, the routing rules will be applied, and if routing to other networks, the eth0 address will be used. You can however, spoof an ICMP packet having eth0:0 IP address as origin with the hping3 command as in: sudo hping3 -1 8.8.8.8 -a 192.168.2.96 ...


1

If you check your repo file for CentOS 6 Base in /etc/yum.repo.d/ you'll find there such strings: [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 ...


1

You can use your package manager to find out which package clang-tidy provides. For example on Fedora/CentOS: dnf whatprovides '*/clang*tidy*' On Debian/Ubuntu you can use an analogous apt-file search command. However, on Fedora 23 clang-tidy just isn't packaged. No match is found. There is even an open bug report: Missing clang-query and clang-tidy ...


1

No need to edit files. Sometimes you can't just add the application's launcher to the activity menu because it isn't recognized as an activity. go to the folder containing the .desktop file you wish to add to the favorites bar and open the terminal there. run the command sudo mv path/to/file/name.desktop /usr/share/applications after that you should be ...



Only top voted, non community-wiki answers of a minimum length are eligible