iOS downgrade
다운그레이드 방법
프로그래밍 설계방법론
[AutoCAD]Explode(command)
Definition : Breaks a compound object into its component objects.
Fisheye projection
[ubuntu]How to check my System Specifications
[Problem]
How do I check my system specifications(or hardware configuration)?
[Solution]
– Use lshw(list hardware) as a root
1 |
$sudo lshw |
– Install it if needed
1 |
$sudo apt-get install lshw |
– If you want to see it on the web page
1 |
$sudo lshw -html > myspecs.html |
[Reference]
http://manpages.ubuntu.com/manpages/precise/man1/lshw.1.html
http://askubuntu.com/questions/55609/how-do-i-check-system-specifications
[wp]backWPup Error
- Problem 1
ERROR: ZipArchive returns status: Seek error: Invalid argument
- Guess 1
On 32bit system, you can’t generate ZIP files larger than 2GB.
(source https://bugs.php.net/bug.php?id=53587) - Solution 1
Zip to TAR - Problem 2
ERROR: If /home/www/mchangho/wp-content/uploads/1/1065465563.pdf will be added to your backup archive, the archive will be too large for operations with this PHP Version. You might want to consider splitting the backup job in multiple jobs with less files each.
우분투 보안 설정
Security patch for Apache
#추가 보안패치. (.git, .svn, .env 등 dot로 시작하는 파일 및 폴더 보호, Web Access가 되어서는 안될 파일들의 접근 제어)
1 |
$sudo vi /etc/apache2/apache2.conf |
파일 중간의 <FilesMatch “^\.ht”> 구문 다음에 추가한다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# deny file, folder start with dot <DirectoryMatch "^\.|\/\."> Require all denied </DirectoryMatch> # deny (log file, binary, certificate, shell script, sql dump file) access. <FilesMatch "\.(log|binary|pem|enc|crt|conf|sql|sh)$"> Require all denied </FilesMatch> # deny access. <FilesMatch "(pp_cli|pp_cli_x64|LICENSE|README\.md|composer\.json|COPYRIGHT|CONTRIBUTING\.md|LICENSE\.txt)$"> Require all denied </FilesMatch> |
[Reference]
https://blog.lael.be/post/73