Nextcloud is very similar to Owncloud, but it has better apps.

 

 

1. Download server packages

wget https://download.nextcloud.com/server/releases/nextcloud-23.0.12.tar.bz2

※ Nextcloud 23 is the last version supporting php7.3

 

2. Install prerequisites

sudo apt install -y apache2 libapache2-mod-php mariadb-server openssl redis-server wget php-imagick php-common php-curl php-gd php-gmp php-bcmath php-imap php-intl php-json php-mbstring php-mysql php-ssh2 php-xml php-zip php-apcu php-redis php-ldap php-phpseclib

 

3. Unzip the downloaded server package

tar -jxvf nextcloud-23.0.12.tar.bz2 -C /var/www/html/
cd /var/www/html
sudo chown www-data:www-data nextcloud -R

4. Access the URL and finish to install

URL: http://<YOUR_IP>/nextcloud

Admin account

 - Username

 - Password

Storage & database

 - Data folder

 - Configure the database

    ★MySQL/MariaDB★

    Database user

    Database password

    Database name = nextcloud

    localhost

 

5. Modify memory cache config

When finished installation, you can check the config file( /var/www/html/nextcloud/config/config.php ).

Add the followings into CONFIG for higher performance.

'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => [
	'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
],

 

'Programming > RaspberryPi' 카테고리의 다른 글

Install Owncloud on RaspberryPi  (0) 2023.03.15
Rasbian qbittorrent-nox installation  (0) 2019.11.19
SD card image backup  (0) 2018.10.12
SDcard Partition Resize  (0) 2018.08.21
RaspberryPi Remote Desktop Client  (0) 2018.06.01

1. Download server packages

wget https://download.owncloud.com/server/stable/owncloud-10.11.0.tar.bz2

2. Install prerequisites

sudo apt install -y apache2 libapache2-mod-php mariadb-server openssl redis-server wget php-imagick php-common php-curl php-gd php-gmp php-bcmath php-imap php-intl php-json php-mbstring php-mysql php-ssh2 php-xml php-zip php-apcu php-redis php-ldap php-phpseclib

3. Unzip the downloaded server package

sudo tar -jxvf owncloud-10.11.0.tar.bz2 -C /var/www/html/
cd /var/www/html
sudo chown www-data:www-data owncloud -R

4. Access the URL and finish to install

URL: http://<YOUR_IP>/owncloud

Admin account

 - Username

 - Password

Storage & database

 - Data folder

 - Configure the database

    ★MySQL/MariaDB★

    Database user

    Database password

    Database name = owncloud

    localhost

 

5. Modify memory cache config

When finished installation, you can check the config file( /var/www/html/owncloud/config/config.php ).

Add the followings into CONFIG for higher performance.

'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => [
	'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
],

 

'Programming > RaspberryPi' 카테고리의 다른 글

Install Nextcloud on RaspberryPi  (0) 2023.03.15
Rasbian qbittorrent-nox installation  (0) 2019.11.19
SD card image backup  (0) 2018.10.12
SDcard Partition Resize  (0) 2018.08.21
RaspberryPi Remote Desktop Client  (0) 2018.06.01

2023.03.12 - [Life/Travel] - Tips for Snow Boarding in Hokkaido #1에서 이어집니다.

 

3. Niseko Village

 - Niseko Village에는 5개의 숙소가 있음: Higashiyama + Kasara + Hinode + Hilton + GreenLeaf. 본인은 Hilton에 머물렀음.

 - Hilton 은 3월 2주 아고다 특가로 1박당 20만원대 초반 정도. 호텔 1층에 간단한 편의점 있고, 무료로 이용 가능한 온천, 헬스장, 스키/보드 보관 서비스 등이 있어서 편리함. 온천은 크진 않지만 노천탕도 있고 뷰가 좋음. 호텔 내에 식당이 몇 개 있지만 가격이 비쌈. 호텔 바로 앞에 Ski house 가 있어서 리프트권 구매 및 장비 대여가 편리함. 산 정상 인근까지 한 번에 연결되는 곤돌라도 여기서 출발함. 

View from Onsen(Actually taking photos from the onsen is prohibited, but there was no other person)

 - The village 는 Hilton 에서 도보 5분 정도 거리에 있는 식당가 및 상점가. 적당한 가격대의 가성비 식당 Two sticks와 조금 비싸지만 꽤 괜찮은 식당인 Yang Shu Ten 등이 있음. 리조트 안에 있는 식당이기 때문에 기본적으로 가성비가 좀 떨어지긴 함. 

