IPP and Airprint shared printer on CentOS Linux

yum install cups -y
yum install foomatic* -y
yum install avahi avahi-tools -y

systemctl enable cups
 systemctl enable avahi-daemon
 systemctl start cups
 systemctl start avahi-daemon

after each change in configuration, restart both of them using

systemctl restart cups
 systemctl restart avahi-daemon

lynx localhost:631  – allow from remote, then from your computer go to prinserver:631 and configure cups via web gui.

If you can’t see the printer from IOS or OSX, check /etc/avahi/services if a proper .service file was created,

if not, use the python generator from here:

https://raw.github.com/tjfontaine/airprint-generate/master/airprint-generate.py

In order to use bonjour/airprint from Windows machines, install first

https://support.apple.com/kb/dl999?locale=en_GB

https://support.apple.com/kb/dl999?locale=en_GB

https://support.apple.com/kb/dl999?locale=en_GB

https://wiki.archlinux.org/index.php/Avahi

https://support.apple.com/kb/dl999?locale=en_GB

Handbrake Recipe

Again, a personal recipe, no questions asked

WORKFLOW:
profile ipad + CBR 2000 double pas
anamorphic none
1280×720 @2000

Join files:

Create a list.txt with the following content:
file ‘c:\TEST\1.mp4’
file ‘c:\TEST\2.mp4’
file ‘c:\TEST\3.mp4’
Run in CLI:
ffmpeg -f concat -i list.txt -codec copy out.mkv

mov > mp4 vlc not play in wmp

CentOS 7 root password reset

If we have a CentOS 7 or Red Hat Enterprise Linux (RHEL 7) with a selinux in enforced mode, the password resetting procedure need to be modified.

  • From the Grub menu type “e” in order to edit the default menu item.
  • Find the line that starts with “linux16”. At the end of this line append the text “rd.break”
  • touch /.autorelabel
  • Type exit once
  • type reboot

TIPIT INFO RELOADED

In more than 5 years of existence, this website was constantly upgraded as back-end software (WordPress) and as a content. Subsequently updates of WordPress engine left some bugs in the admin area over the time. Even after I erased full website, except the content and database, I was unable to make it work properly the visual editor.

Given that 70% of posts are in Romanian and most of them obsolete, I do not want to have headaches with restoring backup and cleaning obsolete posts.

I will try in the future to re post the most interesting ones from archive.

You can have as a reference the archive.org webpage:

http://wayback.archive.org/web/*/http://www.tipit.info

Here You can find snapshots of the past 5 years.

Because I’m not living anymore in Romania, 99% of the content will be published in English or French.

The mission of this website will be the same: to share the knowledge in a simple way: offering tips, tricks and how-to.

Almost all recipes are personally tested, but this is not a guarantee that will work in Your particular case.

Update:

I recovered 90% of the old website.

It will be available at http://archives.tipit.info/