ubuntu 18.04 에서 drop_caches 가 제대로 안될경우


cd /etc/cron.hourly

vi drop_cache


#!/bin/sh

echo "3" > /proc/sys/vm/drop_caches


chmod 700 drop_cache

블로그 이미지

용병

,

시작 후 F6 Advanced Mode 에서 nomodeset 체크 후 실행


/etc/default/grub 에서

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

로 수정

# update-grub

실행

'시스템, 서버 > 리눅스' 카테고리의 다른 글

ubuntu 18.04 drop_cache  (0) 2018.06.20
우분투 gitlab 삭제  (0) 2017.01.26
콘솔 모니터링 모음  (0) 2017.01.26
gitlab uninstall / remove  (0) 2017.01.13
NVIDIA nFORCE onboard lan card driver on Centos  (0) 2009.01.29
블로그 이미지

용병

,

gitlab-ctl cleanse

gitlab-ctl uninstall

apt-get remove gitlab-ce / apt-get purge gitlab-ce

블로그 이미지

용병

,

1. saidar

apt-get install saidar

saidar -c -d 1



2. htop
apt-get install htop
htop



3. vnstat

apt-get install vnstat

vnstat -u -i eth0 // db 생성

vnstat -l -i eth0 // 실시간 모니터링

vnstat // 보기



4. glances

apt-get install pip

pip install glances


or


apt-get install glances ???


https://github.com/nicolargo/glances

setup : http://www.tecmint.com/glances-an-advanced-real-time-system-monitoring-tool-for-linux/



블로그 이미지

용병

,

sudo gitlab-ctl stop

sudo gitlab-ctl uninstall


# Debian/Ubuntu

sudo dpkg -r gitlab


# Redhat/Centos

sudo rpm -e gitlab

'시스템, 서버 > 리눅스' 카테고리의 다른 글

우분투 gitlab 삭제  (0) 2017.01.26
콘솔 모니터링 모음  (0) 2017.01.26
NVIDIA nFORCE onboard lan card driver on Centos  (0) 2009.01.29
ffmpeg - avi to flv & mpg to flv  (0) 2007.11.28
mencoder - avi to flv  (0) 2007.11.28
블로그 이미지

용병

,
1. driver download : http://www.nvidia.com/object/linux_nforce_archive.html (1.25)

2. Unzip and install RPM for RHEL5_U1

3. cp /lib/modules/2.6.18-53.el5/kernel/drivers/net /lib/modules/2.6.18-92.1.18.el5/kernel/drivers/net/

4. vi /etc/modprobe.conf
alias eth0 forcedeth

5. rmmod forcedeth

6. Install module
insmod /lib/modules/2.6.18-92.1.18.el5/kernel/drivers/net/forcedeth.ko msi=0 msix=0 dma_64bit=0

'시스템, 서버 > 리눅스' 카테고리의 다른 글

콘솔 모니터링 모음  (0) 2017.01.26
gitlab uninstall / remove  (0) 2017.01.13
ffmpeg - avi to flv & mpg to flv  (0) 2007.11.28
mencoder - avi to flv  (0) 2007.11.28
ffmpeg 이용 avi thumbnail 만들기  (0) 2007.11.28
블로그 이미지

용병

,
ffmpeg -y  -i sample.avi -threads 2 -s 320x240 -r 30.00 -threads 1 -pix_fmt yuv420p  -g 300  -qmin 3  -b 512k -async 50  -ar 11025 -ac 1 -ab 16k outputfile.flv


ffmpeg -y  -i sample.avi -threads 2 -s 320x240 -r 29.97 -threads 1 -pix_fmt yuv420p  -g 300  -qmin 3  -b 512k -async 50  -ar 44100 -ac 2 -ab 128k outputfile.flv

  • -y: Overwrite output files
  • -i ‘inputfile.avi’: Input filename
  • -threads 2: Thread count
  • -s 320×240: Set frame size
  • -r 30.00: Set frame rate (fps)
  • -threads 1: Thread count (again)
  • -pix_fmt yuv420p: Set pixel format
  • -g 300: Set the group of pictures size
  • -qmin 3: minimum video quantizer scale (VBR)
  • -b 512k: Set the video bitrate in bits/s
  • -async 50: Audio sync method. “Stretches/squeezes” the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed.
  • -acodec mp3: Force audio codec to codec
  • -ar 11025: Set the audio sampling frequency
  • -ac 1: Set the number of audio channels
  • -ab 16k: Set the audio bitrate in bits/s
  • outputfile.flv: Is the outputfile


from : http://www.victorcastelan.net/convert-avi-mpeg-files-to-flv-with-ffmpeg/

'시스템, 서버 > 리눅스' 카테고리의 다른 글

gitlab uninstall / remove  (0) 2017.01.13
NVIDIA nFORCE onboard lan card driver on Centos  (0) 2009.01.29
mencoder - avi to flv  (0) 2007.11.28
ffmpeg 이용 avi thumbnail 만들기  (0) 2007.11.28
php 5.2.5  (0) 2007.11.28
블로그 이미지

용병

,
mencoder sample.avi -o test.flv -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -lavfopts  i_certify_that_my_video_stream_does_not_use_b_frames
블로그 이미지

용병

,
ffmpeg -y -i sample.avi -vframes 1 -ss 00:00:02 -an -vcodec png -f rawvideo -s 320x240 sample.png

'시스템, 서버 > 리눅스' 카테고리의 다른 글

ffmpeg - avi to flv & mpg to flv  (0) 2007.11.28
mencoder - avi to flv  (0) 2007.11.28
php 5.2.5  (0) 2007.11.28
php에 module 설치시 executor_globals 에러 관련  (0) 2007.11.28
mod_suid2 사용  (0) 2007.06.27
블로그 이미지

용병

,
아래 ./configure 옵션 변경 또는 사라짐

--enable-gd-imgstrttf
--enable-versioning
--enable-url-includes
--with-jpeg
--with-png
--with-xml
--with-mod-charset
--with-language=korean
--with-charset=utf-8
--with-dom=/usr/local/libxml
--with-mod_charset
--enable-module=so
--enable-url-fopen-wrapper=yes
--enable-mailparse
--enable-trans-sid
--enable-mbstr-enc-trans
--enable-memory-limit
--with-tiff-dir=/usr
--with-expat-dir=/usr
--enable-track-vars=yes
블로그 이미지

용병

,