⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 step

📁 达内老师写的考勤管理系统~~比较适合初学者去看~
💻
字号:
#汉字#1.将服务器上的step文件和kq.jar(考勤的缩写)下载到用户主目录下#2.新建一个文件夹,命名为importantmkdir ~/importantmv ~/kq.jar ~/important/kq.jar#3.添加CLASSPATH环境变量echo 'CLASSPATH=~/important/kq.jar:.' >>~/.bash_profileecho 'export CLASSPATH' >> ~/.bash_profile#4.在important目录下建立两个shell文件#第一个是第一次注册用的echo 'java test.RegisterDemo' > ~/important/registerchmod a+x ~/important/register#第二个是每天早晚各一次的签到shell文件echo 'java test.CheckingDemo' > ~/important/checkingchmod a+x ~/important/checking#5.将俩个shell脚本添加到path中去echo 'PATH=$PATH:~/important' >> ~/.bash_profileecho 'export PATH' >> ~/.bash_profile#6.设置数据库连接参数#数据库驱动名echo 'oracle_driver=oracle.jdbc.driver.OracleDriver' >> ~/.bash_profile#数据库连接url和数据库名echo 'oracle_url=jdbc:oracle:thin:@192.168.1.240:1521:tarena' >> ~/.bash_profile#连接数据库的用户名echo 'oracle_username=zjtarena' >> ~/.bash_profile#连接数据库的秘密echo 'oracle_password=zjtarena' >> ~/.bash_profile#export 上面设置的环境变量echo 'export oracle_driver oracle_url' >> ~/.bash_profile echo 'export oracle_username oracle_password' >> ~/.bash_profile#7.由于vi在你第一次没有输入中文的时候,之后都没法保存中文#因此设法让我们的中文姓名也要保存在环境变量中#step1echo '#让我们的文件能保存汉字' >> ~/important/.bash_profilecat ~/.bash_profile >> ~/important/.bash_profileecho 'tarena_id=05080116' >> ~/important/.bash_profileecho 'tarena_name=林福俊' >> ~/important/.bash_profileecho 'export tarena_id tarena_name' >> ~/important/.bash_profile#最后把我们的文件还原回来mv ~/important/.bash_profile ~/.bash_profile

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -