racl101 + server   482

Uploading Files With VueJS and Axios - Server Side Up
This actually worked well. It shows how to create a form with a file upload field and submit it via ajax (using Axios.js) library and how to handle, or receive the file upload on the server using Laravel (PHP framework.)
blog  tutorial  howto  example  create  form  file  upload  vuejs  vue2  vue  multipart  html5  ajax  axios  javascript  guide  reference  laravel  php  server 
6 weeks ago by racl101
docker - Dockerized nginx is not starting - Stack Overflow
Docker container runs as long as the command you specify with CMD, ENTRTYPOINT or through the command line is running. In your case the service command finishes right away and the whole container is shut down.

One way to fix this is to start nginx directly from the command line (make sure you don't run it as a daemon).
stackoverflow  howto  troubleshoot  nginx  image  container  server  not  starting  fix  issue  daemon  CMD  ENTRYPOINT  configuration  command  example  guide  reference 
december 2018 by racl101
How to upload a generic file into a Jenkins job? - Stack Overflow
Use the file parameter to be able to provide an upload, such as an Ant build.xml, on every build.
howto  example  stackoverflow  upload  file  build  build.xml  buildfile  ant  jenkins  server  parameterized  configuration  setting  guide  reference 
november 2018 by racl101
css - Programmatically creating PDF from webpage - Stack Overflow
I wrote a Stackoverflow response to the problem of creating PDFs programmatically. After trying out Browsershot, Puppeteer and Chrome / Chromium headless browser solution on Laravel and seeing it work. This came after being frustrated with trying to install / run wkhtmltopdf on Ubuntu 18.04.
stackoverflow  howto  example  guider  reference  suggestion  render  pdf  programmatically  server  side  php  php7  browsershot  laravel  laravel5  ubuntu  ubuntu18.04  puppeteer  chrome  chromium  headless  browser  totry  tolearn  tounderstand 
november 2018 by racl101
Installing MySQL (with Debconf) | Servers for Hackers
TLDR:

echo mysql-server mysql-server/root_password password root | debconf-set-selections;\
echo mysql-server mysql-server/root_password_again password root | debconf-set-selections;\
apt-get install -y mysql-server mysql-client libmysqlclient-dev

So that you don't have install mysql server interactively and can set the root password programmatically.


Works for installing MySQL 5.7 on Ubuntu 16.04 as well.
blog  tutorial  screencast  video  howto  install  mysql  mysql5.7  server  debian  configuration  root  password  programmatically  ubuntu  ubuntu16.04  script  bash  shell  example  guide  reference 
october 2018 by racl101
Connecting to a mysql running on a Docker container · Issue #95 · docker-library/mysql
Frankly, this forum page has no consensus on a solution to this issue. Nevertheless, what worked for me on my set up with running MacOS as the Docker host and running a container with: Ubuntu 16.04 and MySQL 5.7 is the following:

1) Within the container: change in /etc/mysql/mysql.conf.d/mysqld.cnf the bind-address option from 127.0.0.1 to 0.0.0.0
2) Restart MySQL server (note that whenever you start MySQL you must use this command in the Dockerfile:

RUN sed -i -e"s/^bind-address\s*=\s*127.0.0.1/bind-address = 0.0.0.0/" /etc/mysql/mysql.conf.d/mysqld.cnf
RUN find /var/lib/mysql -type f -exec touch {} \; && service mysql start

That is, you must touch the files in /var/lib/mysql and then start the server with service command and not systemctl.

Next, create a user separate from root e.g. dev_1, in MySQL and given them privileges to their '0.0.0.0' and '%' hosts. Like this in the Dockerfile:

RUN find /var/lib/mysql -type f -exec touch {} \; && service mysql start && mysql -uroot -proot mysql -e "GRANT ALL ON *.* TO root@'0.0.0.0' IDENTIFIED BY 'secret' WITH GRANT OPTION; CREATE USER 'dev_1'@'0.0.0.0' IDENTIFIED BY 'secret'; GRANT ALL ON *.* TO 'dev_1'@'0.0.0.0' IDENTIFIED BY 'secret' WITH GRANT OPTION; GRANT ALL ON *.* TO 'dev_1'@'%' IDENTIFIED BY 'secret' WITH GRANT OPTION; FLUSH PRIVILEGES;"

Then when you start the container you must publish the port number like so:

docker run -t -d -p 4406:3306 ubuntu_16_04_lemp_php_7_2:latest

If your container stops prematurely, then you might want to add a CMD line in your docker file to run a start.sh script and within that script you might want to add something like this:

# stupid hack to keep container from being stopped
tail -f /dev/null

Finally, to connect to your DB instance on your local MacOS machine with an app like Sequel Pro for example, use the following credentials:

Host: 0.0.0.0
Username: dev_1
Password: <dev_1_password>
Port: 4406

If you don't like to use port 4406, try 3307, 3308, 3309.
github  forum  howto  example  troubleshoot  mysql  server  docker  host  connection  issue  sequel  pro  mariadb  client  hostname  docker-machine  ip  address  ipaddress  guide  reference  toread  tolearn  totry  tounderstand  image  port  detached  database  credentials 
october 2018 by racl101
Learn Docker in 12 Minutes 🐳 - YouTube
Pretty decent tutorial introducing how to do something in Docker.
youtube  screencast  video  guide  reference  learn  learning  docker  container  web  server  apache  php  script  deployment 
october 2018 by racl101
PHP and WordPress Hosting on DigitalOcean - ServerPilot
This service looks promising for hosting PHP projects like WordPress and Laravel in that it looks like it has very modern software stack, and yet, might be wasy enough for someone like Erick to use.
hosting  monitoring  service  server  php  wordpress  laravel  totry  tolearn  tounderstand 
august 2018 by racl101
MySQL :: MySQL 5.7 Reference Manual :: 4.2.6 Using Option Files
Check out the table under the heading: "Option Files Read on Unix and Unix-Like Systems" to see where (and in what order) MySQL checks for options.

Of specific importance for logging in passwordless, at least with Ansible, is the ~/.my.cnf file.
mysql  server  config  documentation  guide  reference  my.cnf  user  howto  example  toread  tolearn  totry  tounderstand 
july 2018 by racl101
How to Run Sites Securely with Apache and Php-fpm on Ubuntu 16.04 LTS |
What's good about this blog post is that it demonstrates how to do it with PHP-FPM, Ubuntu 16.04 and Apache which is a rare combination these days.
blog  tutorial  howto  set  configure  php-fpm  ubuntu  ubuntu16.04  pool  user  apache  server  process  virtual  hosts  example  guide  reference 
july 2018 by racl101
vue-tables-2 - npm
This is a great and easy to use VueJS 2 library / component to create an HTML table in the style of the jQuery DataTables plugin and supports the following:

- Searching / Filtering (for all rows in table with one text field filter or individually for any column via text field filter)
- Dropdown Filtering (for an individual column)
- Ordering
- Loading data through Ajax from an API (and it has a convenient Laravel server example to implement searching /filtering and pagination)
github  project  vuejs  vue2  vue  data  table  datatable  component  library  ajax  searching  ordering  filtering  laravel  server  side  php  laravel5  implementation  documentation  npm  repository 
july 2018 by racl101
« earlier      
per page:    204080120160

related tags

$_env  $_server  $_SERVER['PHP_SELF']  2.0  9.10  10.7  16.04  A-record  a2enmod  a2ensite  access  ACCESS_log  account  activecollab  adb  add  address  addresses  admin  administration  administrator  adobe  advice  airport  ajax  allow  alternate  amazon  amazonlinux  amazonlinux2  ami  analyze  analyzer  android  android-debug-bridge  angularjs  ansible  ant  apache  apache-1.3  apache-2  apache2  Apached  api  app  apple  apple.stackexchange  Application  apt  apt-get  as  askubuntu  atlassian  attempts  audio  authentication  authority  automatic  automation  aux  available  avoid  away  aws  Awstats  axios  backbonejs  background  backup  balancer  Bamboo  bash  basic  beanstalk  beanstalkd  become  being  benchmark  best  bestpractices  binary  bit  bitbucket  bitnami  Blacklist  blank  block  blocks  blog  book  browser  browsershot  build  build.xml  buildfile  bytes  caddy  calculator  capistrano  caveat  caveats  centos  certificate  cgi  cgi.fix_pathinfo  change  check  chrome  chromium  ci  class  classic  classified  clear  cli  client  cloud  cloudcomputing  cloudserver  CMD  code  codec  codes  column  command  commandline  community  comparison  compile  compliance  component  compression  computer  computing  conf  conf.d  config  configuration  configurations  configure  connect  connection  connections  container  context  continuous  continuous-integration  continuousintegration  continuousintegreation  control  convert  cookie  coolestguideontheplanet  coolestguyontheplanet  copy  copying  cordova  core  cors  Cost  count  cpu  create  creation  credentials  CRon  cronjob  cross  csr  curated  curl  customer  cyberciti  daemon  data  database  datatable  datatables  date  deb  debconf  debian  debug  decimal  default  definitive  delete  delimiter  deploy  deployment  descriptors  desktop  detached  determine  dev  development  device  Devise  devops  devtools  dhcp  difference  different  digital  digitalocean  digitialocean  directive  directives  directory  disable  disallow  discussion  distribution  distro  diy  dkim  dns  docker  docker-machine  dockerfile  documentation  domain  domains  dotenv  double  download  dreamhost  drop  drupal  dummies  dump  duplicate  dyndns  dzone  EADDRINUSE  easycron  ec2  eclipse  ee2  elastic  elasticsearch  elb  eloquent  email  empty  enable  enabled  enabling  engine  entries  ENTRYPOINT  env  environment  envoy  error  error_log  evaluation  example  examples  exaplanation  exception  exec  execute  execution  exit  explanation  export  expression  expressionengine  expressions  extension  external  fail  failure  faq  fastcgi  features  ffmpeg  field  file  filemaker  filemaker-server  files  filesystem  filter  filtering  find  Fineuploader  firewall  fix  flags  float  for  force  force-download  fordummies  Forge  form  format  formats  forum  forums  forwarding  Fqdn  framework  free  ftp  full  fullcalendar  functionality  gateway  gearman  gem  generate  generator  get  gethostname  gettingstarted  Gist  git  git-book  gitbook  github  gitosis  global  Gmail  godaddy  gone  google  gotcha  gravityforms  grep  grid  group  gui  guid  guide  guideline  guider  gzip  hackers  handle  handler  handles  hard  hardware  header  headers  headless  health  help  help.ubuntu  heroku  home  homeserver  homestead  host  hosting  hostname  hosts  how  howto  howtoforge  hp  hsts  htaccess  html  html5  htop  http  http2  httpd  https  hub  hudson  icmp  ide  identified  ids  if  iis  iis6  image  imap  implement  implementation  import  inbound  incoming  increase  indexes  information  ini  init  initial  INplace  input  inspect  install  installation  installed  instance  instances  integration  integretation  interesting  interface  internet  interpret  invoiceninja  ip  ipaddress  ips  iptables  ipv4  ipv6  isapi  isapi_rewrite  issue  java  javascript  jenkins  jenkins-cli.jar  JQuery  json  jsonp  junit  kb  keepalive  key  keys  kill  knowledgebase  lamp  languages  laracasts  laravel  laravel4  laravel5  Laravel5.3  laravel5.5  large  learn  learning  lemp  leopard  less  letsencrypt  level  levels  library  lightsail  lighttpd  lime  limesurvey  limit  limitrequestfieldsize  limits  link  linux  lion  list  listing  litespeed  load  local  localhost  location  log  logfile  logging  login  logout  lookup  lsof  mac  machine  macos  macosx  macosx10.6  macosx10.7  macosx10.10  macox  mail  mail_server  main  man  manage  management  manager  manpage  manpages  manual  manually  map  mapping  mariadb  marketplace  master  max  maximum  max_children  max_connections  max_input_vars  mcrypt  Measure  media  mediaserver  mediatemple  media_temple  medium  memcached  memory  meritcore  message  messaging  Meteor  Method  microcaching  microservices  migrate  migrating  migration  mime  mimetypes  minimum  modrewrite  module  mod_rails  mod_rewrite  mod_security  monitoring  mountain  mountainlion  move  movies  moving  mt  multipart  my.cnf  mysql  Mysql2  mysql5.7  mysqladmin  mysqldump  Mysqlslap  name  nas  net-ssh  netssh  nettuts  network  networking  new  newrelic  nextgen  nginx  nixcraft  no-www  node  node.js  nodejs  not  notes  nova  npm  number  numbers  numeric  nvarchar  oauth2  obfuscate  obtain  ocean  of  opcache  open  openid  opensource  openssl  open_files_limit  optimization  option  options  ordering  oreilly  origin  os  osx  out  outgoing  output  override  overrun  ownership  package  page  pagoda  pagodabox  pam  panel  parameterized  passenger  Passphrase  passport  password  password-protect  passwordless  pdf  pear  pem  per  perch  performance  permisions  permission  permissions  personal  phonegap  php  php-fpm  php.ini  php5  php5.6  php7  phpinfo  phpmyadmin  phpstorm  PHusion  pid  ping  pitfalls  playbook  plist  Plugin  pm  POdio  policy  pool  pools  pop3  popular  port  ports  post  postfix  postgres  postgresql  postmark  postmarkapp  pow  practice  practices  precision  preload  prettylinks  pricing  private  privileges  pro  probe  process  processes  processing  product  production  program  programmatically  programming  project  protect  protocol  protocols  proxy  ps  ps3  psql  public  publickey  puppeteer  put  python  python2.7  query  questions  queue  quit  Rackscpace  rackspace  rackspacecloud  raid  rails  Rails4  rake  ransomware  rapissl  rate  rbenv  rc  rds  read  reboot  rebranding  records  recover  red5  redcap  redirect  redis  reference  refused  regex  regular  Reload  remote  Remotely  remove  render  rendering  repository  request  requests  requirement  requirements  reset  resolution  resolve  resource  response  REST  restart  restarting  RESTful  restore  reverse  revoke  rewrite  robots  robots.txt  roles  root  ror  router  routing  RScloud  rsync  ruby  rubyonrails  rule  run  runcloud.io  runner  running  runtime  s3  safari  samba  sar  Scale  scaling  scm  scp  screencast  script  scripts  search  searching  secure  security  security.stackexchange  selenium  self  Selfhosted  sender  sendmail  seo  separate  sequel  serve  server  serverfault  serverless  servers  serverside  server_name  service  services  set  setting  settings  setup  sftp  sgid  sharing  shell  shut-down  shutdown  side  siege  sierra  signed  signing  single  Site  SIte  sitepoint  sites  slow  smtp  snowleopard  social  soft  Softwar  software  source  spam  specify  specs  speed  spf  sql  sqlit3  sqlite  sqlserver  ssh  ssh-keygen  ssl  Ssmtp  stack  stackexchange  stackoverflow  staging  start  starting  statement  static  status  sticky  stop  stopping  storage  stream  streaming  strict  strings  structure  SU  subdomain  subversion  sudo  suggestion  suid  superuser  Supervisor  Supervisord  support  survey  svn  symbolic  symfony  symlink  synchronization  syntax  sysadmin  system  table  tables  tags  task  tcp  tdd  technology  templates  temple  temporary  Terminal  test  testing  thegeekstuff  Thread  threads  time  timeout  timezone  tip  tips  tls  tolean  tolearn  tool  tools  top  toread  totory  totry  touch  tounderstand  traffic  transport  trick  troubleshoot  troubleshooting  troubleshot  trust  try_files  turoial  tutorial  tweaks  type  types  tz  tzconfig  ubunt16.04  ubuntu  ubuntu12.04  ubuntu14.04  ubuntu16.04  ubuntu18.04  ufw  ulimit  understand  unicode  unicorn  uninstall  unit  university  unix  Unix.stackexchange  unixcraft  unknown  unlink  unobfuscate  unzip  up  update  updates  upgrade  upload  uploads  upstream  urlrewrite  use  user  username  users  user_agent  utility  vagrant  value  varchar  variable  variables  vcs  verify  version  versioncontrol  vhost  video  virtual  virtualhost  virtualhosts  virtualization  vista  visual  vnc  vpn  vps  vsftpd  vue  vue2  vuejs  vuetables2  wd  web  web2.0  webdev  webhosting  webpage  webrick  webroot  webserver  webservice  website  westerndigital  wget  whs  wiki  windows  within  without  wizard  wordpress  work  workaround  worker  worker_rlimit_nofile  workgroup  works  wpengine  write  writeable  wsgi  www  www-data  x  Xcode  xdebug  xen  yosemite  youtube  zip  zone 

Copy this bookmark:



description:


tags: