Skip to main content

Posts

wget https://download.anydesk.com/linux/rhel7/anydesk-2.9.5-1.el7.x86_64.rpm yum localinstall anydesk-2.9.5-1.el7.x86_64.rpm

How to install Google Chrome on CentOS 7

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm sudo yum localinstall google-chrome-stable_current_x86_64.rpm sudo yum upgrade google-chrome-stable wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm sudo yum localinstall google-chrome-stable_current_x86_64.rpm google-chrome & sudo yum update sudo yum upgrade google-chrome-stable if you root google-chrome --no-sandbox --user-data-dir

List of cities in Australia States

*** Adelaide *** Albany Albury Alice Springs Ballarat Ballina Bathurst *** Brisbane *** Broome Bunbury Bundaberg Burnie Byron Bay *** Cairns *** Canberra Coffs Harbour Darwin Devonport Dubbo Gladstone *** Gold Coast*** Gosford Greater Bendigo *** Greater Geelong *** Greater Geraldton Greater Shepparton Hervey Bay Hobart Kalgoorlie Launceston Lismore Mackay Maitland *** Mandurah*** Maryborough *** Melbourne*** Mildura Mount Gambier Mount Isa *** Newcastle *** Orange *** Perth*** Port Macquarie Queanbeyan Rockhampton Rockingham Sunbury *** Sunshine Coast*** *** Sydney*** Tamworth Toowoomba *** Townsville*** Traralgon Tweed Heads Wagga Wagga Warrnambool Whyalla Wodonga Wollongong *** *** States*** *** Australian Capital Territory New South Wales Northern Territory Queensland South Australia Tasmania Victoria Western Australia

How to Centos Configure Services

Display services list like follows When you send this command command ssh: chkconfig --list You can all services list on ssh display If you want to stop some service You need to send this command on ssh command ssh: /etc/init.d/ service-name  stop command ssh: chkconfig service-name off

Postfix delete all queued messages Customize domain Scripts

postfix-delete.pl script Following script deletes all mail from the mailq which matches the regular expression specified as the first argument Create a file on this location /usr/local/psa/bin #!/usr/bin/perl $REGEXP = shift || die "no email-adress given (regexp-style, e.g. bl.*\@yahoo.com)!"; @data = qx</usr/sbin/postqueue -p>; for (@data) {   if (/^(\w+)(\*|\!)?\s/) {      $queue_id = $1;   }   if($queue_id) {     if (/$REGEXP/i) {       $Q{$queue_id} = 1;       $queue_id = "";     }   } } #open(POSTSUPER,"|cat") || die "couldn't open postsuper" ; open(POSTSUPER,"|postsuper -d -") || die "couldn't open postsuper" ; foreach (keys %Q) {   print POSTSUPER "$_\n"; }; close(POSTSUPER);