React/Next.jsのプロセスをVPSサーバで起動する/停止する

2025年06月30日

$ sudo npm install

up to date, audited 123 packages in 804ms

43 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
$  sudo npm run build

> frontend@0.1.0 build
> next build

   ▲ Next.js 15.3.4

   Creating an optimized production build ...
 ? Compiled successfully in 2000ms
 ? Linting and checking validity of types    
 ? Collecting page data    
 ? Generating static pages (5/5)
 ? Collecting build traces    
 ? Finalizing page optimization    

Route (app)                                 Size  First Load JS    
┌ ○ /                                    45.1 kB         146 kB
└ ○ /_not-found                            977 B         102 kB
+ First Load JS shared by all             101 kB
  ├ chunks/4bd1b696-1962bfe149af46cd.js  53.2 kB
  ├ chunks/684-11131023a922e922.js       45.9 kB
  └ other shared chunks (total)          1.92 kB


○  (Static)  prerendered as static content
$ ps -aux | grep next
root     2709693 45.2  4.1 14438216 167616 ?     Rl   Jun28 1100:43 next-server (v15.3.4)
root     2717834  0.0  4.5 14625700 182188 ?     Sl   05:26   0:01 next-server (v15.3.4)
alma     2718170  0.0  0.0   6404  2304 pts/2    S+   06:03   0:00 grep --color=auto next
$ sudo kill -9 2709693 2717834
$  sudo PORT=3100 npm run start &
[1] 2718179
[alma@ik1-418-41125 oracle-next-app]$ 
> frontend@0.1.0 start
> next start

   ▲ Next.js 15.3.4
   - Local:        http://localhost:3100
   - Network:      http://**************:3100

 ? Starting...
 ? Ready in 482ms

最新のお知らせ

No Image
2025年11月27日
プログラミングにおけるAIの優位性と人間のだめなところ

プログラミングにおけるAIの優位性と人間のだめなところを...

thumb
2025年11月25日
JAZZを聴きながら

https://open.spotify.com/intl-ja/track/2UiXRej8Fdcc04DFL60...

thumb
2025年11月25日
GTSFエディタの開発

GTSFというのは、弾き語りをするときの楽譜を生成するためのテ...

thumb
2025年11月23日
人生史をヒヤリングするAIアプリケーション

手帳學プロジェクトの中で、人生史を作成する。本来は、現...

thumb
2025年11月22日
ギターコード(和音)の構成音とベース音

コード表を、ルート音とコードの種類、そして、ベース音を...

thumb
2025年11月17日
気をつけろ!AIを利用したシステム開発

AIを利用した開発をしていると、一番の気になるところはAPI...

No Image
2025年11月15日
GTSF:(Guitar Tab and Song Format)弾き語り用楽譜生成テキストフォーマット

GTSF(Guitar Tab and Song text Format)とは、ギターで弾き語...

thumb
2025年11月14日
プロトタイプ(試作)とPoC(概念実証)

プロトタイプ(Prototype)とは、「完成前に作る試作モデル...

thumb
2025年11月14日
見える化による安心感~最先端な要件定義

要件定義ってそんな簡単ではないです。 まずは見える化...

thumb
2025年11月14日
コミュニケーション

人間関係やチームでのコミュニケーション方法(伝え方・傾...