linux – No ntpd in centos 7, how to synchronize time automatically and manually with chrony?

Unless you have changed the chrony settings, you do not need to do anything other than start the service.

systemctl enable - now chronyd.service

The default setting automatically causes the clock to start (using the make a step directive) if it is more than one second different from the default NTP servers.

If you explicitly removed it make a step From the configuration, you can pass the clock using the command

Chronyc Makestep

You should DO NOT do this if you used the non-default rtcfile However, this option will cause the RTC drift to be incorrectly registered.

For more details, consult the RHEL 7 chrony documentation.

8 6 "8 6"

BlackHatKings: Ads and updates
Posted by: AzXpjzcc
Time of publication: May 21, 2019 at 01:28 a.m.

full screen: need help to design a full screen notification (laptop) visible ~ 5 to 7 feet away

I have software that I am working on, in which a user has to scan a complete palette of several hardware items to make inventories (think of a wooden pallet in a warehouse loaded with stacks of computer towers of various form factors , for example, with 50 towers per pallet) using a hand-held barcode scanner (possibly wireless), a barcode label represents the unique instance of the element on which the label was placed.

The idea is that the person, using a barcode scanner connected to a laptop with my software open, can scan each element of the palette at their own pace without having to move the laptop (which would be impractical). This means that the user must physically move to perform the task and may not be able to see the screen immediately or closely when moving, scanning elements.

So far I have planned a notification system that would notify the user through auditory signals according to the state of the scanned item, since it is safe to assume that they are not looking at the screen when scanning an item. A visual notification of classes is, of course, important if they scan an item and can see the screen, however, and that's where I'm having some problems.

The following demo is what would be shown for each notification that would appear for about 1-2 seconds before returning to the default view of the software information, which is effectively the list of all items in the palette (read from a csv file). generated by the management System), categorized and ordered with a summary count of scanned items, by brand and model. However, this default view is too dense to view at a distance, so I have difficulty deciding:

  • I must show only one notification at a time, fullscreen? If so, how should I handle scans of the items that occur before the notifications of the previous items disappear, keeping in mind that I would like the most recent notification displayed on the screen to always be relative to the The user's most recent scan, so that the information displayed is always accurate if all the user does is look at the screen when scanning an item.
  • Alternatively, you could allow 2, maybe 3 notifications at a time on the screen (each occupies half or a third of it), provided that everything can be read at a distance of ~ 5 to 7 feet away, but how do I handle new notifications in this case, if the previous ones are still on the screen ? Scroll them up on the screen (so they are in the oldest / oldest-order below), prematurely delete the oldest notification or let the notifications run out normally and always occupy the "slots" as they become available.
  • Allow the notification window (containing notifications) to be displayed manually / so that notifications or the window that contains them never disappear, so that notifications can be moved (for example) if the user hears a sound / auditory warning notification, but that would mean a lot of movement … I'm not sure about this.

The states that I am following are the scans themselves, of the following elements:
Good (the object exists in the list and it has been scanned just once).
Orphan (the object does not exist in the list and it has been scanned just once).
Double (the object exists in the list and it has been scanned more than once).
Duplicate orphan (the object does not exist in the list and it has been scanned more than once).

I can not trace the lack of barcode label, since that label is what is needed to track the status in this part of the process, which is essentially the validation of the information provided in the previous step; manual input of hardware data into the system, as well as the placement of adhesive labels of bar codes. Note that I do not have direct access to the database, so I have to list "Orphan" for the orphaned elements instead of showing the actual palette to which the scanned item belongs.


Download the bmml font – Wireframes created with Balsamiq Mockups

Thank you very much in advance for your help and apologies for the extension of this publication! Feel free to offer advice, alternative models or ideas, or comment on my proposed model that represents a single scan notification as well, since I would like to offer all the information I can with the little space I have (since it must be visible and understandable) at a glance from a distance).

ROOT Lenovo tab 3 7 "TB3-710F Android 5.0.1 Also to make things even more difficult, there is no OEM unlock in developer mode.

Lenovo tab 3 7 "TB3-710F 5.0.1 No OEM unlocking in developer mode

VPS Blowout: 40% DISCOUNT, bandwidth without meter, Openvz 7, free DDOS protection in SSD VPS + MORE!

DesiVPS It was founded in 2019 with a simple idea: to provide affordable SSD VPS with powerful features for our Customers. Although our prices are low, performance is our main focus. We offer the type of accommodation that customers want at the type of prices that customers want to pay with the best quality of service and customer service.

DesiVPS is headquartered in Mumbai with servers hosted in Las Angeles. We do not rent servers, we buy our own server hardware and we place them in several networks. To excel in the IT industry compared to the many competitors, we rely above all on excellent customer service. From our headquarters in Mumbai, our experts will help you with all matters related to the servers.

We accept payment of all major credit cards through PayPal.

The features included in our SSD Optimized VPS plans are:

  • 24×7 live support via chat and ticket.
  • Bandwith without meter
  • Free DDos protection
  • SSD Hard Drives.
  • Virtualizer control panel
  • Full access to the root and instant configuration
  • Reverse DNS available (on demand)
  • Compatibility with IPV6
  • Virtualization technologies OPENVZ 7


VPS server plans optimized for SSD:

RAM: 1 GB of RAM
Storage:20 GB SSD
Traffic:Without measuring
Port:1 Gbps port
IP adress: 1 IP address
Original price : $ 6 / month
After the discount price: $ 3.6 / month
Order link


Storage40 GB SSD
Traffic:Without measuring
Port:1 Gbps port
IP adress: 2 IP address
Original price : $ 12 / month
After the discount price: $ 7.2 / month
Order link

Storage60 GB SSD
Traffic:Without measuring
Port: 1 Gbps port
IP adress: 3 IP address
Original price : $ 18 / month
After the discount price: $ 10.8 / month
Order link

Storage80 GB SSD
Traffic:Without measuring
Port:1 Gbps port
IP adress: 4 IP address
Original price : $ 24 / month
After the discount price: $ 14.4 / month
Order link

Storage100 GB SSD
Traffic:Without measuring
Port:1 Gbps port
IP adress: 5 IP address
Original price : $ 36 / month
After the discount price: $ 21.6 / month
Order link

Storage120 GB SSD
Traffic:Without measuring
Port:1 Gbps port
IP adress: 6 IP address
Original price : $ 42 / month
After the discount price: $ 25.2 / month
Order link

Storage140 GB SSD
Traffic:Without measuring
Port:1 Gbps port
IP adress: 7 IP address
Original price : $ 48 / month
After the discount price: $ 28.8 / month
Order link

Storage160 GB SSD
Traffic:Without measuring
Port:1 Gbps port
IP adress: 8 IP address
Original price : $ 54 / month
After the discount price: $ 32.4 / month
Order link

If you have any questions, do not hesitate to contact us by email: sales[at]desivps[dot]com

File transfer: Samsung Galaxy Note 4 only connects to Windows 7 through ptp. IS NOT mtp?

I was just trying to back up some files on my old PC, an Emachines running win7. When I am connected to my Lenovo win10 laptop, everything works fine, both MPT and PTP appear and everything is recognized. But with my Windows 7, only PTP allows the computer to see the phone? I tried USB debugging, changing ports, uninstalling / reinstalling drivers and changing cables, but nothing seems to work. The same cables that I used in my laptop do not work in Windows 7? Other phones connect easily to my Windows 7. I do not want to do anything crazy or root the phone, and if I have to use the laptop, what's the problem?

centos7 – How would you install LVM CentOS 7 in a Contabo VPS environment?

I am currently using a Contabo M SSD VPS and I am looking to install CentOS 7 with LVM for the system partition. However, there is no direct route to do this, since the images of the Contabo operating system are not LVM. One way I see around this is to use your System Recovery image and STP & # 39; ing manually over the CentOS ISO and … in addition to installing the operating system as such, getting to that point is where my experience to do Something like this ends. I ask this because I would like to make "hot" daily snapshots in the cloud in case my system unexpectedly left the ghost. As it is, since I am in a CentOS installation without LVM, I am currently forced to make incremental Duplicacy backups of a selection of folders (/ etc, / home, / opt, / root, / srv, / usr , / var), as well as separate daily backup copies of my WordPress and Discourse sites, all of which are sent daily (or more) to the cloud. Although I have the documentation completely written with all the steps I would need to follow to rebuild my VPS, a complete recovery from the beginning is much more laborious than having to simply restore a snapshot. Before going officially live, I made a recovery from the beginning twice as a kind of self-inflicted fire drill to make sure it would work, but I would prefer to have an instant system solution. Thoughts and advice?

