본문 바로가기

전체 글

(72)
CentOS apache php mysql 환경설졍 1. [root@localhost ~]# yum -y install httpd mysql mysql-server php php-mysql postgresql postgresql-server php-postgresql php-pgsql php-devel 2. [root@localhost ~]# service httpd startStarting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName [ OK ] 3. [root@localhost ~]# service mysqld start[root@localhost ~]# mysqladm..
Centos7 현재 디렉토리 전체 size. du -ch | grep total http://www.codecoffee.com/tipsforlinux/articles/22.html
samba mount smbclient -L //192.168.101.100 -U usernamemount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
openssl lib 사용시 -lssl -lcrypto 로 링크 걸때 에러 발생시 해결방법. -lssl -lcrypto 로 링크 걸때 /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup': dso_dlfcn.c:(.text+0x2d): undefined reference to `dlopen' dso_dlfcn.c:(.text+0x43): undefined reference to `dlsym' dso_dlfcn.c:(.text+0x4d): undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr': dso_dlfcn.c:(.text+0x8f): undefined reference..
CentOS7 ntp 설치. yum install ntpservice ntpd start
CentOS 7 samba 설치. # selinuxenabled && echo enabled || echo disabled enabled# vi /etc/selinux/config# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two v..
CentOS NTFS 마운트 mount: unknown filesystem type 'ntfs' centos7 ntfs 타입 마운트 안될때. [root@IGGY ~]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm [root@IGGY ~]# rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm [root@IGGY ~]# yum install fuse fuse-ntfs-3g dkms dkms-fuse [root@IGGY ~]# yum install fuse fuse-ntfs-3g [root@IGGY ~]# mount /dev/sda1 /IPTIME/
CentOS7 ifconfig 명령어 실행안될때. ifconfig 설치. CentOS 7 설치완료후 ifconfig 명령어가 실행안되였다.확인해 보니 ifconfig 가 아예 설치 되여 있지 않음. yum 명령어를 사용하여 ifconfig 툴 설치. yum install net-tools 설치완료후 ifconfig 사용가능. ^^