2025/02/03 15

framework 설치

===codeigniter4=== composer create-project codeigniter4/appstarter backend => 설치 cd backend => 폴더이동 php spark serve => 서비스 시작 php spark migrate => DB 마이그레이션 sudo chown -R $USER:www-data writable => 퍼미션 권한 chmod -R 775 writable ===codeigniter4=== ===laravel11=== composer create-project laravel/laravel backend => 설치 cd backend => 폴더이동 php artisan serve => 서비스 시작 php artisan migrate => DB 마이그레이션 su..

linux 2025.02.03

apache 설치

=======설치 과정======== 최신버전 sudo add-apt-repository ppa:ondrej/apache2 sudo apt update 설치 => sudo apt install apache2 \ libapache2-mod-fcgid libapache2-mod-proxy-uwsgi \ libapache2-mod-xforward openssl sudo apt purge apache2* => 삭제 sudo apache2 -v => 버전확인 netstat -ntlp => 구동확인 sudo systemctl start apache2 => 시작 sudo systemctl restart apache2 => 재시작 sudo systemctl stop apache2 => 정지 sudo systemctl ..

linux 2025.02.03

Ajenti 설치

Ajenti 시스템 제어 프로그램 1. 필요한 종속성을 설치 sudo apt-get install build-essential python-pip python-dev python-lxml libffi-dev libssl-dev libjpeg-dev libpng-dev uuid-dev python-dbus 2. 자동설치 curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s - 3. 서비스 시작 service ajenti restart 4. 방화벽 오픈 sudo ufw allow 8000 5. 접속주소 http://192.168.0.241:8000 6. 제거 sudo systemctl stop ..

linux 2025.02.03