racl101 + admin   67

iptables sometimes works inside container, sometimes not - docker 0.8.1 · Issue #4424 · moby/moby
In short, you need to use --cap-add=NET_ADMIN when you launch a Docker Image to be able to enable tools such as the ufw tool in say a Docker image running the Ubuntu . 16.04 image, for example.
github  forum  howto  run  docker  container  troubleshoot  fix  network  admin  capabilities  universal  firewall  ufw  example  guide  reference 
october 2018 by racl101
Ansible Install MySql 5.7 - Set Root User Password - Stack Overflow
This response explains a nuance for MySQL 5.7 whereby you can't log in as a root user with no password.

To change the password for a root user for the first time you have to do something like this:

- name: Check if '~/.my.cnf' exists
stat:
path: ~/.my.cnf
register: my_cnf_check

- name: Update MySQL root password for all root accounts
mysql_user:
name: root
host: "{{ item }}"
password: "{{ mysql_root_password }}"
state: present
check_implicit_admin: "{{ 'no' if my_cnf_check.stat.exists == True else 'yes' }}"
with_items:
- 127.0.0.1
- ::1
- localhost
become: "{{ 'no' if my_cnf_check.stat.exists == True else 'yes' }}"
become_method: sudo

- name: Create MySQL '~/.my.cnf' config file and add root credentials into it
template: src=templates/mysql_my.cnf.j2 dest=~/.my.cnf mode=0600
stackoverflow  ansible  mysql  mysql5.7  howto  example  guide  reference  update  root  user  password  my.cnf  sudo  admin 
july 2018 by racl101
How to load JavaScript in the WordPress admin
admin_head-{$my_settings_page}

Add new post page for example the above becomes

admin_head-post-new.php
blog  justin-tadlock  backend  scripts  admin  load  javascript  tutorial  howto  wordpress 
september 2012 by racl101
WordPress › Support » Media Library: Restricting users to see their pictures only
//Remove Media Library Tab
function remove_medialibrary_tab($tabs) {
if ( !current_user_can( 'administrator' ) ) {
unset($tabs['library']);
return $tabs;
}
else
{
return $tabs;
}
}
add_filter('media_upload_tabs','remove_medialibrary_tab');
tutorial  dashboard  admin  tab  media  remove  howto  wordpress 
august 2012 by racl101
Howto: Linux server change or setup the timezone
tzconfig is deprecated, use without “dpkg-reconfigure tzdata”
setup  ubuntu  admin  server  blog  tutorial  howto  tz  tzconfig  timezone  linux 
april 2012 by racl101

related tags

admin  adminbar  administration  administrative  administrator  admin_print_scripts  advice  alert  ansible  apache  APi  app  apple  archive  authentication  backend  bar  beanstalk  beanstalkd  blog  Bootstrap  Bootstrap3  capabilities  Caveats  change  client  codeigniter  Codetuts  commands  config  configuration  configure  console  constituent  contact  container  containers  control  core  coreutils  create  crm  css  csv  custom  custom-post-type  customization  customize  dashboard  dashgum  database  dbadmin  debugging  design  developer  development  disable  docker  documentation  domain  download  dzone  edit  ee2  email  enable  example  examples  excerpts  exit  explanation  expressionengine  File  firewall  fix  flat  force  form  forum  forwarding  free  fuelphp  function  getting  gettingstarted  git  github  gitosis  gnu  Google  Googleapps  guide  hierarchy  hook  hosting  howto  htaccess  interface  introduction  item  java  javascript  JQuery  justin-tadlock  key  linux  list  load  loading  login  macosx  manage  management  manager  managing  media  mediatemple  menu  meta  mt  mtmw  my.cnf  mysql  mysql5.7  mysqladmin  neon  neoncrm  nettuts  network  opensource  optimization  options  ordering  oreilly  osx  output  overflow  page  pages  pagodabox  pagodaboxv2  panel  password  passwordless  php  phpmyadmin  plugin  plugin-development  plugins  pointers  port  portal  post  programming  reference  remove  repository  roles  root  run  runtime  school  scripts  secondary  secure  security  server  servers  Services  settings  setup  shopify  show_admin_bar  site  smashing  smashingmag  social  Speed  ssh  stack  stackexchange  stackoverflow  startbootstrap  started  style  stylesheets  sudo  suggestions  sysadmin  system  tab  tables  template  thank  theme  theme-development  themes  timezone  tips  tolearn  tomcat  tool  toolbar  tools  tooltips  toread  totry  tounderstand  trial  troubleshoot  tutorial  tutorials  type  tz  tzconfig  ubuntu  ufw  UI  universal  unix  update  user  utilities  vulnerabilities  web  webapp  webdev  webserver  wordpress  wordpress.stackexchange  wp  wpadmin  you 

Copy this bookmark:



description:


tags: