반응형
어째 가끔 하면서도 전혀 기억하지 못하는것들...
1. 고정IP 설정
| sudo vi /etc/network/interfaces ---------------------------------------------------------------------------------- # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 #iface eth0 inet dhcp iface eth0 inet static address 192.168.0.71 gateway 192.168.0.1 netmask 255.255.255.0 dns-nameservers 168.126.63.1 168.126.63.2 ---------------------------------------------------------------------------------- 아래 실행하여 변경 내용 반영 sudo /etc/init.d/networking restart 2. SSH설정 sudo apt-get install openssh-server sudo /etc/init.d/ssh restart sudo vi /etc/hosts.allow |
----------------------------------------------------------------------------------
# See the manual pages hosts_access(5) and hosts_options(5).
#
# Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#
sshd 192.168.0.2
----------------------------------------------------------------------------------
3. ssh툴에서 언어 UTF-8로 변경
4. sudo apt-get install mysql-server
5. sudo vi /etc/mysql/my.cnf
bind address 찾아 주석 처리하고 아래 추가
[mysqld]
...
character-set-server = utf8
sudo /etc/init.d/mysql start
sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql restart
6. FTP설정
sudo apt-get install vsftpd
필요한 옵션 편집
sudo vi /etc/vsftpd.conf
local_eable=YES
서비스 재시작
sudo /etc/init.d/vsftpd restart
반응형
'Development > Servers' 카테고리의 다른 글
| MariaDB (0) | 2013.12.12 |
|---|---|
| 우분투 서버에서 SVN (0) | 2013.05.28 |
| 우분투 설정중 Oracle Java 설치하기 (0) | 2013.05.02 |
| ubuntu에서 apache2, tomcat 연동 (0) | 2013.03.15 |
| REST 구현 (0) | 2013.03.15 |