Rocky Linux/Settings
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* First Settings for Linux
*** Files
**** for Shell
- .bashrc : https://polaris.star-dust.jp/Linux/setup/.bas...
- .bash_profile : https://polaris.star-dust.jp/Linux/setu...
- .exrc : https://polaris.star-dust.jp/Linux/setup/.exrc
cd
rm .bashrc .bash_profile
wget https://polaris.star-dust.jp/Linux/setup/.bashrc
wget https://polaris.star-dust.jp/Linux/setup/.bash_pro...
wget https://polaris.star-dust.jp/Linux/setup/.exrc
mv .exrc .vimrc
ls -la
**** for Developments
- Rocky Linux 8 (PHP, MariaDB, Apache なし) : https://pol...
- Rocky Linux 9 (PHP, MariaDB, Apache なし) : https://pol...
wget https://polaris.star-dust.jp/Linux/setup/rocky9-dev...
bash rocky9-devel.sh
**** Host Name
- /etc/hostname または hostname コマンド
*** Date Time
**** Time Zone
- timedatectl set-timezone Asia/Tokyo
**** Date & Time
- date 05221012 # 5/22 10:12
**** 再起動時に、時間が 9時間進んでしまう場合はRTC(ハード...
hwclock -s --localtime
*** Services
**** サービス一覧
- systemctl list-unit-files -t service
**** SELinux の無効化
- ''[[SELinux]] を止める''
*** Add Applications
**** Java SDK
dnf -y install java-1.8.0-openjdk
dnf -y install java-1.8.0-openjdk-devel
**** VSFTPD
- /etc/vsftpd/vsftpd.conf
listen=YES
listen_ipv6=NO
- vsftpd の有効化
systemctl enable vsftpd
systemctl start vsftpd
- ファイアウォールに穴を空ける.
firewall-cmd --add-service=ftp --permanent
firewall-cmd --reload
#br
終了行:
* First Settings for Linux
*** Files
**** for Shell
- .bashrc : https://polaris.star-dust.jp/Linux/setup/.bas...
- .bash_profile : https://polaris.star-dust.jp/Linux/setu...
- .exrc : https://polaris.star-dust.jp/Linux/setup/.exrc
cd
rm .bashrc .bash_profile
wget https://polaris.star-dust.jp/Linux/setup/.bashrc
wget https://polaris.star-dust.jp/Linux/setup/.bash_pro...
wget https://polaris.star-dust.jp/Linux/setup/.exrc
mv .exrc .vimrc
ls -la
**** for Developments
- Rocky Linux 8 (PHP, MariaDB, Apache なし) : https://pol...
- Rocky Linux 9 (PHP, MariaDB, Apache なし) : https://pol...
wget https://polaris.star-dust.jp/Linux/setup/rocky9-dev...
bash rocky9-devel.sh
**** Host Name
- /etc/hostname または hostname コマンド
*** Date Time
**** Time Zone
- timedatectl set-timezone Asia/Tokyo
**** Date & Time
- date 05221012 # 5/22 10:12
**** 再起動時に、時間が 9時間進んでしまう場合はRTC(ハード...
hwclock -s --localtime
*** Services
**** サービス一覧
- systemctl list-unit-files -t service
**** SELinux の無効化
- ''[[SELinux]] を止める''
*** Add Applications
**** Java SDK
dnf -y install java-1.8.0-openjdk
dnf -y install java-1.8.0-openjdk-devel
**** VSFTPD
- /etc/vsftpd/vsftpd.conf
listen=YES
listen_ipv6=NO
- vsftpd の有効化
systemctl enable vsftpd
systemctl start vsftpd
- ファイアウォールに穴を空ける.
firewall-cmd --add-service=ftp --permanent
firewall-cmd --reload
#br
ページ名: