ps -ef

kill pid

service Daemon_peopler_gcm start

service Daemon_peopler_emailvalidation start

vi /etc/init.d/Daemon_peopler_gcm

vi /etc/init.d/Daemon_peopler_emailvalidation

저작자 표시

In vi do


to delete all lines.

The : introduces a command (and moves the cursor to the bottom).
The 1,$ is an indication of which lines the following command (d) should work on. In this case the range from line one to the last line (indicated by $, so you don't need to know the number of lines in the document).
The final d stands for delete the indicated lines.

There is a shorter form (:%d) but I find myself never using it. The :1,$d can be more easily "adapted" to e.g. :4,$-2d leaving only the first 3 and last 2 lines, deleting the rest.

저작자 표시

arp -a

will show you list and you should ip address which is matched with specific mac address (00 11 32 08 d6 2a )

저작자 표시


1. Install needed packages (mod_dav_svn and subversion)

yum install mod_dav_svn subversion

2. Modify Subversion config file /etc/httpd/conf.d/subversion.conf

LoadModule dav_svn_module     modules/

LoadModule authz_svn_module   modules/


<Location /svn>

   DAV svn

   SVNParentPath /var/www/svn

   AuthType Basic

   AuthName "Subversion repositories"

   AuthUserFile /etc/svn-auth-users

   Require valid-user


3. Add SVN (Subversion) users

Use following command:

## Create testuser ##

htpasswd -cm /etc/svn-auth-users testuser

New password: 

Re-type new password: 

Adding password for user testuser

4. Create and configure SVN repository

mkdir /var/www/svn

cd /var/www/svn


svnadmin create testrepo

chown -R apache.apache testrepo


## If you have SELinux enabled (you can check it with "sestatus" command) ##

## then change SELinux security context with chcon command ##

chcon -R -t httpd_sys_content_t /var/www/svn/testrepo

## Following enables commits over http ##

chcon -R -t httpd_sys_rw_content_t /var/www/svn/testrepo

5. restart httpd

service httpd restart

6. Goto http://localhost/svn/testrepo address and you should see something like following, write username and password:

7. Configure repository

To disable anonymous access and enable access control add following rows to testrepo/conf/svnserve.conf file:

## Disable anonymous access ##

anon-access = none

## Enable access control ##

authz-db = authz

8. Create trunk, branches and tags structure under testrepo

Create “template” directories with following command:

mkdir -p /tmp/svn-structure-template/{trunk,branches,tags}

9.Then import template to project repository using “svn import” command:

svn import -m 'Initial import' /tmp/svn-structure-template/ http://localhost/svn/testrepo/

Adding         /tmp/svn-structure-template/trunk

Adding         /tmp/svn-structure-template/branches

Adding         /tmp/svn-structure-template/tags


Committed revision 1.

10. Check results on browser and see testrepo revision 1:

11. auto boot with svn



svnserve -d -r [svn path]

저작자 표시

# gnome-session-properties

시작 프로그램 tab --> 추가 버튼

명령어에 원하는 것 입력

ex) virtualbox 자동 실행

/usr/lib/virtualbox/VirtualBox --comment "xpenology01" --startvm "d62f9952-3edb-4ac3-b499-44f8a26f7396"

저작자 표시

# vi /etc/gdm/custom.conf







AutomaticLogin=[user] 바꿔주면 된다.

저작자 표시

#df -h


/dev/sda4       1.8T   15G  1.7T   1% [UUID]

디스크 위치 및 UUID 확인
위치: /dev/sda4
UUID: f92d53ee-0caf-455d-8d35-ec31aac373e1

1. mount 하기
원하는 곳 폴더 만들기
#mkdir /disk2
#mount -t ext4 /dev/sda4 /disk2

2. 지속적인 마운트

#vi /etc/fstab


UUID=f92d53ee-0caf-455d-8d35-ec31aac373e1 /disk2                  ext4    defaults        1 2

저작자 표시

3. Installing the NX Client


You can install either opennx or nxclient from NoMachine.

3.1. Installation of opennx

Note: If you have already installed NoMachine's nxclient, you need to uninstall it before installing opennx. Existing setup for the clients should become available to opennx.

Opennx is available for CentOS-6 from the centos-extras repository. To install it, issue this command on the client machine:

[root@client ~]# yum install opennx

  • Open the NX Connection Wizard. Enter a Session name, a hostname (or ip address), a Port number and select your Type of Internet Connection and select Next.

  • Select the connection type, the desktop system you want to use, and the size of the desktop. Select Next when finished.

  • In the next dialog window, make sure "Enable SSL encryption of all traffic" is checked and then select Next.

  • Choose if you want to Create shortcut on desktop and then Select Show the Advanced Configuration dialog box and then select Finish.

  • In the advanced dialog window under the General Tab, you should see the items you have already entered and a Key...button. You will need to ssh into the server which you are trying to connect and go to the /etc/nxserver/ directory and open the file client.id_dsa.key (you must be the root user to open this file). Copy all the text (including the BEGIN DSA PRIVATE KEY and END DSA PRIVATE KEY lines. Press the Key... button, delete the text that is in there, and paste theclient.id_dsa.key information from the server into the Key Management text box, then select Save. You will be back in the Session properties dialog box. Select OK and you are all set.


  • You should now be able to connect to the Server machine and open your desktop from the client.

저작자 표시

Open port 80

Open flle /etc/sysconfig/iptables:
# vi /etc/sysconfig/iptables
Append rule as follows:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
Save and close the file. Restart iptables:
# /etc/init.d/iptables restart

Open port 110

Append rule as follows:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 110 -j ACCEPT

Open port 143

Append rule as follows:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 143 -j ACCEPT

Restart iptables service

Type the following command:
# service iptables restart

Verify that port is open

Run following command:
netstat -tulpn | less
Make sure iptables is allowing port 80 / 110 / 143 connections:
iptables -L -n

Refer to iptables man page for more information about iptables usage and syntax:
man iptables

저작자 표시

Answer :

Please refer to the following list:

Setup Utilities
TypePort NumberProtocol
Synology Assistant9999, 9998, 9997UDP
TypePort NumberProtocol
Data Replicator, Data Replicator II, Data Replicator III9999, 9998, 9997, 137, 138, 139, 445TCP
Network Backup and Remote Time Backup873 (Data), 3260 (iSCSI LUN)TCP
Encrypted Network Backup and Encrypted Remote Time Backup22TCP
TypePort NumberProtocol
4662 (TCP), 4672 (UDP)TCP/UDP
6890 ~ 6999 (for models with firmware earlier than v2.0.1-3.0401); 
16881 (for models with DSM v2.0.1 and onward)
Web Applications
TypePort NumberProtocol
DSM5000 (HTTP), 5001 (HTTPS)TCP
Download Station5000TCP
Photo Station, Web Station80 (additional port can be added), 443 (HTTPS)TCP
Mail Station80 (HTTP), 443 (HTTPS)TCP
Audio Station5000 (HTTP, additional port can be added), 5001 (HTTPS, additional port can be added), 5353 (Bonjour Service), 6001-6010 (AirPlay control/timing)TCP/UDP
File Station5000 (HTTP, additional port can be added), 5001 (HTTPS, additional port can be added)TCP
Surveillance Station9900 (HTTP), 9901 (HTTPS)TCP
Media Server1900 (UPnP), 50001 (Content browsing), 50002 (Content streaming)TCP/UDP
Video Station5000 (HTTP), 5001 (HTTPS), 9025-9040,
5002, 5004, 65001 (for using the HDHomeRun network tuner)
Mail Server
TypePort NumberProtocol
File Transferring
TypePort NumberProtocol
FTP, FTP over SSL, FTP over TLS21 (command), 20 (Data connection in Active Mode), 1025-65535 (Data connection in Passive Mode; however, the default range varies with models)TCP
CIFSsmbd: 139 (netbios-ssn), 445 (microsoft-ds)TCP/UDP
Nmbd: 137, 138UDP
NFS111, 892, 2049TCP/UDP
WebDAV, CalDAV5005, 5006 (HTTPS)TCP
TypePort NumberProtocol
Cloud Station6690TCP
VPN Server (OpenVPN)1194UDP
VPN Server (PPTP)1723TCP
VPN Server (L2TP/IPSec)500, 1701, 4500UDP
Syslog Server514 (additional port can be added)TCP/UDP
iTunes Server3689TCP
Directory Server389 (LDAP), 636 (LDAP with SSL)TCP
DHCP Server67, 68UDP
Mobile Applications
TypePort NumberProtocol
DS photo+80, 443 (HTTPS)TCP
DS audio5000, 5001 (HTTPS)TCP
DS cam5000TCP
DS fileAndroid/iOS devices: 5005, 5006 (HTTPS)
Windows Phone: 5000
DS finder5000 (HTTP), 5001 (HTTPS)TCP
DS video5000 (HTTP), 5001 (HTTPS)TCP
DS download5000 (HTTP), 5001 (HTTPS)TCP
DS cloud6690TCP
Printers, UPS and Peripheral Equipments
TypePort NumberProtocol
Network Printer (IPP)/CUPS631TCP
Network MFP3240-3259TCP
TypePort NumberProtocol
Resource Monitor/SNMP161TCP/UDP

저작자 표시

+ Recent posts

티스토리 툴바