Udon of Yang Shu Ten (∽¥2,000)
Sushi of Yang Shu Ten (∽¥7,000)
Pork Curry of Two Sticks (∽¥1,500)

 - GreenLeaf 에는 가성비 식당인 Goshiki 가 있음. 가격은 저렴한데 고속도로 휴게소 정도의 맛. 

Donkatsu of Goshiki (∽¥1,500)

 - Niseko Village의 슬로프는 자연설의 부드러움을 느끼기 좋음. 경사가 매우 없는 구간에서도 부드럽게 미끄러지기 때문에 잘 타짐. 이 곳의 슬로프 중에 Easiest(초록색) 은 한국 기준 초급~중급 정도의 난이도의 슬로프, More difficult(빨간색) 은 한국 기준 상급 ~ 최상급 정도의 난이도, 그리고 Most difficult(검정색) 은 한국에는 없는 눈덮인 산 그대로를 타는 난이도임. Niseko Gondola를 타면 산 정상 인근까지 한 번에 올라갈 수 있음. 날씨에 따라 다르지만, 산 정상 인근은 안개가 자주 끼므로(안개가 끼면 시야가 전방 5m 정도로 밖에 안보임), 곤돌라 탑승 전에 산 정상을 보고 갈 것을 추천. 이 곳 사람들은 앞이 안보여도 올라가긴 함. 산 정상 인근 부터 바닥까지 Easiest(초록색) 슬로프로 내려올 수 있으며, 해당 코스는 Dabesa -> Enchantment -> Make Sense -> Unforgetable -> Banzai -> Shaky Knees -> Boomerang. 이 중 아마도 Make Sense 에 해당하는 구간은 폭이 좀 좁아 주의가 필요함(이곳의 스키장에는 그물이 없이 간간이 기둥만 있음). 야간(오후4시~7시)에 운행하는 리프트는 Community chair 와 Banzai chair 두 개이며, 숙소 바로 앞에서 리프트를 탈 수 있는 Hilton 말고는 야간에 스키/보드를 탈 수 없음. Community chair 와 Banzai chair 는 슬로프로 이어져 있는데(Community->Banzai: Next Stage / Banzai->Community: Shaky Knees), 슬로프를 잘 못 타면 올라 올 수 없으므로 주의가 필요함. 한국의 스키장에 비해 정말 넓고 정말 사람이 없으면서 슥슥 미끄러지고 뷰도 끝내주기 때문에 천국같음.

 - 이 곳의 리프트는 주로 한국의 리프트와는 다르게 리프트를 타고 내릴때의 속도가 리프트 운행 속도와 같음. 이로 인해 탈 때 리프트 의자에 맞기도 하고, 내릴 때 잘 넘어지기도 함(넘어지면 잠시 속도 줄여줌). 한국처럼 보드를 손에 들고 탈 수 없음. 리프트권은 시간에 관계 없이 탈 수 있는 Day pass 가 있고, 정해진 횟수를 탈 수 있는 Points pass가 있음(리프트 마다 소요되는 point가 다르므로 주의). 또한, 전체 Niseko United를 오갈 수 있는 All mountain pass 와 Niseko Village 만 탈 수 있는 Niseko Village pass 가 있음. 다만, 리조트 간의 연결은 산 정상 인근 에서만 이루어 지기 때문에, 정상까지 올라갈 수 있는 실력이 필요하고, 리프트 시간이 끝나면 돌아 올 방법이 없으니 시간을 잘 체크해야 함. Niseko Village 와 Grand Hirafu 간은 걸어서 이동 할 수 있는 구간(Passageway between Niseko village and Hirafu; 약 200m)이 있고, Niseko Village 에서는 Niseko Gondola  내려서 걸어가면 되고, Grand Hirafu 에서는 Ace Quad Lift #2 -> Ace Pair Lift #3 내려서 걸어오면 됨. 가격은 All mountain pass가 조금 더 비싼데, 여기 저기 경험하기 위해서는 All mountain pass를 추천. 오전 혹은 야간 만 탈 경우 Points pass를 이용하는 편이 더 저렴할 수 있음. 본인은 첫째날 야간 + Grand Hirafu 경험 + 셋째날 오전 을 위해 All mountain 12 points pass 와 둘째날을 위한 Niseko Village 1 Day pass 를 이용함. 

View from Slope
View from Foggy Lift
Niseko_United_Map.png
16.53MB
Niseko United Map
Lift passes for Niseko Village
Lift passes for All mountains

참조 https://www.niseko-village.com/en/

'Life > Travel' 카테고리의 다른 글

Tips for Snow Boarding in Hokkaido #1  (0) 2023.03.12

홋카이도 스노우 보드 여행 팁 1.

 

1. 항공

 - 인천-신치토세(New Chitose) 구간을 이용해야 한다(2023년 3월 기준).

 - 비행 시간은 편도 약 3시간 정도.

 - 가격은 시즌마다 천차만별인데 제주에어 3월 2주 수요일->토요일 왕복 1인 32만원 정도 지불했음.

 - 스키/스노우보드 등 스포츠 용품은 항공편 예약시 추가금을 지불하여 수화물로 추가 할 수 있음.

 

2. 스키장

 - 홋카이도에 유명한 스키장은 루스츠(Rusutsu) / 니세코(Niseko) 등이 있음.

 - 일반적으로 니세코(Niseko)를 많이 가는데, 가족 여행의 경우 루스츠(Rusutsu)가 더 낫다고 하기도 함.

 - 신치토세(New Chitose) 공항으로 부터 거리는 루스츠가 니세코 보다 조금 더 가까움.

 - 스키장으로 이동하는 방법은 크게 세 가지: 렌트카 / ski 버스 / 기차(JR). 본인은 ski 버스를 이용함.
 - ski 버스는 사전 예약을 해야 하며, 가격은 왕복 1인 5200엔. 한 버스가 루스츠를 경유해 니세코로 이동함. 신치토세-니세코 기준 3시간 정도 소요. 하루에 2번 정도 운행함. 신치토세(New Chitose) - 니세코(Niseko) / 니세코(Niseko) - 삿포로(Sapporo) 구간을 운행하기 때문에, 신치토세 -> 니세코 -> 삿포로 루트로 이용 할 수도 있음. ski 버스 왕복 + 8시간 리프트 권 패키지(1인 8800엔)가 있는데, 전화로만 예약이 가능하다고 알고 있음.

 - 니세코(Niseko) 는 4개의 구역으로 구분 되는데, 서로 다른 스키장이지만 같은 산을 공유하고 있으며 산 정상 부근에서는서로 연결되고 리프트권도 통합 이용권(All mountain pass)으로 살 수 있음. 각 구역을 연결하는 Shuttle bus가 있음(하루에 10번 정도 운행하고, 무료임).

 - Niseko United = Annupuri + Niseko Village + Grand Hirafu + Hananozo

Niseko_United_Map.png
16.53MB

 - Grand Hirafu 가 주변에 상권도 많이 있고, 사람도 제일 많은 것 같음.

 - 본인은 Hilton hotel 이 있는 Niseko Village 를 이용함.

 - 이곳의 스키장은 일반적으로 12월 부터 4월까지 운영하나, 100% 자연설로 되어 있기 때문에 기상 상황에 따라 12월 이나 4월에는 운영을 하지 않을 수 있음. 또한, 1~2월의 경우 눈이 너무 많이 와서 이용하기 어렵다고도 함(Regular season = 12월 중순 ~ 3월 중순). 본인은 3월 2주에 방문했는데, 기온은 영상 0~5도 정도 수준. 산 정상은 0도 수준. 눈은 많이 있고, 낮에 살짝 녹았다가 밤에 다시 얼어서 얼음같은 슬로프도 있음. 특이한 점은 야간 스키가 오후 4시부터 7시 정도 인데, 가기 전에는 그게 왜 야간인지 몰랐는데 가보니 이해가 됨. 오후 4시 정도를 전후로 산 정상부터 안개가 자욱하게 깔려(재난영화 같음) 전방이 거의 보이지 않음. 

참조 https://www.niseko.ne.jp/en/

 

Niseko United

“How’s the snow?” – February 2023 conditions in Niseko One of our most asked questions is “how’s the sno… READ MORE

www.niseko.ne.jp

 

2023.03.12 - [Life/Travel] - Tips for Snow Boarding in Hokkaido #2에 계속

'Life > Travel' 카테고리의 다른 글

Tips for Snow Boarding in Hokkaido #2  (0) 2023.03.12

1. Install pakages

sudo apt-get install network-manager-strongswan

2. Settings - Network - VPN - (Add VPN) - IPsec/IKEv2(strongswan)

Gateway

Address: <HOST IP>

Certificate: <certificate for the host>

Client

Authentication: EAP

Username: <username>

Password: <passwd>

Options

Request an inner IP address

 

참조 https://docs.netgate.com/pfsense/en/latest/recipes/ipsec-mobile-ikev2-client-ubuntu.html

 

'Programming > Linux' 카테고리의 다른 글

Ubuntu 한글 입력  (0) 2022.12.31
PCI device rescan  (0) 2022.09.25
Piping ls to cp  (0) 2020.12.02
How to use GDB  (0) 2020.03.12
PhantomJS Installation on Ubuntu from source  (0) 2018.12.10

Ubuntu 한글 입력

 

1. Settings - Region & Language - Input Sources - (Add an input source) - Korean - Korean

2. Settings - Region & Language - Manage Installed Languages - Install

3. Reboot

4. Settings - Region & Language - Input Sources - (Add an input source) - Korean - Korean(Hangul)

5. Settings - Region & Language - Input Sources - Korean(Hangul) - - Hangul Toggle Key - Hangul - OK

6. Terminal

sudo vi /usr/share/X11/xkb/symbols/altwin
...
key <RALT> { type[Group1] = "TWO_LEVEL",
			symbols[Group1] = [Hangul] };
...

7. Reboot

 

참조 https://shanepark.tistory.com/231

'Programming > Linux' 카테고리의 다른 글

Ubuntu IKEV2 VPN 설정  (0) 2022.12.31
PCI device rescan  (0) 2022.09.25
Piping ls to cp  (0) 2020.12.02
How to use GDB  (0) 2020.03.12
PhantomJS Installation on Ubuntu from source  (0) 2018.12.10

1. Write back / write through / write evict

These policies determine how to handle a write hit.

Hit means that the requested cache block exists at the current level cache.

 

Write back just handles the request at the current level cache only. Later, when this block would be evicted to the lower level, the modified data would be applied. In other words, the updated data would exist at the current level only.

 

Write through handles the request not only at the current level cache but to lower levels. In other words, the updated data would be exist at current level and lower levels.

 

Write evict passes the request to lower level and invalidates the cache block at the current level. In other words, the updated data would exist at the lower level only. 

 

2. Write allocation / no write allocation

These policies determine how to handle a write miss.

Miss means that the requested cache block does not exist at the current level cache.

 

No write allocation just passes the request to the lower level. 

 

Write allocation handles the request at the current level. In this case, the cache block would be fetched ahead or not, regarding to the following fetch policies.

 

3. Fetch on write / lazy fetch on read

Fetch on write: When a write miss is handled with write allocation policy, the cache block would be fetched ahead.

 

Lazy fetch on read: When a write miss is handled with write allocation policy, the cache block would not be fetched, and the data just written to the current level cache. In this case, the modified sectors must be marked, and when the cache block would be fetched for read hit, the modified sectors would be applied.

 

'Programming > Computer Architecture' 카테고리의 다른 글

Basic of the DRAM Subsystem  (0) 2019.04.19
echo 1 | sudo tee /sys/bus/pci/devices/<port>/remove
echo 1 | sudo tee /sys/bus/pci/rescan

 

'Programming > Linux' 카테고리의 다른 글

Ubuntu IKEV2 VPN 설정  (0) 2022.12.31
Ubuntu 한글 입력  (0) 2022.12.31
Piping ls to cp  (0) 2020.12.02
How to use GDB  (0) 2020.03.12
PhantomJS Installation on Ubuntu from source  (0) 2018.12.10

저는 상처를 받더라도

조금 긍정적으로 생각하고 Dash도 하고 이럴 필요가 있어요

이렇게 생각해야지

행복 지수도 높아져요

 

안되면 Excuse me지 뭐~

 

- 마녀사냥2022 中

'Life > A sentense of the day' 카테고리의 다른 글

무게와 성격  (0) 2020.11.19
가까이에 좋은 사람을 두어야 하는 이유  (0) 2020.07.23
진짜는  (0) 2020.05.13
인생에서 절대 잊어버리지 말아야 할 사람  (0) 2020.03.01
인정  (0) 2020.02.06

There are various kinds of synthesis and implementation strategies in Xilinx Vivado.

When you have timing violations with your own codes, which you can check with the timing report, you need to modify your own codes to shorten the critical paths. However the timing violation came from the IPs which are already proven, you can use other synthesis and implemenation strategies.

 

Different strategies makes different timing, area, and power

Someone gives an example.(https://miscircuitos.com/vivado-synthesis-and-implementation-strategies/)

 

Below table shows my case. I cannot test for all of strategies, because it consumes so many time.

It seems that synthesis strategy make very few changes with my design.

 

There is no a absolute winner of synthesis and implementation strategy. You need to use various strategies but it may need some time, computing power and storages. In my case, I ran 8 synthesis strategies and 19 implementation strategies for each of synthesis. It takes about 2 days with 24 parallel processing on total 56 thread intel CPU, and it releases 96GB of data.

 

'Programming > Xilinx' 카테고리의 다른 글

SDK baremetal HW-time measurement  (0) 2021.12.07
SDK pointer vs array  (0) 2021.12.04
ERROR: [USF-XSim-62] 'elaborate' step failed with errors  (0) 2021.01.14
Vivado [Opt 31-67] Issue  (0) 2020.12.30
ZCU102 Evaluation Kit SODIMM issue  (0) 2020.12.21

+ Recent posts