php 7.3 설치

Install PHP 7.3 on CentOS, RHEL or Fedora Fedora 29 wget http://rpms.remirepo.net/fedora/remi-release-29.rpm dnf install remi-release-29.rpm Fedora 28 wget http://rpms.remirepo.net/fedora/remi-release-28.rpm dnf install remi-release-28.rpm RHEL version 8.0 Beta wget http://rpms.remirepo.net/enterprise/remi-release-8.rpm rpm -Uvh remi-release-8.rpm RHEL version 7.6 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm subscription-manager repos –enable=rhel-7-server-optional-rpms RHEL version 6.10 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm 더보기…

wordpress 폴더권한 문제

Unable to open primary script: …….. 1. wp-permission.sh #!/bin/bash # # This script configures WordPress file permissions based on recommendations # from http://codex.wordpress.org/Hardening_WordPress#File_permissions # # Author: Michael Conigliaro # WP_OWNER=user1 # <– wordpress owner WP_GROUP=user1 # <– wordpress group WP_ROOT=/home/user1/wordpress # <– wordpress root directory WS_GROUP=nginx # <– webserver group 더보기…

ROS – Devian Installation ( Tested on Stretch)

http://wiki.ros.org/Debian/Installation/Source #!/usr/bin/env bash DISTRO=vivid ## the basic tools from ROS’s Ubuntu Vivid Distribution ## also work with Debian Stretch ## http://wiki.ros.org/jade/Installation/Ubuntu#Installation.2BAC8-Ubuntu.2BAC8-Sources.Setup_your_sources.list sudo -E apt-key adv –keyserver hkp://ha.pool.sks-keyservers.net:80 –recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 sudo sh -c “echo \”deb http://packages.ros.org/ros/ubuntu $DISTRO main\” > /etc/apt/sources.list.d/ros-latest.list” sudo apt-get update sudo apt-get install cmake python-nose libgtest-dev ## needed 더보기…

mysql DB별 백업 하기

mysql DB 별 백업하기 mysql_config_editor 를 이용하여 접속정보를 저장한다. shell> mysql_config_editor set –login-path=root_login –host=localhost –user=root –password Enter password: [비밀번호입력] 백업 스크립트 생성 shell > vi mysql_backup.sh #!/bin/bash backup_dir=”/root/backup/mysql” rm -f $backup_dir/*.sql db_list=`mysql –login-path=root_login -e “show databases” | tail -n+2`; for db_name in $db_list; do if [ “$db_name” != “information_schema” -a 더보기…