Note: I have crossed this request for help on Reddit here and here.

7 – How to use the view relationships to obtain reference data of the user's entity?

I created 2 new user fields for the user (object / entity) on my D7 site. Using views, I can select & # 39; content & # 39; or & # 39; user & # 39; to consult data. When I use the views to consult the & # 39; user & # 39 ;, the 2 new fields appear fine. However, when I select & # 39; content & # 39 ;, the 2 new fields are not there. This makes sense to me, since the 2 new fields are linked to the user's entity.

For my purposes, I need both the content and the user's data. The strange thing or the strange thing is that when I select & content; for my base and I use the relationships to find and extract the fields of the user's entity, SOME old custom fields created already linked to the User's Entity are present and I can select them, BUT my 2 new fields are not.

I tried to delete the caches and make sure I had active content with the 2 new fields enabled. So, why can I find in relationships, references of entities to old custom fields, but not my new fields that I created?

It feels like a trap 22. If I select a user, I have my new fields, but not the content, and vice versa.

7 – Edit a node through the entity reference using Rules


A custom user type, "Store Owner", has access to create / manage 2 types of content:

  1. Store (which includes a "Related Products" field)
  2. Product

When the user configures their account for the first time, they are instructed to configure their store. Then, the store is linked (using Rules) to the user-> own_store field.

All the above is working. This is where I encounter a problem:


Once the owner of a store already has a store created, they are asked to create nodes of the type "Product". I would like to use Rules to automatically assign the new Product to the "Related Products" of that store (an entity reference field with unlimited values).

In the rules, I can see "Set a data value" and, for the data selector, I can drill down to site: current user: field owned by the store: But inside the field store I only see the field of the body. I can not figure out how to reference and add to site: current user: field store: related products to add the node that the user just created.


If there is an easier way to do this without using Rules, I am also pleased to do so. But currently, the only other option I can think of is the creation of online entities, but I prefer not to take users to their Property store> Edit Page every time they want to add a new product node.

Installing ISPConfig3 in CentOS 7 … or No

Welcome to another type of LowEndBox tutorial. What started as a tutorial to install ISPConfig 3 on CentOS 7 has taken a drastic turn. Instead of explaining how you can install ISPConfig 3, let's dig deeper into what is included in this article and why do not writing an installation tutorial. But first, a little history.

Prehistoric times

In the mid-2000s, I worked at a small web hosting company in Reno, NV. These were the days before the VPS ruled the king. Virtualization was not yet the main one and the only way to put a server online was to build a server with real hardware and install Linux on it. Seeing the need for a budget-friendly way for people to have their own servers, our company took advantage of the obsolete hardware we had on hand and launched a new product: the Bargain Basement servers.

Truly, a low-end box, early 2006. Source:

Truly, a low-end box, early 2006. Source:

Instead of spending hundreds of dollars a month, we had servers for only $ 29 / month. The specifications were minimal, not much memory, rather weak CPUs and small hard drives. Sounds familiar? The parallels between those servers and what we cover here in LowEndBox can be clearly seen.

How does this relate to ISPConfig? I'm glad you asked! During that same period of time, there were not many commercial web control panels. Plesk and cPanel were establishing themselves. Interworx and DirectAdmin were new, and Virtualmin was still a very early version that was not on my radar.

I noticed ISPConfig when it came to the market in 2005. ISPConfig was simple, lightweight and seemed like a good option for our Bargain Basement servers. And for a time, it was. ISPConfig was good and I enjoyed using it and configuring it for the clients that requested it. However, the newer versions started to get too complicated and we stopped offering ISPConfig in favor of other software.

I left that company in 2008, and in the intervening years ISPConfig did not appear again. Now it's 2019, and the market is almost flooded With incredible web hosting control panel options. My task as a writer for LowEndBox was to examine ISPConfig 3 and help all of you learn how to stick to your LowEndBox server. But that is not what is being written here. What happened?

Digging in ISPConfig

In the old days, the software could be bought in a brick and mortar store where shelf shelves contained bright, colorful boxes with shrink-wrapped packages that usually cost a little money. A table showing the amount of CPU, RAM, and hard disk space needed to use the software was clearly printed somewhere in the box. If your system met the minimum requirements, I knew that the program would run. If your PC meets or exceeds the recommended requirements, then I knew it would be executed all right.

The old habits are hard, and to this day I'm still looking for the requirements for any software that I want to run, including ISPConfig. I also wanted to see the manuals of ISPConfig. The software is as good as its documentation!

I went to the official documentation page for ISPConfig:

I did not see any minimum requirements on the list, but I did see many installation tutorials for several platforms. I researched some of them, and the only minimum requirements found were "Linux and a fast Internet connection". This describes almost all web hosting control panels based on Linux on the planet.

I looked more closely at the various writings on ISPConfig: It requires that Linux be installed, a LAMP or LEMP stack, and more. A much More. This raises an important question: Would ISPConfig be a good option for a small server?

Without being discouraged

The disappointment in the documentation was not enough to stop the process. Was he looking in the wrong places? On the documentation site, a 400 page manual is sold for € 5 (approximately $ 6 USD). It aims to cover all the concepts behind ISPConfig, how to install and update it, and a reference for everything that is inside the administration control panel. Surely is It would contain the information he so desperately sought.

At that time, I had several questions in my mind: What if I wanted to reduce the installed software? ISPConfig could handle it if you did not install Postfix, Mailman, Jailkit, Webalizer, PureFTPd, mod_python, SpamAssassin, Postgrey, ClamAV … yes, it's a long list! Were they just a list of features to make it the "definitive" ISPConfig 3 server? Or were the requirements to make ISPConfig 3 work? I could not say.

And to overcome that issue for another time: one of the packages must be compiled from the source. This is a big red flag for me: my servers need to be updated through RPM or Apt. The software created by hand tends to be outdated due to laziness on my part. I want my server to run my sites, it is not necessary to compile my hands.

I decided that $ 6 was a small price to pay to finally unlock the secrets of ISPConfig. I bought the 400 page manual and downloaded your PDF. I started reading, excited to find all the treasures that until now had been hidden from the sight of dirty pagans who were too cheap to spend $ 6 on a written manual accurately.

Reality takes over, crushes

To fully understand what happened next, let me tell you a short story: When I was a teenager, I once exchanged hours and hours of work for a highly coveted piece of computer hardware: a 250 MB backup tape drive. Colorado. Finally, I could make backups without having to change the diskettes incessantly! I did the work, they gave me the disk. I connected it I made a backup. It seized and never worked again. It still bothers me until today! And even though I only spent $ 6 on this manual, the feelings of disappointment were familiar.

The nuts and bolts of ISPConfig remained a mystery. The minimum viable configuration was not included anywhere, and no amount of Google on the Internet has discovered anything definitive. But we are not the ones who throw in the towel. Who needs manuals, anyway?

Go ahead and forward!

This is how ISPConfig looks when you log in. Screenshot of

Do not fear, faithful reader! We were still decided to offer you an ISPConfig in CentOS 7 tutorial. We installed a new copy of CentOS 7 on our LowEndBox, copied our SSH keys and went to work. I decided to follow the documentation I could find, taking into account the need not to load the server too much. I blatantly discarded most of the software that I knew would get stuck in a small server, and installed ISPConfig 3.

After the installation, I was instructed to go to https: //[server-name-or-ip]: 8080 to log in I went there, but the page did not respond. I checked the server and nothing was running on port 8080. I tried to start Apache and it did not start. I had to correct a configuration error in a file (in this new installation). Only then would Apache begin. Tchicken ISPConfig administration panel loaded.

The towel is pulled in

Conventional web control panels are not exempt from security risks, but at least they run their administrative interface with a completely separate server daemon. ISPConfig, on the other hand, runs the administration control panel with the server's main Apache instance. This is definitely a lightweight, and I applaud that. But it introduces some serious commitments. If your Apache demon falls for some reason, your ability to manage your server is now limited If your control panel is not there when you need it, why do you have it?

It also means that you are running a website that contains the ability to manage your entire server in user space. This is further evidenced by the fact that some entrepreneur has created a WordPress plugin for ISPConfig that allows someone to create and delete email addresses and perform other administrative tasks directly from WordPress. I shudder to think what will happen when your WordPress site is compromised. Not that that always happens …

ISPConfig can be an excellent web control panel for many people, and I definitely appreciate the hard work that your developer has done. However, there are too many important problems. The lack of good documentation, the large number of functions and the reasons mentioned above mean that I can not recommend running ISPConfig on a server that you want to trust.

We may be passing ISPConfig, but we are not finished. There are more web control panel tutorials on the way. Be sure to come back soon!