본문 바로가기

전체 글

(72)
pcre.h: No such file or directory CC (gcc) [M dialplan.so] dialplan.oIn file included from dialplan.c:59:dialplan.h:33:18: warning: pcre.h: No such file or directoryIn file included from dialplan.c:59:dialplan.h:54: error: expected specifier-qualifier-list before ‘pcre’dialplan.h:102: error: expected declaration specifiers or ‘...’ before ‘pcre’ solution yum install pcre-devel
ubuntu hostname 변경. vi /etc/hostnamehostname vi /etc/hostshostname reboot
pjsua ubuntu에서 컴파일 하기. ubuntu 에서 pjsip python 모듈 컴파일시 -fPIC 에러가 뜨는데 아래와 같이 하면 정상 동작. sudo apt-get update sudo apt-get -y install build-essential python-dev libpjsua2 libssl-dev libasound2-dev wget http://www.pjsip.org/release/2.7.2/pjproject-2.7.2.tar.bz2 tar -xf pjproject-2.7.2.tar.bz2 && cd pjproject-2.7.2/ export CFLAGS="$CFLAGS -fPIC" ./configure && make dep && make cd pjsip-apps/src/python/ sudo python setup.py i..
OpenIMS 설치 (ubuntu) 1. 필요패키지 설치 apt-get updateapt-get install subversionapt-get install antapt-get install openjdk-7-jdkapt-get install makeapt-get install gccapt-get install mysql-server-5.5apt-get install libcurl4-gnutls-devapt-get install bisonapt-get install curlapt-get install debhelper cdbs lintian build-essential fakeroot devscripts pbuilder dh-make debootstrap dpatch flex libxml2-dev libmysqlclient15-dev an..
Ubuntu nameserver 변경. vi /etc/network/interfaces # The primary network interfaceauto eth0iface eth0 inet static address 172.16.118.50 netmask 255.255.0.0 network 172.16.0.0 broadcast 172.16.255.255 gateway 172.16.0.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 8.8.8.8 dns-search open-ims.test sudo ifdown eth0 && sudo ifup eth0
linux C언어 curl 사용하여 httpget요청보내기. curl 설치. 최신버전 curl 다운로드 https://curl.haxx.se/download.html [root@localhost ~]# wget https://curl.haxx.se/download/curl-7.49.1.tar.gz^C [root@localhost ~]# tar zxvf curl-7.49.1.tar.gz [root@localhost ~]# cd curl-7.49.1 [root@localhost curl-7.49.1]# ./configure [root@localhost curl-7.49.1]# make [root@localhost curl-7.49.1]# ./make install curl.h 사용하여 GET 요청 보내고 응답내용 출력하기 #include #include #includ..
You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package. 해결방법: yum clean all rpm --rebuilddb yum update
Mysql Backup and Restore backup: # mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql restore:# mysql -u root -p[root_password] [database_name] < dumpfilename.sql